Skip to main content

configuration_sets

Creates, updates, deletes or gets a configuration_set resource or lists configuration_sets in a region

Overview

Nameconfiguration_sets
TypeResource
DescriptionResource schema for AWS::SES::ConfigurationSet.
Idawscc.ses.configuration_sets

Fields

NameDatatypeDescription
namestringThe name of the configuration set.
tracking_optionsobjectAn object that defines the open and click tracking options for emails that you send using the configuration set.
delivery_optionsobjectAn object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
reputation_optionsobjectAn object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
sending_optionsobjectAn object that defines whether or not Amazon SES can send email that you send using the configuration set.
suppression_optionsobjectAn object that contains information about the suppression list preferences for your account.
vdm_optionsobjectAn object that contains Virtual Deliverability Manager (VDM) settings for this configuration set.
tagsarrayThe tags (keys and values) associated with the contact list.
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourceconfiguration_setsINSERTregion
delete_resourceconfiguration_setsDELETEIdentifier, region
update_resourceconfiguration_setsUPDATEIdentifier, PatchDocument, region
list_resourcesconfiguration_sets_list_onlySELECTregion
get_resourceconfiguration_setsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual configuration_set.

SELECT
region,
name,
tracking_options,
delivery_options,
reputation_options,
sending_options,
suppression_options,
vdm_options,
tags
FROM awscc.ses.configuration_sets
WHERE
region = '{{ region }}' AND
Identifier = '{{ name }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.ses.configuration_sets (
Name,
TrackingOptions,
DeliveryOptions,
ReputationOptions,
SendingOptions,
SuppressionOptions,
VdmOptions,
Tags,
region
)
SELECT
'{{ name }}',
'{{ tracking_options }}',
'{{ delivery_options }}',
'{{ reputation_options }}',
'{{ sending_options }}',
'{{ suppression_options }}',
'{{ vdm_options }}',
'{{ tags }}',
'{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

UPDATE example

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

/*+ update */
UPDATE awscc.ses.configuration_sets
SET PatchDocument = string('{{ {
"TrackingOptions": tracking_options,
"DeliveryOptions": delivery_options,
"ReputationOptions": reputation_options,
"SendingOptions": sending_options,
"SuppressionOptions": suppression_options,
"VdmOptions": vdm_options,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ name }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.ses.configuration_sets
WHERE
Identifier = '{{ name }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

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

ses:CreateConfigurationSet,
ses:UntagResource,
ses:TagResource,
ses:DescribeConfigurationSet,
ses:GetConfigurationSet