Skip to main content

mail_manager_rule_sets

Creates, updates, deletes or gets a mail_manager_rule_set resource or lists mail_manager_rule_sets in a region

Overview

Namemail_manager_rule_sets
TypeResource
DescriptionDefinition of AWS::SES::MailManagerRuleSet Resource Type
Idaws.ses.mail_manager_rule_sets

Fields

NameDatatypeDescription
rule_set_arnstring
rule_set_idstring
rule_set_namestring
rulesarray
tagsarray
regionstringAWS region.

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

Methods

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

SELECT examples

Gets all mail_manager_rule_sets in a region.

SELECT
region,
rule_set_arn,
rule_set_id,
rule_set_name,
rules,
tags
FROM aws.ses.mail_manager_rule_sets
WHERE region = 'us-east-1';

Gets all properties from an individual mail_manager_rule_set.

SELECT
region,
rule_set_arn,
rule_set_id,
rule_set_name,
rules,
tags
FROM aws.ses.mail_manager_rule_sets
WHERE region = 'us-east-1' AND data__Identifier = '<RuleSetId>';

INSERT example

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

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

DELETE example

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

Permissions

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

Create

ses:TagResource,
ses:ListTagsForResource,
ses:GetRuleSet,
ses:CreateRuleSet

Read

ses:ListTagsForResource,
ses:GetRuleSet

Update

ses:TagResource,
ses:UntagResource,
ses:ListTagsForResource,
ses:GetRuleSet,
ses:UpdateRuleSet

Delete

ses:GetRuleSet,
ses:DeleteRuleSet

List

ses:ListRuleSets