Policies in AWS Organizations enable you to manage different features of the AWS accounts in your organization. You can use policies when all features are enabled in your organization.
content
(String) The Policy text content. For AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it.name
(String) Name of the Policytype
(String) The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICYdescription
(String) Human readable description of the policytags
(Attributes Set) A list of tags that you want to attach to the newly created policy. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. (see below for nested schema)target_ids
(Set of String) List of unique identifiers (IDs) of the root, OU, or account that you want to attach the policy toarn
(String) ARN of the Policyaws_managed
(Boolean) A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.id
(String) Uniquely identifies the resource.policy_id
(String) Id of the Policytags
Required:
key
(String) The key identifier, or name, of the tag.value
(String) The string value that's associated with the key of the tag. You can set the value of a tag to an empty string, but you can't set the value of a tag to null.Import is supported using the following syntax:
$ terraform import awscc_organizations_policy.example <resource ID>