@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.959Z") @Stability(value=Stable) public class CfnHostedZone extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.route53.*;
CfnHostedZone cfnHostedZone = CfnHostedZone.Builder.create(this, "MyCfnHostedZone")
.hostedZoneConfig(HostedZoneConfigProperty.builder()
.comment("comment")
.build())
.hostedZoneTags(List.of(HostedZoneTagProperty.builder()
.key("key")
.value("value")
.build()))
.name("name")
.queryLoggingConfig(QueryLoggingConfigProperty.builder()
.cloudWatchLogsLogGroupArn("cloudWatchLogsLogGroupArn")
.build())
.vpcs(List.of(VPCProperty.builder()
.vpcId("vpcId")
.vpcRegion("vpcRegion")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnHostedZone.Builder
A fluent builder for
CfnHostedZone. |
static interface |
CfnHostedZone.HostedZoneConfigProperty
Example:
|
static interface |
CfnHostedZone.HostedZoneTagProperty
Example:
|
static interface |
CfnHostedZone.QueryLoggingConfigProperty
Example:
|
static interface |
CfnHostedZone.VPCProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnHostedZone(software.constructs.Construct scope,
String id)
Create a new `AWS::Route53::HostedZone`.
|
|
CfnHostedZone(software.constructs.Construct scope,
String id,
CfnHostedZoneProps props)
Create a new `AWS::Route53::HostedZone`.
|
protected |
CfnHostedZone(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnHostedZone(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrId() |
List<String> |
getAttrNameServers() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getHostedZoneConfig()
`AWS::Route53::HostedZone.HostedZoneConfig`.
|
String |
getName()
`AWS::Route53::HostedZone.Name`.
|
Object |
getQueryLoggingConfig()
`AWS::Route53::HostedZone.QueryLoggingConfig`.
|
TagManager |
getTags()
`AWS::Route53::HostedZone.HostedZoneTags`.
|
Object |
getVpcs()
`AWS::Route53::HostedZone.VPCs`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setHostedZoneConfig(CfnHostedZone.HostedZoneConfigProperty value)
`AWS::Route53::HostedZone.HostedZoneConfig`.
|
void |
setHostedZoneConfig(IResolvable value)
`AWS::Route53::HostedZone.HostedZoneConfig`.
|
void |
setName(String value)
`AWS::Route53::HostedZone.Name`.
|
void |
setQueryLoggingConfig(CfnHostedZone.QueryLoggingConfigProperty value)
`AWS::Route53::HostedZone.QueryLoggingConfig`.
|
void |
setQueryLoggingConfig(IResolvable value)
`AWS::Route53::HostedZone.QueryLoggingConfig`.
|
void |
setVpcs(IResolvable value)
`AWS::Route53::HostedZone.VPCs`.
|
void |
setVpcs(List<Object> value)
`AWS::Route53::HostedZone.VPCs`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnHostedZone(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnHostedZone(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnHostedZone(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnHostedZoneProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnHostedZone(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public Object getHostedZoneConfig()
@Stability(value=Stable)
public void setHostedZoneConfig(@Nullable
CfnHostedZone.HostedZoneConfigProperty value)
@Stability(value=Stable)
public void setHostedZoneConfig(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getQueryLoggingConfig()
@Stability(value=Stable)
public void setQueryLoggingConfig(@Nullable
CfnHostedZone.QueryLoggingConfigProperty value)
@Stability(value=Stable)
public void setQueryLoggingConfig(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getVpcs()
@Stability(value=Stable)
public void setVpcs(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.