Class: Aws::LexModelsV2::Types::CreateResourcePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::CreateResourcePolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexmodelsv2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy ⇒ String
A resource policy to add to the resource.
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
Instance Attribute Details
#policy ⇒ String
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 the IAM syntax. For more information about the contents of a JSON policy document, see [ IAM JSON policy reference ][1].
If the policy isn’t valid, Amazon Lex returns a validation exception.
[1]: docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html
4189 4190 4191 4192 4193 4194 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 4189 class CreateResourcePolicyRequest < Struct.new( :resource_arn, :policy) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
4189 4190 4191 4192 4193 4194 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 4189 class CreateResourcePolicyRequest < Struct.new( :resource_arn, :policy) SENSITIVE = [] include Aws::Structure end |