class
Amazonite::Lambda::PutResourcePolicyRequest
- Amazonite::Lambda::PutResourcePolicyRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
lambda/put_resource_policy_request.crConstructors
- .new(resource_arn : String, policy : String, revision_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#policy : String
The policy document you want to add to your Lambda resource.
-
#policy=(policy : String)
The policy document you want to add to your Lambda resource.
-
#resource_arn : String
The Amazon Resource Name (ARN) of the Lambda resource you want to add the policy to.
-
#resource_arn=(resource_arn : String)
The Amazon Resource Name (ARN) of the Lambda resource you want to add the policy to.
-
#revision_id : String | Nil
The revision ID that the existing policy must match for the replacement to proceed.
-
#revision_id=(revision_id : String | Nil)
The revision ID that the existing policy must match for the replacement to proceed.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The policy document you want to add to your Lambda resource. This is formatted as a JSON string.
For more information, see Working with resource-based policies in Lambda in the Lambda Developer Guide.
The policy document you want to add to your Lambda resource. This is formatted as a JSON string.
For more information, see Working with resource-based policies in Lambda in the Lambda Developer Guide.
The Amazon Resource Name (ARN) of the Lambda resource you want to add the policy to. You can use a qualified or an unqualified ARN. The value must be a complete ARN, and the operation does not accept wildcard characters.
The Amazon Resource Name (ARN) of the Lambda resource you want to add the policy to. You can use a qualified or an unqualified ARN. The value must be a complete ARN, and the operation does not accept wildcard characters.
The revision ID that the existing policy must match for the replacement to proceed. If the
revision ID doesn't match, the operation fails with a PreconditionFailedException error. To
retrieve the current revision ID, use the GetResourcePolicy operation.
The revision ID that the existing policy must match for the replacement to proceed. If the
revision ID doesn't match, the operation fails with a PreconditionFailedException error. To
retrieve the current revision ID, use the GetResourcePolicy operation.