class Amazonite::Ssm::PutResourcePolicyRequest

Included Modules

Defined in:

ssm/put_resource_policy_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(resource_arn : String, policy : String, policy_id : String | Nil = nil, policy_hash : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def policy : String #

A policy you want to associate with a resource.


[View source]
def policy=(policy : String) #

A policy you want to associate with a resource.


[View source]
def policy_hash : String | Nil #

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.


[View source]
def policy_hash=(policy_hash : String | Nil) #

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.


[View source]
def policy_id : String | Nil #

The policy ID.


[View source]
def policy_id=(policy_id : String | Nil) #

The policy ID.


[View source]
def resource_arn : String #

Amazon Resource Name (ARN) of the resource to which you want to attach a policy.


[View source]
def resource_arn=(resource_arn : String) #

Amazon Resource Name (ARN) of the resource to which you want to attach a policy.


[View source]
def validate! : Nil #

[View source]