Skip to main content

email_identities

Creates, updates, deletes or gets an email_identity resource or lists email_identities in a region

Overview

Nameemail_identities
TypeResource
DescriptionResource Type definition for AWS::SES::EmailIdentity
Idaws.ses.email_identities

Fields

NameDatatypeDescription
email_identitystringThe email address or domain to verify.
configuration_set_attributesobjectUsed to associate a configuration set with an email identity.
dkim_signing_attributesobjectIf your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM.
dkim_attributesobjectUsed to enable or disable DKIM authentication for an email identity.
mail_from_attributesobjectUsed to enable or disable the custom Mail-From domain configuration for an email identity.
feedback_attributesobjectUsed to enable or disable feedback forwarding for an identity.
dkim_dns_token_name1string
dkim_dns_token_name2string
dkim_dns_token_name3string
dkim_dns_token_value1string
dkim_dns_token_value2string
dkim_dns_token_value3string
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTEmailIdentity, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all email_identities in a region.

SELECT
region,
email_identity,
configuration_set_attributes,
dkim_signing_attributes,
dkim_attributes,
mail_from_attributes,
feedback_attributes,
dkim_dns_token_name1,
dkim_dns_token_name2,
dkim_dns_token_name3,
dkim_dns_token_value1,
dkim_dns_token_value2,
dkim_dns_token_value3
FROM aws.ses.email_identities
WHERE region = 'us-east-1';

Gets all properties from an individual email_identity.

SELECT
region,
email_identity,
configuration_set_attributes,
dkim_signing_attributes,
dkim_attributes,
mail_from_attributes,
feedback_attributes,
dkim_dns_token_name1,
dkim_dns_token_name2,
dkim_dns_token_name3,
dkim_dns_token_value1,
dkim_dns_token_value2,
dkim_dns_token_value3
FROM aws.ses.email_identities
WHERE region = 'us-east-1' AND data__Identifier = '<EmailIdentity>';

INSERT example

Use the following StackQL query and manifest file to create a new email_identity resource, using stack-deploy.

/*+ create */
INSERT INTO aws.ses.email_identities (
EmailIdentity,
region
)
SELECT
'{{ EmailIdentity }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.ses.email_identities
WHERE data__Identifier = '<EmailIdentity>'
AND region = 'us-east-1';

Permissions

To operate on the email_identities resource, the following permissions are required:

Create

ses:CreateEmailIdentity,
ses:PutEmailIdentityMailFromAttributes,
ses:PutEmailIdentityFeedbackAttributes,
ses:PutEmailIdentityDkimAttributes,
ses:GetEmailIdentity

Read

ses:GetEmailIdentity

Update

ses:PutEmailIdentityMailFromAttributes,
ses:PutEmailIdentityFeedbackAttributes,
ses:PutEmailIdentityConfigurationSetAttributes,
ses:PutEmailIdentityDkimSigningAttributes,
ses:PutEmailIdentityDkimAttributes,
ses:GetEmailIdentity

Delete

ses:DeleteEmailIdentity

List

ses:ListEmailIdentities