Actions, resources, and condition keys for Amazon Simple Email Service v2
Amazon Simple Email Service v2 (service prefix: ses
) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
Topics
Actions defined by Amazon Simple Email Service v2
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.
The Resource types column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies in the Resource
element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the Resource
element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.
The Condition keys column of the Actions table includes keys that you can specify in a policy statement's Condition
element. For more information on the condition keys that are associated with resources for the service, see the Condition keys column of the Resource types table.
Note
Resource condition keys are listed in the Resource types table. You can find a link to the resource type that applies to an action in the Resource types (*required) column of the Actions table. The resource type in the Resource types table includes the Condition keys column, which are the resource condition keys that apply to an action in the Actions table.
For details about the columns in the following table, see Actions table.
Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions |
---|---|---|---|---|---|
BatchGetMetricData | Grants permission to get metric data on your activity | Read | |||
CancelExportJob | Grants permission to cancel an export job | Write | |||
CreateConfigurationSet | Grants permission to create a new configuration set | Write | |||
CreateConfigurationSetEventDestination | Grants permission to create a configuration set event destination | Write | |||
CreateContact | Grants permission to create a contact | Write | |||
CreateContactList | Grants permission to create a contact list | Write | |||
CreateCustomVerificationEmailTemplate | Grants permission to create a new custom verification email template | Write | |||
CreateDedicatedIpPool | Grants permission to create a new pool of dedicated IP addresses | Write | |||
CreateDeliverabilityTestReport | Grants permission to create a new predictive inbox placement test | Write | |||
CreateEmailIdentity | Grants permission to start the process of verifying an email identity | Write | |||
CreateEmailIdentityPolicy | Grants permission to create the specified sending authorization policy for the given identity | Permissions management | |||
CreateEmailTemplate | Grants permission to create an email template | Write | |||
CreateExportJob | Grants permission to create an export job | Write | |||
CreateImportJob | Grants permission to creates an import job for a data destination | Write | |||
DeleteConfigurationSet | Grants permission to delete an existing configuration set | Write | |||
DeleteConfigurationSetEventDestination | Grants permission to delete an event destination | Write | |||
DeleteContact | Grants permission to delete a contact from a contact list | Write | |||
DeleteContactList | Grants permission to delete a contact list with all of its contacts | Write | |||
DeleteCustomVerificationEmailTemplate | Grants permission to delete an existing custom verification email template | Write | |||
DeleteDedicatedIpPool | Grants permission to delete a dedicated IP pool | Write | |||
DeleteEmailIdentity | Grants permission to delete an email identity | Write | |||
DeleteEmailIdentityPolicy | Grants permission to delete the specified sending authorization policy for the given identity (an email address or a domain) | Permissions management | |||
DeleteEmailTemplate | Grants permission to delete an email template | Write | |||
DeleteSuppressedDestination | Grants permission to remove an email address from the suppression list for your account | Write | |||
GetAccount | Grants permission to get information about the email-sending status and capabilities for your account | Read | |||
GetBlacklistReports | Grants permission to retrieve a list of the deny lists on which your dedicated IP addresses or tracked domains appear | Read | |||
GetConfigurationSet | Grants permission to get information about an existing configuration set | Read | |||
GetConfigurationSetEventDestinations | Grants permission to retrieve a list of event destinations that are associated with a configuration set | Read | |||
GetContact | Grants permission to return a contact from a contact list | Read | |||
GetContactList | Grants permission to return contact list metadata | Read | |||
GetCustomVerificationEmailTemplate | Grants permission to return the custom email verification template for the template name you specify | Read | |||
GetDedicatedIp | Grants permission to get information about a dedicated IP address | Read | |||
GetDedicatedIpPool | Grants permission to get information about a dedicated IP pool | Read | |||
GetDedicatedIps | Grants permission to list the dedicated IP addresses a dedicated IP pool | Read | |||
GetDeliverabilityDashboardOptions | Grants permission to get the status of the Deliverability dashboard | Read | |||
GetDeliverabilityTestReport | Grants permission to retrieve the results of a predictive inbox placement test | Read | |||
GetDomainDeliverabilityCampaign | Grants permission to retrieve all the deliverability data for a specific campaign | Read | |||
GetDomainStatisticsReport | Grants permission to retrieve inbox placement and engagement rates for the domains that you use to send email | Read | |||
GetEmailIdentity | Grants permission to get information about a specific identity | Read | |||
GetEmailIdentityPolicies | Grants permission to return the requested sending authorization policies for the given identity (an email address or a domain) | Read | |||
GetEmailTemplate | Grants permission to return the template object, which includes the subject line, HTML part, and text part for the template you specify | Read | |||
GetExportJob | Grants permission to get information about an export job | Read | |||
GetImportJob | Grants permission to provide information about an import job | Read | |||
GetMessageInsights | Grants permission to provide insights about a message | Read | |||
GetSuppressedDestination | Grants permission to retrieve information about a specific email address that's on the suppression list for your account | Read | |||
ListConfigurationSets | Grants permission to list all of the configuration sets for your account | List | |||
ListContactLists | Grants permission to list all of the contact lists available for your account | List | |||
ListContacts | Grants permission to list the contacts present in a specific contact list | List | |||
ListCustomVerificationEmailTemplates | Grants permission to list all of the existing custom verification email templates for your account | List | |||
ListDedicatedIpPools | Grants permission to list all of the dedicated IP pools for your account | List | |||
ListDeliverabilityTestReports | Grants permission to retrieve the list of the predictive inbox placement tests that you've performed, regardless of their statuses, for your account | List | |||
ListDomainDeliverabilityCampaigns | Grants permission to list deliverability data for campaigns that used a specific domain to send email during a specified time range | Read | |||
ListEmailIdentities | Grants permission to list the email identities for your account | List | |||
ListEmailTemplates | Grants permission to list all of the email templates for your account | List | |||
ListExportJobs | Grants permission to list all the exports jobs for your account | List | |||
ListImportJobs | Grants permission to list all of the import jobs for your account | List | |||
ListRecommendations | Grants permission to list recommendations for your account | Read | |||
ListSuppressedDestinations | Grants permission to list email addresses that are on the suppression list for your account | Read | |||
ListTagsForResource | Grants permission to retrieve a list of the tags (keys and values) that are associated with a specific resource for your account | Read | |||
PutAccountDedicatedIpWarmupAttributes | Grants permission to enable or disable the automatic warm-up feature for dedicated IP addresses | Write | |||
PutAccountDetails | Grants permission to update your account details | Write | |||
PutAccountSendingAttributes | Grants permission to enable or disable the ability to send email for your account | Write | |||
PutAccountSuppressionAttributes | Grants permission to change the settings for the account-level suppression list | Write | |||
PutAccountVdmAttributes | Grants permission to change the settings for VDM for your account | Write | |||
PutConfigurationSetDeliveryOptions | Grants permission to associate a configuration set with a dedicated IP pool | Write | |||
PutConfigurationSetReputationOptions | Grants permission to enable or disable collection of reputation metrics for emails that you send using a particular configuration set | Write | |||
PutConfigurationSetSendingOptions | Grants permission to enable or disable email sending for messages that use a particular configuration set | Write | |||
PutConfigurationSetSuppressionOptions | Grants permission to specify the account suppression list preferences for a particular configuration set | Write | |||
PutConfigurationSetTrackingOptions | Grants permission to specify a custom domain to use for open and click tracking elements in email that you send for a particular configuration set | Write | |||
PutConfigurationSetVdmOptions | Grants permission to override account-level VDM settings for a particular configuration set | Write | |||
PutDedicatedIpInPool | Grants permission to move a dedicated IP address to an existing dedicated IP pool | Write | |||
PutDedicatedIpPoolScalingAttributes | Grants permission to transition a dedicated IP pool from Standard to Managed | Write | |||
PutDedicatedIpWarmupAttributes | Grants permission to put Dedicated IP warm up attributes | Write | |||
PutDeliverabilityDashboardOption | Grants permission to enable or disable the Deliverability dashboard | Write | |||
PutEmailIdentityConfigurationSetAttributes | Grants permission to associate a configuration set with an email identity | Write | |||
PutEmailIdentityDkimAttributes | Grants permission to enable or disable DKIM authentication for an email identity | Write | |||
PutEmailIdentityDkimSigningAttributes | Grants permission to configure or change the DKIM authentication settings for an email domain identity | Write | |||
PutEmailIdentityFeedbackAttributes | Grants permission to enable or disable feedback forwarding for an email identity | Write | |||
PutEmailIdentityMailFromAttributes | Grants permission to enable or disable the custom MAIL FROM domain configuration for an email identity | Write | |||
PutSuppressedDestination | Grants permission to add an email address to the suppression list | Write | |||
SendBulkEmail | Grants permission to compose an email message to multiple destinations | Write | |||
SendCustomVerificationEmail | Grants permission to add an email address to the list of identities and attempts to verify it | Write | |||
SendEmail | Grants permission to send an email message | Write | |||
TagResource | Grants permission to add one or more tags (keys and values) to a specified resource | Tagging | |||
TestRenderEmailTemplate | Grants permission to create a preview of the MIME content of an email when provided with a template and a set of replacement data | Write | |||
UntagResource | Grants permission to remove one or more tags (keys and values) from a specified resource | Tagging | |||
UpdateConfigurationSetEventDestination | Grants permission to update the configuration of an event destination for a configuration set | Write | |||
UpdateContact | Grants permission to update a contact's preferences for a list | Write | |||
UpdateContactList | Grants permission to update contact list metadata | Write | |||
UpdateCustomVerificationEmailTemplate | Grants permission to update an existing custom verification email template | Write | |||
UpdateEmailIdentityPolicy | Grants permission to update the specified sending authorization policy for the given identity (an email address or a domain) | Permissions management | |||
UpdateEmailTemplate | Grants permission to update an email template | Write | |||
Resource types defined by Amazon Simple Email Service v2
The following resource types are defined by this service and can be used in the Resource
element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see Resource types table.
Resource types | ARN | Condition keys |
---|---|---|
configuration-set |
arn:${Partition}:ses:${Region}:${Account}:configuration-set/${ConfigurationSetName}
|
|
contact-list |
arn:${Partition}:ses:${Region}:${Account}:contact-list/${ContactListName}
|
|
custom-verification-email-template |
arn:${Partition}:ses:${Region}:${Account}:custom-verification-email-template/${TemplateName}
|
|
dedicated-ip-pool |
arn:${Partition}:ses:${Region}:${Account}:dedicated-ip-pool/${DedicatedIPPool}
|
|
deliverability-test-report |
arn:${Partition}:ses:${Region}:${Account}:deliverability-test-report/${ReportId}
|
|
export-job |
arn:${Partition}:ses:${Region}:${Account}:export-job/${ExportJobId}
|
|
identity |
arn:${Partition}:ses:${Region}:${Account}:identity/${IdentityName}
|
|
import-job |
arn:${Partition}:ses:${Region}:${Account}:import-job/${ImportJobId}
|
|
template |
arn:${Partition}:ses:${Region}:${Account}:template/${TemplateName}
|
Condition keys for Amazon Simple Email Service v2
Amazon Simple Email Service v2 defines the following condition keys that can be used in the Condition
element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see Condition keys table.
To view the global condition keys that are available to all services, see Available global condition keys.
Condition keys | Description | Type |
---|---|---|
aws:RequestTag/${TagKey} | Filters access by the presence of tag key-value pairs in the request | String |
aws:ResourceTag/${TagKey} | Filters access by tag key-value pairs attached to the resource | String |
aws:TagKeys | Filters access by the presence of tag keys in the request | ArrayOfString |
ses:ApiVersion | Filters access by the SES API version | String |
ses:ExportSourceType | Filters access by the export source type | String |
ses:FeedbackAddress | Filters access by the "Return-Path" address, which specifies where bounces and complaints are sent by email feedback forwarding | String |
ses:FromAddress | Filters access by the "From" address of a message | String |
ses:FromDisplayName | Filters access by the "From" address that is used as the display name of a message | String |
ses:Recipients | Filters access by the recipient addresses of a message, which include the "To", "CC", and "BCC" addresses | ArrayOfString |