Class DkimIdentity
The identity to use for DKIM.
Inheritance
System.Object
DkimIdentity
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class DkimIdentity : DeputyBase
Syntax (vb)
Public MustInherit Class DkimIdentity
Inherits DeputyBase
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
DkimIdentity() | |
DkimIdentity(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
DkimIdentity(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(EmailIdentity, IPublicHostedZone) | Binds this DKIM identity to the email identity. |
ByoDkim(IByoDkimOptions) | Bring Your Own DKIM. |
EasyDkim(Nullable<EasyDkimSigningKeyLength>) | Easy DKIM. |
Constructors
DkimIdentity()
protected DkimIdentity()
DkimIdentity(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected DkimIdentity(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
DkimIdentity(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected DkimIdentity(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(EmailIdentity, IPublicHostedZone)
Binds this DKIM identity to the email identity.
public abstract IDkimIdentityConfig Bind(EmailIdentity emailIdentity, IPublicHostedZone hostedZone = null)
Parameters
- emailIdentity EmailIdentity
- hostedZone IPublicHostedZone
Returns
ByoDkim(IByoDkimOptions)
Bring Your Own DKIM.
public static DkimIdentity ByoDkim(IByoDkimOptions options)
Parameters
- options IByoDkimOptions
Options for BYO DKIM.
Returns
Remarks
EasyDkim(Nullable<EasyDkimSigningKeyLength>)
Easy DKIM.
public static DkimIdentity EasyDkim(Nullable<EasyDkimSigningKeyLength> signingKeyLength = null)
Parameters
- signingKeyLength System.Nullable<EasyDkimSigningKeyLength>
The length of the signing key.
Returns