configuration_set_event_destinations
Creates, updates, deletes or gets a configuration_set_event_destination
resource or lists configuration_set_event_destinations
in a region
Overview
Name | configuration_set_event_destinations |
Type | Resource |
Description | Resource Type definition for AWS::SES::ConfigurationSetEventDestination |
Id | aws.ses.configuration_set_event_destinations |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
configuration_set_name | string | The name of the configuration set that contains the event destination. |
event_destination | object | The event destination object. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | ConfigurationSetName, EventDestination, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all properties from an individual configuration_set_event_destination
.
SELECT
region,
id,
configuration_set_name,
event_destination
FROM aws.ses.configuration_set_event_destinations
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';
INSERT
example
Use the following StackQL query and manifest file to create a new configuration_set_event_destination
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.ses.configuration_set_event_destinations (
ConfigurationSetName,
EventDestination,
region
)
SELECT
'{{ ConfigurationSetName }}',
'{{ EventDestination }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.ses.configuration_set_event_destinations (
ConfigurationSetName,
EventDestination,
region
)
SELECT
'{{ ConfigurationSetName }}',
'{{ EventDestination }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: configuration_set_event_destination
props:
- name: ConfigurationSetName
value: '{{ ConfigurationSetName }}'
- name: EventDestination
value:
Name: '{{ Name }}'
Enabled: '{{ Enabled }}'
MatchingEventTypes:
- '{{ MatchingEventTypes[0] }}'
CloudWatchDestination:
DimensionConfigurations:
- DimensionValueSource: '{{ DimensionValueSource }}'
DefaultDimensionValue: '{{ DefaultDimensionValue }}'
DimensionName: '{{ DimensionName }}'
KinesisFirehoseDestination:
IAMRoleARN: '{{ IAMRoleARN }}'
DeliveryStreamARN: '{{ DeliveryStreamARN }}'
SnsDestination:
TopicARN: '{{ TopicARN }}'
DELETE
example
/*+ delete */
DELETE FROM aws.ses.configuration_set_event_destinations
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';
Permissions
To operate on the configuration_set_event_destinations
resource, the following permissions are required:
Create
ses:CreateConfigurationSetEventDestination,
ses:GetConfigurationSetEventDestinations,
ses:DescribeConfigurationSet
Update
ses:UpdateConfigurationSetEventDestination,
ses:GetConfigurationSetEventDestinations
Delete
ses:DeleteConfigurationSetEventDestination
Read
ses:GetConfigurationSetEventDestinations,
ses:DescribeConfigurationSet