View a markdown version of this page

Actions, resources, and condition keys for AWS User Notifications Contacts - Service Authorization Reference

Actions, resources, and condition keys for AWS User Notifications Contacts

AWS User Notifications Contacts (service prefix: notifications-contacts) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by AWS User Notifications Contacts

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

ActivateEmailContact

notifications-contacts:ActivateEmailContact

Write

CreateEmailContact

notifications-contacts:CreateEmailContact

Write

notifications-contacts:TagResource

Tagging, Write

DeleteEmailContact

notifications-contacts:DeleteEmailContact

Write

GetEmailContact

notifications-contacts:GetEmailContact

Read

ListEmailContacts

notifications-contacts:ListEmailContacts

List

ListTagsForResource

notifications-contacts:ListTagsForResource

Read

SendActivationCode

notifications-contacts:SendActivationCode

Write

TagResource

notifications-contacts:TagResource

Tagging, Write

UntagResource

notifications-contacts:UntagResource

Tagging, Write

Actions defined by AWS User Notifications Contacts

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

ActivateEmailContact

Grants permission to activate the email contact associated with the given ARN if the provided code is valid

EmailContactResource*

aws:ResourceTag/${TagKey}

Write

CreateEmailContact

Grants permission to create an email contact

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

DeleteEmailContact

Grants permission to delete an email contact associated with the given ARN

EmailContactResource*

aws:ResourceTag/${TagKey}

Write

GetEmailContact

Grants permission to get an email contact associated with the given ARN

EmailContactResource*

aws:ResourceTag/${TagKey}

Read

ListEmailContacts

Grants permission to list email contacts

List

ListTagsForResource

Grants permission to get tags for a resource

Read

SendActivationCode

Grants permission to send an activation link to the email associated with the given ARN

EmailContactResource*

aws:ResourceTag/${TagKey}

Write

TagResource

Grants permission to tag a resource

EmailContactResource*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UntagResource

Grants permission to remove tags from a resource

EmailContactResource*

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

Resource types defined by AWS User Notifications Contacts

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

EmailContactResource

arn:${Partition}:notifications-contacts::${Account}:emailcontact/${EmailContactId}

aws:ResourceTag/${TagKey}

Condition keys for AWS User Notifications Contacts

AWS User Notifications Contacts defines the following condition keys that can be used in the Condition element of an IAM policy.

Condition keys Description Type

aws:RequestTag/${TagKey}

Filters access by the tags that are passed in the request

String

aws:ResourceTag/${TagKey}

Filters access by the tags associated with the resource

String

aws:TagKeys

Filters access by the tag keys that are passed in the request

ArrayOfString