Class: Aws::SNS::Types::AddPermissionInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SNS::Types::AddPermissionInput
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sns/types.rb
Overview
When making an API call, you may pass AddPermissionInput data as a hash:
{
topic_arn: "topicARN", # required
label: "label", # required
aws_account_id: ["delegate"], # required
action_name: ["action"], # required
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action_name ⇒ Array<String>
The action you want to allow for the specified principal(s).
-
#aws_account_id ⇒ Array<String>
The AWS account IDs of the users (principals) who will be given access to the specified actions.
-
#label ⇒ String
A unique identifier for the new policy statement.
-
#topic_arn ⇒ String
The ARN of the topic whose access control policy you wish to modify.
Instance Attribute Details
#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`.
45 46 47 48 49 50 51 52 |
# File 'lib/aws-sdk-sns/types.rb', line 45 class AddPermissionInput < Struct.new( :topic_arn, :label, :aws_account_id, :action_name) SENSITIVE = [] include Aws::Structure end |
#aws_account_id ⇒ Array<String>
The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service.
45 46 47 48 49 50 51 52 |
# File 'lib/aws-sdk-sns/types.rb', line 45 class AddPermissionInput < Struct.new( :topic_arn, :label, :aws_account_id, :action_name) SENSITIVE = [] include Aws::Structure end |
#label ⇒ String
A unique identifier for the new policy statement.
45 46 47 48 49 50 51 52 |
# File 'lib/aws-sdk-sns/types.rb', line 45 class AddPermissionInput < Struct.new( :topic_arn, :label, :aws_account_id, :action_name) SENSITIVE = [] include Aws::Structure end |
#topic_arn ⇒ String
The ARN of the topic whose access control policy you wish to modify.
45 46 47 48 49 50 51 52 |
# File 'lib/aws-sdk-sns/types.rb', line 45 class AddPermissionInput < Struct.new( :topic_arn, :label, :aws_account_id, :action_name) SENSITIVE = [] include Aws::Structure end |