Policy
This page is auto-generated from the formations OpenAPI spec. Do not edit manually — run
pnpm generate-formations-resource-docsto regenerate.
Creates an access-control policy within the formation's project.
Syntax
type: policy
properties:
name: String
description: String
document: Object
Output
The physical resource ID is the public ID of the created resource. Reference it from other resources with a ref expression:
some_field:
ref: MyPolicy
Properties
name
Human-readable label for the policy
Required: No Type: String Nullable: Yes
description
Description of what the policy grants
Required: No Type: String Nullable: Yes
document
Policy document containing an array of statements
Required: Yes Type: Object