mail_manager_addon_instances
Creates, updates, deletes or gets a mail_manager_addon_instance
resource or lists mail_manager_addon_instances
in a region
Overview
Name | mail_manager_addon_instances |
Type | Resource |
Description | Definition of AWS::SES::MailManagerAddonInstance Resource Type |
Id | aws.ses.mail_manager_addon_instances |
Fields
Name | Datatype | Description |
---|---|---|
addon_instance_arn | string | |
addon_instance_id | string | |
addon_name | string | |
addon_subscription_id | string | |
tags | array | |
region | string | AWS region. |
For more information, see AWS::SES::MailManagerAddonInstance
.
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | AddonSubscriptionId, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all mail_manager_addon_instances
in a region.
SELECT
region,
addon_instance_arn,
addon_instance_id,
addon_name,
addon_subscription_id,
tags
FROM aws.ses.mail_manager_addon_instances
WHERE region = 'us-east-1';
Gets all properties from an individual mail_manager_addon_instance
.
SELECT
region,
addon_instance_arn,
addon_instance_id,
addon_name,
addon_subscription_id,
tags
FROM aws.ses.mail_manager_addon_instances
WHERE region = 'us-east-1' AND data__Identifier = '<AddonInstanceId>';
INSERT
example
Use the following StackQL query and manifest file to create a new mail_manager_addon_instance
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.ses.mail_manager_addon_instances (
AddonSubscriptionId,
region
)
SELECT
'{{ AddonSubscriptionId }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.ses.mail_manager_addon_instances (
AddonSubscriptionId,
Tags,
region
)
SELECT
'{{ AddonSubscriptionId }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: mail_manager_addon_instance
props:
- name: AddonSubscriptionId
value: '{{ AddonSubscriptionId }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
DELETE
example
/*+ delete */
DELETE FROM aws.ses.mail_manager_addon_instances
WHERE data__Identifier = '<AddonInstanceId>'
AND region = 'us-east-1';
Permissions
To operate on the mail_manager_addon_instances
resource, the following permissions are required:
Create
ses:TagResource,
ses:ListTagsForResource,
ses:GetAddonInstance,
ses:CreateAddonInstance
Read
ses:ListTagsForResource,
ses:GetAddonInstance
Update
ses:TagResource,
ses:UntagResource,
ses:ListTagsForResource,
ses:GetAddonInstance
Delete
ses:GetAddonInstance,
ses:DeleteAddonInstance
List
ses:ListAddonInstances