Skip to main content

configuration_sets

Creates, updates, deletes, gets or lists a configuration_sets resource.

Overview

Nameconfiguration_sets
TypeResource
Idaws.sesv2.configuration_sets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
archiving_optionsobjectUsed to associate a configuration set with a MailManager archive.
configuration_set_namestringThe name of a configuration set. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
delivery_optionsobjectUsed to associate a configuration set with a dedicated IP pool.
reputation_optionsobjectEnable or disable collection of reputation metrics for emails that you send using this configuration set in the current Amazon Web Services Region.
sending_optionsobjectUsed to enable or disable email sending for messages that use this configuration set in the current Amazon Web Services Region.
suppression_optionsobjectAn object that contains information about the suppression list preferences for your account or for a specific tenant.
tagsarrayAn array of objects that define the tags (keys and values) that are associated with the configuration set.
tracking_optionsobjectAn object that defines the tracking options for a configuration set. When you use the Amazon SES API v2 to send an email, it contains an invisible image that's used to track when recipients open your email. If your email contains links, those links are changed slightly in order to track when recipients click them. These images and links include references to a domain operated by Amazon Web Services. You can optionally configure the Amazon SES to use a domain that you operate for these images and links.
vdm_optionsobjectAn object that defines the VDM settings that apply to emails that you send using the configuration set.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_configuration_setselectconfiguration_set_name, regionGet information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
list_configuration_setsselectregionNextToken, PageSizeList all of the configuration sets associated with your account in the current region. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
create_configuration_setinsertregion, ConfigurationSetNameCreate a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
put_configuration_set_archiving_optionsreplaceconfiguration_set_name, regionAssociate the configuration set with a MailManager archive. When you send email using the SendEmail or SendBulkEmail operations the message as it will be given to the receiving SMTP server will be archived, along with the recipient information.
delete_configuration_setdeleteconfiguration_set_name, regionDelete an existing configuration set. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
put_configuration_set_delivery_optionsexecconfiguration_set_name, regionAssociate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.
put_configuration_set_reputation_optionsexecconfiguration_set_name, regionEnable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific Amazon Web Services Region.
put_configuration_set_sending_optionsexecconfiguration_set_name, regionEnable or disable email sending for messages that use a particular configuration set in a specific Amazon Web Services Region.
put_configuration_set_suppression_optionsexecconfiguration_set_name, regionSpecify the suppression list preferences for a configuration set. You can also use this operation to specify a SuppressionScope to override the suppression scope of the tenant or account for emails sent using this configuration set.
put_configuration_set_tracking_optionsexecconfiguration_set_name, regionSpecify a custom domain to use for open and click tracking elements in email that you send.
put_configuration_set_vdm_optionsexecconfiguration_set_name, regionSpecify VDM preferences for email that you send using the configuration set. You can execute this operation no more than once per second.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
configuration_set_namestringThe name of the configuration set.
regionstringAWS region (default: us-east-1)
NextTokenstringA token returned from a previous call to ListConfigurationSets to indicate the position in the list of configuration sets.
PageSizeintegerThe number of results to show in a single call to ListConfigurationSets. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.

SELECT examples

Get information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

SELECT
archiving_options,
configuration_set_name,
delivery_options,
reputation_options,
sending_options,
suppression_options,
tags,
tracking_options,
vdm_options
FROM aws.sesv2.configuration_sets
WHERE configuration_set_name = '{{ configuration_set_name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

INSERT INTO aws.sesv2.configuration_sets (
ConfigurationSetName,
TrackingOptions,
DeliveryOptions,
ReputationOptions,
SendingOptions,
Tags,
SuppressionOptions,
VdmOptions,
ArchivingOptions,
region
)
SELECT
'{{ ConfigurationSetName }}' /* required */,
'{{ TrackingOptions }}',
'{{ DeliveryOptions }}',
'{{ ReputationOptions }}',
'{{ SendingOptions }}',
'{{ Tags }}',
'{{ SuppressionOptions }}',
'{{ VdmOptions }}',
'{{ ArchivingOptions }}',
'{{ region }}'
;

REPLACE examples

Associate the configuration set with a MailManager archive. When you send email using the SendEmail or SendBulkEmail operations the message as it will be given to the receiving SMTP server will be archived, along with the recipient information.

REPLACE aws.sesv2.configuration_sets
SET
ArchiveArn = '{{ ArchiveArn }}'
WHERE
configuration_set_name = '{{ configuration_set_name }}' --required
AND region = '{{ region }}' --required;

DELETE examples

Delete an existing configuration set. Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

DELETE FROM aws.sesv2.configuration_sets
WHERE configuration_set_name = '{{ configuration_set_name }}' --required
AND region = '{{ region }}' --required
;

Lifecycle Methods

Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.

EXEC aws.sesv2.configuration_sets.put_configuration_set_delivery_options
@configuration_set_name='{{ configuration_set_name }}' --required,
@region='{{ region }}' --required
@@json=
'{
"TlsPolicy": "{{ TlsPolicy }}",
"SendingPoolName": "{{ SendingPoolName }}",
"MaxDeliverySeconds": {{ MaxDeliverySeconds }}
}'
;