GetResourcePolicyResult

data class GetResourcePolicyResult(val id: String? = null, val policy: ResourcePolicyPolicy? = null, val resourceArn: String? = null, val revisionId: String? = null)

Constructors

Link copied to clipboard
constructor(id: String? = null, policy: ResourcePolicyPolicy? = null, resourceArn: String? = null, revisionId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: String? = null

The identifier of the resource policy.

Link copied to clipboard

A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow IAM syntax. If the policy isn't valid, Amazon Lex returns a validation exception.

Link copied to clipboard
val resourceArn: String? = null

The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

Link copied to clipboard
val revisionId: String? = null

Specifies the current revision of a resource policy.