vdm_attributes
Creates, updates, deletes or gets a vdm_attribute
resource or lists vdm_attributes
in a region
Overview
Name | vdm_attributes |
Type | Resource |
Description | Resource Type definition for AWS::SES::VdmAttributes |
Id | aws.ses.vdm_attributes |
Fields
Name | Datatype | Description |
---|---|---|
vdm_attributes_resource_id | string | Unique identifier for this resource |
dashboard_attributes | object | Preferences regarding the Dashboard feature. |
guardian_attributes | object | Preferences regarding the Guardian feature. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | 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 vdm_attribute
.
SELECT
region,
vdm_attributes_resource_id,
dashboard_attributes,
guardian_attributes
FROM aws.ses.vdm_attributes
WHERE region = 'us-east-1' AND data__Identifier = '<VdmAttributesResourceId>';
INSERT
example
Use the following StackQL query and manifest file to create a new vdm_attribute
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.ses.vdm_attributes (
DashboardAttributes,
GuardianAttributes,
region
)
SELECT
'{{ DashboardAttributes }}',
'{{ GuardianAttributes }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.ses.vdm_attributes (
DashboardAttributes,
GuardianAttributes,
region
)
SELECT
'{{ DashboardAttributes }}',
'{{ GuardianAttributes }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: vdm_attribute
props:
- name: DashboardAttributes
value:
EngagementMetrics: '{{ EngagementMetrics }}'
- name: GuardianAttributes
value:
OptimizedSharedDelivery: '{{ OptimizedSharedDelivery }}'
DELETE
example
/*+ delete */
DELETE FROM aws.ses.vdm_attributes
WHERE data__Identifier = '<VdmAttributesResourceId>'
AND region = 'us-east-1';
Permissions
To operate on the vdm_attributes
resource, the following permissions are required:
Create
ses:PutAccountVdmAttributes,
ses:GetAccount
Read
ses:GetAccount
Update
ses:PutAccountVdmAttributes,
ses:GetAccount
Delete
ses:PutAccountVdmAttributes,
ses:GetAccount