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
Idawscc.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
tagsarrayThe tags (keys and values) associated with the email identity.
regionstringAWS region.

For more information, see AWS::SES::EmailIdentity.

Methods

NameResourceAccessible byRequired Params
create_resourceemail_identitiesINSERTEmailIdentity, region
delete_resourceemail_identitiesDELETEIdentifier, region
update_resourceemail_identitiesUPDATEIdentifier, PatchDocument, region
list_resourcesemail_identities_list_onlySELECTregion
get_resourceemail_identitiesSELECTIdentifier, region

SELECT examples

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,
tags
FROM awscc.ses.email_identities
WHERE
region = 'us-east-1' AND
Identifier = '{{ email_identity }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.ses.email_identities
SET PatchDocument = string('{{ {
"ConfigurationSetAttributes": configuration_set_attributes,
"DkimSigningAttributes": dkim_signing_attributes,
"DkimAttributes": dkim_attributes,
"MailFromAttributes": mail_from_attributes,
"FeedbackAttributes": feedback_attributes,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ email_identity }}';

DELETE example

/*+ delete */
DELETE FROM awscc.ses.email_identities
WHERE
Identifier = '{{ email_identity }}' AND
region = 'us-east-1';

Permissions

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

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