class
Amazonite::Ssm::PutResourcePolicyRequest
- Amazonite::Ssm::PutResourcePolicyRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
ssm/put_resource_policy_request.crConstructors
- .new(resource_arn : String, policy : String, policy_id : String | Nil = nil, policy_hash : String | Nil = nil)
- .new(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
A policy you want to associate with a resource.
-
#policy=(policy : String)
A policy you want to associate with a resource.
-
#policy_hash : String | Nil
ID of the current policy version.
-
#policy_hash=(policy_hash : String | Nil)
ID of the current policy version.
-
#policy_id : String | Nil
The policy ID.
-
#policy_id=(policy_id : String | Nil)
The policy ID.
-
#resource_arn : String
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
-
#resource_arn=(resource_arn : String)
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.