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 | awscc.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. |
For more information, see AWS::SES::VdmAttributes.
Methods
| Name | Accessible by | Required Params |
|---|---|---|
create_resource | INSERT | region |
delete_resource | DELETE | Identifier, region |
update_resource | UPDATE | Identifier, PatchDocument, region |
get_resource | SELECT | Identifier, region |
SELECT examples
Gets all properties from an individual vdm_attribute.
SELECT
region,
vdm_attributes_resource_id,
dashboard_attributes,
guardian_attributes
FROM awscc.ses.vdm_attributes
WHERE
region = 'us-east-1' AND
Identifier = '{{ vdm_attributes_resource_id }}';
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 awscc.ses.vdm_attributes (
DashboardAttributes,
GuardianAttributes,
region
)
SELECT
'{{ dashboard_attributes }}',
'{{ guardian_attributes }}',
'{{ region }}';
/*+ create */
INSERT INTO awscc.ses.vdm_attributes (
DashboardAttributes,
GuardianAttributes,
region
)
SELECT
'{{ dashboard_attributes }}',
'{{ guardian_attributes }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: vdm_attribute
props:
- name: dashboard_attributes
value:
engagement_metrics: '{{ engagement_metrics }}'
- name: guardian_attributes
value:
optimized_shared_delivery: '{{ optimized_shared_delivery }}'
UPDATE example
Use the following StackQL query and manifest file to update a vdm_attribute resource, using stack-deploy.
/*+ update */
UPDATE awscc.ses.vdm_attributes
SET PatchDocument = string('{{ {
"DashboardAttributes": dashboard_attributes,
"GuardianAttributes": guardian_attributes
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ vdm_attributes_resource_id }}';
DELETE example
/*+ delete */
DELETE FROM awscc.ses.vdm_attributes
WHERE
Identifier = '{{ vdm_attributes_resource_id }}' AND
region = 'us-east-1';
Permissions
To operate on the vdm_attributes resource, the following permissions are required:
- Create
- Read
- Update
- Delete
ses:PutAccountVdmAttributes,
ses:GetAccount
ses:GetAccount
ses:PutAccountVdmAttributes,
ses:GetAccount
ses:PutAccountVdmAttributes,
ses:GetAccount