public static final class PublicHostedZone.Builder
extends java.lang.Object
PublicHostedZone
.Modifier and Type | Method and Description |
---|---|
PublicHostedZone |
build() |
PublicHostedZone.Builder |
caaAmazon(java.lang.Boolean caaAmazon)
Whether to create a CAA record to restrict certificate authorities allowed to issue certificates for this domain to Amazon only.
|
PublicHostedZone.Builder |
comment(java.lang.String comment)
Any comments that you want to include about the hosted zone.
|
static PublicHostedZone.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
PublicHostedZone.Builder |
crossAccountZoneDelegationPrincipal(IPrincipal crossAccountZoneDelegationPrincipal)
A principal which is trusted to assume a role for zone delegation.
|
PublicHostedZone.Builder |
crossAccountZoneDelegationRoleName(java.lang.String crossAccountZoneDelegationRoleName)
The name of the role created for cross account delegation.
|
PublicHostedZone.Builder |
queryLogsLogGroupArn(java.lang.String queryLogsLogGroupArn)
The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to.
|
PublicHostedZone.Builder |
zoneName(java.lang.String zoneName)
The name of the domain.
|
public static PublicHostedZone.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.PublicHostedZone.Builder
.public PublicHostedZone.Builder zoneName(java.lang.String zoneName)
For resource record types that include a domain name, specify a fully qualified domain name.
zoneName
- The name of the domain. This parameter is required.this
public PublicHostedZone.Builder comment(java.lang.String comment)
Default: none
comment
- Any comments that you want to include about the hosted zone. This parameter is required.this
public PublicHostedZone.Builder queryLogsLogGroupArn(java.lang.String queryLogsLogGroupArn)
Default: disabled
queryLogsLogGroupArn
- The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to. This parameter is required.this
public PublicHostedZone.Builder caaAmazon(java.lang.Boolean caaAmazon)
Default: false
caaAmazon
- Whether to create a CAA record to restrict certificate authorities allowed to issue certificates for this domain to Amazon only. This parameter is required.this
public PublicHostedZone.Builder crossAccountZoneDelegationPrincipal(IPrincipal crossAccountZoneDelegationPrincipal)
Default: - No delegation configuration
crossAccountZoneDelegationPrincipal
- A principal which is trusted to assume a role for zone delegation. This parameter is required.this
public PublicHostedZone.Builder crossAccountZoneDelegationRoleName(java.lang.String crossAccountZoneDelegationRoleName)
Default: - A role name is generated automatically
crossAccountZoneDelegationRoleName
- The name of the role created for cross account delegation. This parameter is required.this
public PublicHostedZone build()