class
Amazonite::Sns::AddPermissionInput
- Amazonite::Sns::AddPermissionInput
- Reference
- Object
Defined in:
sns/add_permission_input.crConstructors
- .from_xml(node : XML::Node) : self
- .new(topic_arn : String, label : String, aws_account_id : Array(String), action_name : Array(String))
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#action_name : Array(String)
The action you want to allow for the specified principal(s).
-
#action_name=(action_name : Array(String))
The action you want to allow for the specified principal(s).
-
#aws_account_id : Array(String)
The Amazon Web Services account IDs of the users (principals) who will be given access to the specified actions.
-
#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.
-
#hash(hasher)
See
Object#hash(hasher) -
#label : String
A unique identifier for the new policy statement.
-
#label=(label : String)
A unique identifier for the new policy statement.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
-
#topic_arn : String
The ARN of the topic whose access control policy you wish to modify.
-
#topic_arn=(topic_arn : String)
The ARN of the topic whose access control policy you wish to modify.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The action you want to allow for the specified principal(s).
Valid values: Any Amazon SNS action name, for example Publish.
The action you want to allow for the specified principal(s).
Valid values: Any Amazon SNS action name, for example Publish.
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.
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.
The ARN of the topic whose access control policy you wish to modify.