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
| Member | Description |
|---|---|
REQUIRE | Messages are only delivered if a TLS connection can be established. |
OPTIONAL | Messages can be delivered in plain text if a TLS connection can't be established. |
Referenced by
ConfigurationSetProps.tlsPolicytls_policytlsPolicyTlsPolicyTlsPolicy