Show / Hide Table of Contents

Class ByoDkimOptions

Options for BYO DKIM.

Inheritance
object
ByoDkimOptions
Implements
IByoDkimOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

SecretValue

Remarks

ExampleMetadata: infused

PublicKey

The public key.

public string? PublicKey { get; set; }
Property Value

string

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

string

Remarks

ExampleMetadata: infused

Implements

IByoDkimOptions
Back to top Generated by DocFX