Class: Aws::LambdaWeb::Types::PutResourcePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::LambdaWeb::Types::PutResourcePolicyRequest
- Defined in:
- gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb
Overview
The request to add or update a resource-based policy.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy ⇒ String
The JSON-formatted resource-based policy to attach to the web function.
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the web function.
-
#revision_id ⇒ String
The revision ID of the existing policy.
Instance Attribute Details
#policy ⇒ String
The JSON-formatted resource-based policy to attach to the web function.
1662 1663 1664 1665 1666 1667 1668 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1662 class PutResourcePolicyRequest < Struct.new( :resource_arn, :policy, :revision_id) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the web function.
1662 1663 1664 1665 1666 1667 1668 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1662 class PutResourcePolicyRequest < Struct.new( :resource_arn, :policy, :revision_id) SENSITIVE = [] include Aws::Structure end |
#revision_id ⇒ String
The revision ID of the existing policy. Use this to prevent conflicts when updating a policy concurrently. If you don't specify a value, the update proceeds without checking the current revision.
1662 1663 1664 1665 1666 1667 1668 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1662 class PutResourcePolicyRequest < Struct.new( :resource_arn, :policy, :revision_id) SENSITIVE = [] include Aws::Structure end |