ByoDkimOptions
- class aws_cdk.aws_ses.ByoDkimOptions(*, private_key, selector, public_key=None)
Bases:
object
Options for BYO DKIM.
- Parameters:
private_key (
SecretValue
) – The private key that’s used to generate a DKIM signature.selector (
str
) – A string that’s used to identify a public key in the DNS configuration for a domain.public_key (
Optional
[str
]) – The public key. If specified, a TXT record with the public key is created. Default: - the validation TXT record with the public key is not created
- ExampleMetadata:
infused
Example:
# my_hosted_zone: route53.IPublicHostedZone ses.EmailIdentity(self, "Identity", identity=ses.Identity.public_hosted_zone(my_hosted_zone), dkim_identity=ses.DkimIdentity.byo_dkim( private_key=SecretValue.secrets_manager("dkim-private-key"), public_key="...base64-encoded-public-key...", selector="selector" ) )
Attributes
- private_key
The private key that’s used to generate a DKIM signature.
- public_key
The public key.
If specified, a TXT record with the public key is created.
- Default:
the validation TXT record with the public key is not created
- selector
A string that’s used to identify a public key in the DNS configuration for a domain.