Class: Aws::SNS::Types::AddPermissionInput

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sns/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_nameArray<String>

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

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

Returns:

  • (Array<String>)


36
37
38
39
40
41
42
43
# File 'lib/aws-sdk-sns/types.rb', line 36

class AddPermissionInput < Struct.new(
  :topic_arn,
  :label,
  :aws_account_id,
  :action_name)
  SENSITIVE = []
  include Aws::Structure
end

#aws_account_idArray<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.

Returns:

  • (Array<String>)


36
37
38
39
40
41
42
43
# File 'lib/aws-sdk-sns/types.rb', line 36

class AddPermissionInput < Struct.new(
  :topic_arn,
  :label,
  :aws_account_id,
  :action_name)
  SENSITIVE = []
  include Aws::Structure
end

#labelString

A unique identifier for the new policy statement.

Returns:

  • (String)


36
37
38
39
40
41
42
43
# File 'lib/aws-sdk-sns/types.rb', line 36

class AddPermissionInput < Struct.new(
  :topic_arn,
  :label,
  :aws_account_id,
  :action_name)
  SENSITIVE = []
  include Aws::Structure
end

#topic_arnString

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

Returns:

  • (String)


36
37
38
39
40
41
42
43
# File 'lib/aws-sdk-sns/types.rb', line 36

class AddPermissionInput < Struct.new(
  :topic_arn,
  :label,
  :aws_account_id,
  :action_name)
  SENSITIVE = []
  include Aws::Structure
end