ResourcePolicyArgs

data class ResourcePolicyArgs(val content: Output<Any>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<ResourcePolicyArgs>

You can use AWS::Organizations::ResourcePolicy to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account.

Constructors

Link copied to clipboard
constructor(content: Output<Any>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard
val content: Output<Any>? = null

The policy document. 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::ResourcePolicy for more information about the expected schema for this property.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

A list of tags that you want to attach to the resource policy

Functions

Link copied to clipboard
open override fun toJava(): ResourcePolicyArgs