Amazon SES policy

An Amazon SES policy contains the connection details that are used by an Amazon SES Request node when it connects to an Amazon SES application.

You can use an Amazon SES Request node in a message flow to connect IBM® App Connect Enterprise to Amazon SES applications and issue requests to create, retrieve, send, and delete objects such as contacts and emails. The Amazon SES policy controls, at run time, the access to the Amazon SES application.

The Amazon SES policy is created when you configure a connection between an Amazon SES Request node and Amazon SES by using the Connector Discovery wizard. During the process of discovery, account credentials are stored in the vault and connection details are stored in an Amazon SES policy. The policy is created with a type of Amazon SES, and the name of the policy is returned to the Amazon SES Request node and specified in the Connection tab of the node, in the format {policyProjectName}:policyName.

You can also create, update, or delete an Amazon SES policy by using the Manage Discovery Connector Policies and Credentials wizard, which you can access by right-clicking the policy project in the IBM App Connect Enterprise Toolkit and then clicking New > Discovery Connector policies and credentials.

You must deploy this policy before message flows that use the policy are started. If you redeploy an Amazon SES policy, all message flows that are using the policy are stopped and restarted.

For more information about using Amazon SES policies, see Using Amazon SES with IBM App Connect Enterprise.

Table 1. Properties of the Amazon SES policy.
Property Property name in .policyxml file Description of properties
Amazon SES Application Type applicationType This property is reserved for future use and must be set to the value online.
Amazon SES Application Version applicationVersion This property is reserved for future use and must be set to the value v1.
Amazon SES Authentication method authenticationMethod This property is reserved for future use and must be set to the value BASIC_API_KEY.
Region region This property specifies the region of the Amazon SES instance (if any) that you specified in the Region property during connector discovery.
Credential Name credentialName This property specifies the name of the credential that is used for the connection to Amazon SES.

The specified credential can be defined during connector discovery and stored in the vault. Alternatively, you can specify an existing credential that was configured by using the mqsicredentials command or the server.conf.yaml file, or loaded through an external credential provider.