@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.203Z") @Stability(value=Stable) public abstract class Identity extends software.amazon.jsii.JsiiObject
Example:
// Example automatically generated from non-compiling source. May contain errors.
IPublicHostedZone myHostedZone;
EmailIdentity identity = EmailIdentity.Builder.create(stack, "Identity")
.identity(Identity.publicHostedZone(myHostedZone))
.mailFromDomain("mail.cdk.dev")
.build();
| Modifier | Constructor and Description |
|---|---|
protected |
Identity() |
protected |
Identity(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Identity(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static Identity |
domain(String domain)
Verify a domain name.
|
static Identity |
email(String email)
Verify an email address.
|
abstract IPublicHostedZone |
getHostedZone()
The hosted zone associated with this identity.
|
abstract String |
getValue()
The value of the identity.
|
static Identity |
publicHostedZone(IPublicHostedZone hostedZone)
Verify a public hosted zone.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Identity(software.amazon.jsii.JsiiObjectRef objRef)
protected Identity(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) protected Identity()
@Stability(value=Stable) @NotNull public static Identity domain(@NotNull String domain)
DKIM records will have to be added manually to complete the verification process
domain - This parameter is required.@Stability(value=Stable) @NotNull public static Identity email(@NotNull String email)
To complete the verification process look for an email from no-reply-aws@amazon.com, open it and click the link.
email - This parameter is required.@Stability(value=Stable) @NotNull public static Identity publicHostedZone(@NotNull IPublicHostedZone hostedZone)
DKIM and MAIL FROM records will be added automatically to the hosted zone
hostedZone - This parameter is required.@Stability(value=Stable) @NotNull public abstract String getValue()
@Stability(value=Stable) @Nullable public abstract IPublicHostedZone getHostedZone()
Default: - no hosted zone is associated and no records are created
Copyright © 2022. All rights reserved.