Skip to main content

mail_manager_addon_subscriptions

Creates, updates, deletes or gets a mail_manager_addon_subscription resource or lists mail_manager_addon_subscriptions in a region

Overview

Namemail_manager_addon_subscriptions
TypeResource
DescriptionDefinition of AWS::SES::MailManagerAddonSubscription Resource Type
Idaws.ses.mail_manager_addon_subscriptions

Fields

NameDatatypeDescription
addon_namestring
addon_subscription_arnstring
addon_subscription_idstring
tagsarray
regionstringAWS region.

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

Methods

NameAccessible byRequired Params
create_resourceINSERTAddonName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all mail_manager_addon_subscriptions in a region.

SELECT
region,
addon_name,
addon_subscription_arn,
addon_subscription_id,
tags
FROM aws.ses.mail_manager_addon_subscriptions
WHERE region = 'us-east-1';

Gets all properties from an individual mail_manager_addon_subscription.

SELECT
region,
addon_name,
addon_subscription_arn,
addon_subscription_id,
tags
FROM aws.ses.mail_manager_addon_subscriptions
WHERE region = 'us-east-1' AND data__Identifier = '<AddonSubscriptionId>';

INSERT example

Use the following StackQL query and manifest file to create a new mail_manager_addon_subscription resource, using stack-deploy.

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

DELETE example

/*+ delete */
DELETE FROM aws.ses.mail_manager_addon_subscriptions
WHERE data__Identifier = '<AddonSubscriptionId>'
AND region = 'us-east-1';

Permissions

To operate on the mail_manager_addon_subscriptions resource, the following permissions are required:

Create

ses:TagResource,
ses:ListTagsForResource,
ses:GetAddonSubscription,
ses:CreateAddonSubscription

Read

ses:ListTagsForResource,
ses:GetAddonSubscription

Update

ses:TagResource,
ses:UntagResource,
ses:ListTagsForResource,
ses:GetAddonSubscription

Delete

ses:GetAddonSubscription,
ses:DeleteAddonSubscription

List

ses:ListAddonSubscriptions