GetResourcePolicyResult

data class GetResourcePolicyResult(val arn: String? = null, val content: Any? = null, val id: String? = null, val tags: List<Tag>? = null)

Constructors

Link copied to clipboard
constructor(arn: String? = null, content: Any? = null, id: String? = null, tags: List<Tag>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String? = null

The Amazon Resource Name (ARN) of the resource policy.

Link copied to clipboard
val content: 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 id: String? = null

The unique identifier (ID) associated with this resource policy.

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

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