Class VerifySesDomain.Builder
- java.lang.Object
-
- de.sebastianhesse.cdk.ses.verify.constructs.VerifySesDomain.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VerifySesDomain>
- Enclosing class:
- VerifySesDomain
@Stability(Stable) public static final class VerifySesDomain.Builder extends Object implements software.amazon.jsii.Builder<VerifySesDomain>
A fluent builder forVerifySesDomain.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VerifySesDomain.BuilderaddDkimRecords(Boolean addDkimRecords)Whether to automatically add DKIM records to the hosted zone of your domain.VerifySesDomain.BuilderaddMxRecord(Boolean addMxRecord)Whether to automatically add a MX record to the hosted zone of your domain.VerifySesDomain.BuilderaddTxtRecord(Boolean addTxtRecord)Whether to automatically add a TXT record to the hosed zone of your domain.VerifySesDomainbuild()static VerifySesDomain.Buildercreate(software.constructs.Construct parent, String name)VerifySesDomain.BuilderdomainName(String domainName)A domain name to be used for the SES domain identity, e.g.VerifySesDomain.BuilderhostedZoneName(String hostedZoneName)A hostedZone name to be matched with Route 53 record.VerifySesDomain.BuildernotificationTopic(software.amazon.awscdk.services.sns.ITopic notificationTopic)An SNS topic where bounces, complaints or delivery notifications can be sent to.VerifySesDomain.BuildernotificationTypes(List<String> notificationTypes)Select for which notification types you want to configure a topic.
-
-
-
Method Detail
-
create
@Stability(Stable) public static VerifySesDomain.Builder create(software.constructs.Construct parent, String name)
- Parameters:
parent- This parameter is required.name- This parameter is required.- Returns:
- a new instance of
VerifySesDomain.Builder.
-
domainName
@Stability(Stable) public VerifySesDomain.Builder domainName(String domainName)
A domain name to be used for the SES domain identity, e.g. 'sub-domain.example.org'.- Parameters:
domainName- A domain name to be used for the SES domain identity, e.g. 'sub-domain.example.org'. This parameter is required.- Returns:
this
-
addDkimRecords
@Stability(Stable) public VerifySesDomain.Builder addDkimRecords(Boolean addDkimRecords)
Whether to automatically add DKIM records to the hosted zone of your domain.This only works if your domain is managed by Route53. Otherwise disable it.
Default: true
- Parameters:
addDkimRecords- Whether to automatically add DKIM records to the hosted zone of your domain. This parameter is required.- Returns:
this
-
addMxRecord
@Stability(Stable) public VerifySesDomain.Builder addMxRecord(Boolean addMxRecord)
Whether to automatically add a MX record to the hosted zone of your domain.This only works if your domain is managed by Route53. Otherwise disable it.
Default: true
- Parameters:
addMxRecord- Whether to automatically add a MX record to the hosted zone of your domain. This parameter is required.- Returns:
this
-
addTxtRecord
@Stability(Stable) public VerifySesDomain.Builder addTxtRecord(Boolean addTxtRecord)
Whether to automatically add a TXT record to the hosed zone of your domain.This only works if your domain is managed by Route53. Otherwise disable it.
Default: true
- Parameters:
addTxtRecord- Whether to automatically add a TXT record to the hosed zone of your domain. This parameter is required.- Returns:
this
-
hostedZoneName
@Stability(Stable) public VerifySesDomain.Builder hostedZoneName(String hostedZoneName)
A hostedZone name to be matched with Route 53 record.e.g. 'example.org'
Default: same as domainName
- Parameters:
hostedZoneName- A hostedZone name to be matched with Route 53 record. This parameter is required.- Returns:
this
-
notificationTopic
@Stability(Stable) public VerifySesDomain.Builder notificationTopic(software.amazon.awscdk.services.sns.ITopic notificationTopic)
An SNS topic where bounces, complaints or delivery notifications can be sent to.If none is provided, a new topic will be created and used for all different notification types.
Default: new topic will be created
- Parameters:
notificationTopic- An SNS topic where bounces, complaints or delivery notifications can be sent to. This parameter is required.- Returns:
this
-
notificationTypes
@Stability(Stable) public VerifySesDomain.Builder notificationTypes(List<String> notificationTypes)
Select for which notification types you want to configure a topic.Default: [Bounce, Complaint]
- Parameters:
notificationTypes- Select for which notification types you want to configure a topic. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public VerifySesDomain build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VerifySesDomain>
-
-