class Aws::SNS::Types::AddPermissionInput

@note 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
    }

@!attribute [rw] topic_arn

The ARN of the topic whose access control policy you wish to modify.
@return [String]

@!attribute [rw] label

A unique identifier for the new policy statement.
@return [String]

@!attribute [rw] aws_account_id

The account IDs of the users (principals) who will be given access
to the specified actions. The users must have account, but do not
need to be signed up for this service.
@return [Array<String>]

@!attribute [rw] action_name

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

Valid values: Any Amazon SNS action name, for example `Publish`.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermissionInput AWS API Documentation

Constants

SENSITIVE