class Amazonite::Sns::AddPermissionInput

Defined in:

sns/add_permission_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(topic_arn : String, label : String, aws_account_id : Array(String), action_name : Array(String)) #

[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 action_name : Array(String) #

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.


[View source]
def action_name=(action_name : Array(String)) #

The action you want to allow for the specified principal(s).

Valid values: Any Amazon SNS action name, for example Publish.


[View source]
def aws_account_id : Array(String) #

The Amazon Web Services account IDs of the users (principals) who will be given access to the specified actions. The users must have Amazon Web Services account, but do not need to be signed up for this service.


[View source]
def aws_account_id=(aws_account_id : Array(String)) #

The Amazon Web Services account IDs of the users (principals) who will be given access to the specified actions. The users must have Amazon Web Services account, but do not need to be signed up for this service.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def label : String #

A unique identifier for the new policy statement.


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

A unique identifier for the new policy statement.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def topic_arn : String #

The ARN of the topic whose access control policy you wish to modify.


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

The ARN of the topic whose access control policy you wish to modify.


[View source]
def validate! : Nil #

[View source]