Skip to content
v2.275.0

ConfigurationSetTlsPolicy Enum ​

TLS policy for a configuration set.

Example ​

ts
import { Duration } from 'aws-cdk-lib';

declare const myPool: ses.IDedicatedIpPool;

new ses.ConfigurationSet(this, 'ConfigurationSet', {
  tlsPolicy: ses.ConfigurationSetTlsPolicy.REQUIRE,
  dedicatedIpPool: myPool,
  // Specify maximum delivery time
  // This configuration can be useful in such cases as time-sensitive emails (like those containing a one-time-password),
  // transactional emails, and email that you want to ensure isn't delivered during non-business hours.
  maxDeliveryDuration: Duration.minutes(10),
});

Members ​

MemberDescription
REQUIREMessages are only delivered if a TLS connection can be established.
OPTIONALMessages can be delivered in plain text if a TLS connection can't be established.

Referenced by ​