@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.962Z") @Stability(value=Stable) public class CfnRecordSetGroup 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.*;
CfnRecordSetGroup cfnRecordSetGroup = CfnRecordSetGroup.Builder.create(this, "MyCfnRecordSetGroup")
.comment("comment")
.hostedZoneId("hostedZoneId")
.hostedZoneName("hostedZoneName")
.recordSets(List.of(RecordSetProperty.builder()
.name("name")
.type("type")
// the properties below are optional
.aliasTarget(AliasTargetProperty.builder()
.dnsName("dnsName")
.hostedZoneId("hostedZoneId")
// the properties below are optional
.evaluateTargetHealth(false)
.build())
.comment("comment")
.failover("failover")
.geoLocation(GeoLocationProperty.builder()
.continentCode("continentCode")
.countryCode("countryCode")
.subdivisionCode("subdivisionCode")
.build())
.healthCheckId("healthCheckId")
.hostedZoneId("hostedZoneId")
.hostedZoneName("hostedZoneName")
.multiValueAnswer(false)
.region("region")
.resourceRecords(List.of("resourceRecords"))
.setIdentifier("setIdentifier")
.ttl("ttl")
.weight(123)
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnRecordSetGroup.AliasTargetProperty
Example:
|
static class |
CfnRecordSetGroup.Builder
A fluent builder for
CfnRecordSetGroup. |
static interface |
CfnRecordSetGroup.GeoLocationProperty
Example:
|
static interface |
CfnRecordSetGroup.RecordSetProperty
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 |
|---|---|
|
CfnRecordSetGroup(software.constructs.Construct scope,
String id)
Create a new `AWS::Route53::RecordSetGroup`.
|
|
CfnRecordSetGroup(software.constructs.Construct scope,
String id,
CfnRecordSetGroupProps props)
Create a new `AWS::Route53::RecordSetGroup`.
|
protected |
CfnRecordSetGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRecordSetGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
String |
getComment()
`AWS::Route53::RecordSetGroup.Comment`.
|
String |
getHostedZoneId()
`AWS::Route53::RecordSetGroup.HostedZoneId`.
|
String |
getHostedZoneName()
`AWS::Route53::RecordSetGroup.HostedZoneName`.
|
Object |
getRecordSets()
`AWS::Route53::RecordSetGroup.RecordSets`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setComment(String value)
`AWS::Route53::RecordSetGroup.Comment`.
|
void |
setHostedZoneId(String value)
`AWS::Route53::RecordSetGroup.HostedZoneId`.
|
void |
setHostedZoneName(String value)
`AWS::Route53::RecordSetGroup.HostedZoneName`.
|
void |
setRecordSets(IResolvable value)
`AWS::Route53::RecordSetGroup.RecordSets`.
|
void |
setRecordSets(List<Object> value)
`AWS::Route53::RecordSetGroup.RecordSets`.
|
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 CfnRecordSetGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRecordSetGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnRecordSetGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnRecordSetGroupProps 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 CfnRecordSetGroup(@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 protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getComment()
@Stability(value=Stable)
public void setComment(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getHostedZoneId()
@Stability(value=Stable)
public void setHostedZoneId(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getHostedZoneName()
@Stability(value=Stable)
public void setHostedZoneName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getRecordSets()
@Stability(value=Stable)
public void setRecordSets(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.