Skip to main content

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

Namemail_manager_addon_instances
TypeResource
DescriptionDefinition of AWS::SES::MailManagerAddonInstance Resource Type
Idaws.ses.mail_manager_addon_instances

Fields

NameDatatypeDescription
addon_instance_arnstring
addon_instance_idstring
addon_namestring
addon_subscription_idstring
tagsarray
regionstringAWS region.

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

Methods

NameAccessible byRequired Params
create_resourceINSERTAddonSubscriptionId, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__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.

/*+ create */
INSERT INTO aws.ses.mail_manager_addon_instances (
AddonSubscriptionId,
region
)
SELECT
'{{ AddonSubscriptionId }}',
'{{ region }}';

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