Class ByoDkimOptions
Options for BYO DKIM.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ByoDkimOptions : IByoDkimOptions
Syntax (vb)
Public Class ByoDkimOptions Implements IByoDkimOptions
Remarks
ExampleMetadata: infused
Examples
IPublicHostedZone myHostedZone;
new EmailIdentity(this, "Identity", new EmailIdentityProps {
Identity = Identity.PublicHostedZone(myHostedZone),
DkimIdentity = DkimIdentity.ByoDkim(new ByoDkimOptions {
PrivateKey = SecretValue.SecretsManager("dkim-private-key"),
PublicKey = "...base64-encoded-public-key...",
Selector = "selector"
})
});
Synopsis
Constructors
ByoDkimOptions() | Options for BYO DKIM. |
Properties
PrivateKey | The private key that's used to generate a DKIM signature. |
PublicKey | The public key. |
Selector | A string that's used to identify a public key in the DNS configuration for a domain. |
Constructors
ByoDkimOptions()
Options for BYO DKIM.
public ByoDkimOptions()
Remarks
ExampleMetadata: infused
Examples
IPublicHostedZone myHostedZone;
new EmailIdentity(this, "Identity", new EmailIdentityProps {
Identity = Identity.PublicHostedZone(myHostedZone),
DkimIdentity = DkimIdentity.ByoDkim(new ByoDkimOptions {
PrivateKey = SecretValue.SecretsManager("dkim-private-key"),
PublicKey = "...base64-encoded-public-key...",
Selector = "selector"
})
});
Properties
PrivateKey
The private key that's used to generate a DKIM signature.
public SecretValue PrivateKey { get; set; }
Property Value
Remarks
ExampleMetadata: infused
PublicKey
The public key.
public string? PublicKey { get; set; }
Property Value
Remarks
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.
public string Selector { get; set; }
Property Value
Remarks
ExampleMetadata: infused