Creating a custom policy
If you want to create a custom policy and attach it to an identity, you have the following options:
-
Using the Amazon SES API – Create a policy in a text editor and then attach the policy to the identity by using the
PutIdentityPolicy
API described in the Amazon Simple Email Service API Reference. -
Using the Amazon SES console – Create a policy in a text editor and attach it to an identity by pasting it into the custom policy editor in the Amazon SES console. The following procedure describes this method.
To create a custom policy by using the custom policy editor
Sign in to the AWS Management Console and open the Amazon SES console at https://console.aws.amazon.com/ses/
. -
In the navigation pane, under Configuration, choose Verified identities.
-
In the Identities container on the Verified identities screen, select the verified identity you wish to create an authorization policy for.
-
In the details screen of the verified identity you selected in the previous step, choose the Authorization tab.
-
In the Authorization policies pane, choose Create policy and select Create custom policy from the dropdown.
-
In the Policy document pane, type or paste the text of your policy in JSON format. You can also use the policy generator to quickly create the basic structure of a policy and then customize it here.
-
Choose Apply Policy. (If you ever need to modify your custom policy, just select its check box under the Authorization tab, choose Edit, and make your changes in the Policy document pane followed by Save changes).