Interface ByoDkimOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ByoDkimOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-26T00:07:46.674Z")
@Stability(Stable)
public interface ByoDkimOptions
extends software.amazon.jsii.JsiiSerializable
Options for BYO DKIM.
Example:
IPublicHostedZone myHostedZone; EmailIdentity.Builder.create(this, "Identity") .identity(Identity.publicHostedZone(myHostedZone)) .dkimIdentity(DkimIdentity.byoDkim(ByoDkimOptions.builder() .privateKey(SecretValue.secretsManager("dkim-private-key")) .publicKey("...base64-encoded-public-key...") .selector("selector") .build())) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forByoDkimOptions
static final class
An implementation forByoDkimOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic ByoDkimOptions.Builder
builder()
The private key that's used to generate a DKIM signature.default String
The public key.A string that's used to identify a public key in the DNS configuration for a domain.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPrivateKey
The private key that's used to generate a DKIM signature. -
getSelector
A string that's used to identify a public key in the DNS configuration for a domain. -
getPublicKey
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
-
builder
- Returns:
- a
ByoDkimOptions.Builder
ofByoDkimOptions
-