Policy

class Policy : KotlinCustomResource

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.

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the Policy

Link copied to clipboard
val awsId: Output<String>

Id of the Policy

Link copied to clipboard
val awsManaged: Output<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.

Link copied to clipboard
val content: Output<Any>

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. Search the CloudFormation User Guide for AWS::Organizations::Policy for more information about the expected schema for this property.

Link copied to clipboard
val description: Output<String>?

Human readable description of the policy

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Name of the Policy

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<List<Tag>>?

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.

Link copied to clipboard
val targetIds: Output<List<String>>?

List of unique identifiers (IDs) of the root, OU, or account that you want to attach the policy to

Link copied to clipboard
val type: Output<PolicyType>

The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY

Link copied to clipboard
val urn: Output<String>