Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.
| C# |
public class AddPermissionRequest : SNSRequest
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| AddPermissionRequest()()()() | Initializes a new instance of the AddPermissionRequest class | |
| ActionNames |
The action you want to allow for the specified principal(s).
| |
| AWSAccountIds |
The AWS account IDs of the users (principals) who will be given access to the specified actions.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| IsSetActionNames()()()() |
Checks if ActionNames property is set
| |
| IsSetAWSAccountIds()()()() |
Checks if AWSAccountIds property is set
| |
| IsSetLabel()()()() |
Checks if Label property is set
| |
| IsSetTopicArn()()()() |
Checks if TopicArn property is set
| |
| Label |
A unique identifier for the new policy statement.
| |
| TopicArn |
The ARN of the topic whose access control policy you wish to modify.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithActionNames(array<String>[]()[][]) | Obsolete.
Sets the action you want to allow for the specified principal(s).
| |
| WithAWSAccountIds(array<String>[]()[][]) | Obsolete.
Sets the AWS account IDs of the users (principals) who will be given access to the specified actions.
| |
| WithLabel(String) | Obsolete.
Sets the unique identifier for the new policy statement.
| |
| WithTopicArn(String) | Obsolete.
Sets the ARN of the topic whose access control policy you wish to modify.
|
| Object | ||
| SNSRequest | ||
| AddPermissionRequest | ||