ConfigurationSetTlsPolicy
- class aws_cdk.aws_ses.ConfigurationSetTlsPolicy(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
TLS policy for a configuration set.
- ExampleMetadata:
infused
Example:
from aws_cdk import Duration # my_pool: ses.IDedicatedIpPool ses.ConfigurationSet(self, "ConfigurationSet", custom_tracking_redirect_domain="track.cdk.dev", tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE, dedicated_ip_pool=my_pool, # 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. max_delivery_duration=Duration.minutes(10) )
Attributes
- OPTIONAL
Messages can be delivered in plain text if a TLS connection can’t be established.
- REQUIRE
Messages are only delivered if a TLS connection can be established.