Skip to main content

mail_manager_relays

Creates, updates, deletes or gets a mail_manager_relay resource or lists mail_manager_relays in a region

Overview

Namemail_manager_relays
TypeResource
DescriptionDefinition of AWS::SES::MailManagerRelay Resource Type
Idaws.ses.mail_manager_relays

Fields

NameDatatypeDescription
authenticationundefined
relay_arnstring
relay_idstring
relay_namestring
server_namestring
server_portnumber
tagsarray
regionstringAWS region.

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

Methods

NameAccessible byRequired Params
create_resourceINSERTAuthentication, ServerName, ServerPort, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all mail_manager_relays in a region.

SELECT
region,
authentication,
relay_arn,
relay_id,
relay_name,
server_name,
server_port,
tags
FROM aws.ses.mail_manager_relays
WHERE region = 'us-east-1';

Gets all properties from an individual mail_manager_relay.

SELECT
region,
authentication,
relay_arn,
relay_id,
relay_name,
server_name,
server_port,
tags
FROM aws.ses.mail_manager_relays
WHERE region = 'us-east-1' AND data__Identifier = '<RelayId>';

INSERT example

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

/*+ create */
INSERT INTO aws.ses.mail_manager_relays (
Authentication,
ServerName,
ServerPort,
region
)
SELECT
'{{ Authentication }}',
'{{ ServerName }}',
'{{ ServerPort }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

ses:TagResource,
ses:ListTagsForResource,
ses:GetRelay,
ses:CreateRelay

Read

ses:ListTagsForResource,
ses:GetRelay

Update

ses:TagResource,
ses:UntagResource,
ses:ListTagsForResource,
ses:GetRelay,
ses:UpdateRelay

Delete

ses:GetRelay,
ses:DeleteRelay

List

ses:ListRelays