Resource that allows for the creation of AWS Organizations policies and attaching to different targets in the organization.
To declare this entity in your AWS CloudFormation template, use the following syntax:
{ "Type" : "Community::Organizations::Policy", "Properties" : { "Content" : String, "PolicyDocument" : Map, "Description" : String, "Name" : String, "PolicyType" : String, "TargetIds" : [ String, ... ], } }
Type: Community::Organizations::Policy Properties: Content: String PolicyDocument: Map Description: String Name: String PolicyType: String TargetIds: - String
The policy text content to add to the new policy. The text that you supply must adhere to the rules of the policy type you specify in the Type parameter.
Required: No
Type: String
Minimum Length: 1
Maximum Length: 1000000
Pattern: [\s\S]+
Update requires: No interruption
The policy document to add to the new policy
Required: No
Type: Map
Update requires: No interruption
An optional description to assign to the policy.
Required: Yes
Type: String
Maximum Length: 512
Pattern: [\s\S]*
Update requires: No interruption
The friendly name to assign to the policy.
Required: Yes
Type: String
Minimum Length: 1
Maximum Length: 128
Pattern: [\s\S]+
Update requires: No interruption
The type of policy to create.
Required: Yes
Type: String
Allowed Values: AISERVICES_OPT_OUT_POLICY
| BACKUP_POLICY
| SERVICE_CONTROL_POLICY
| TAG_POLICY
Update requires: No interruption
The list of target IDs to attach the policy to.
Required: Yes
Type: List of String
Update requires: Replacement
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref returns the ResourceId.
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt.
The unique identifier (ID) of the policy.