Class CfnRecordSetGroup
- All Implemented Interfaces:
- IConstruct,- IDependable,- IInspectable,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
AWS::Route53::RecordSetGroup.
 A complex type that contains an optional comment, the name and ID of the hosted zone that you want to make changes in, and values for the records that you want to create.
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())
                 .cidrRoutingConfig(CidrRoutingConfigProperty.builder()
                         .collectionId("collectionId")
                         .locationName("locationName")
                         .build())
                 .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();
 - 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceAlias records only: Information about the AWS resource, such as a CloudFront distribution or an Amazon S3 bucket, that you want to route traffic to.static final classA fluent builder forCfnRecordSetGroup.static interfaceThe object that is specified in resource record set object when you are linking a resource record set to a CIDR location.static interfaceA complex type that contains information about a geographic location.static interfaceInformation about one record that you want to create.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionCfnRecordSetGroup(Construct scope, String id) Create a newAWS::Route53::RecordSetGroup.CfnRecordSetGroup(Construct scope, String id, CfnRecordSetGroupProps props) Create a newAWS::Route53::RecordSetGroup.protectedCfnRecordSetGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRecordSetGroup(software.amazon.jsii.JsiiObjectRef objRef) 
- 
Method SummaryModifier and TypeMethodDescriptionOptional: Any comments you want to include about a change batch request.The ID of the hosted zone that you want to create records in.The name of the hosted zone that you want to create records in.A complex type that contains oneRecordSetelement for each record that you want to create.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetComment(String value) Optional: Any comments you want to include about a change batch request.voidsetHostedZoneId(String value) The ID of the hosted zone that you want to create records in.voidsetHostedZoneName(String value) The name of the hosted zone that you want to create records in.voidsetRecordSets(List<Object> value) A complex type that contains oneRecordSetelement for each record that you want to create.voidsetRecordSets(IResolvable value) A complex type that contains oneRecordSetelement for each record that you want to create.Methods inherited from class software.amazon.awscdk.core.CfnResourceaddDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnRecordSetGroupprotected CfnRecordSetGroup(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnRecordSetGroupprotected CfnRecordSetGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnRecordSetGroup@Stability(Stable) public CfnRecordSetGroup(@NotNull Construct scope, @NotNull String id, @Nullable CfnRecordSetGroupProps props) Create a newAWS::Route53::RecordSetGroup.- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
- props-- resource properties.
 
 
- 
CfnRecordSetGroupCreate a newAWS::Route53::RecordSetGroup.- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
 
 
- 
- 
Method Details- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- Parameters:
- inspector-- tree inspector to collect and process attributes.
 
 
- 
renderProperties@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
- renderPropertiesin class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getCommentOptional: Any comments you want to include about a change batch request.
- 
setCommentOptional: Any comments you want to include about a change batch request.
- 
getHostedZoneIdThe ID of the hosted zone that you want to create records in.Specify either HostedZoneNameorHostedZoneId, but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone usingHostedZoneId.
- 
setHostedZoneIdThe ID of the hosted zone that you want to create records in.Specify either HostedZoneNameorHostedZoneId, but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone usingHostedZoneId.
- 
getHostedZoneNameThe name of the hosted zone that you want to create records in.You must include a trailing dot (for example, www.example.com.) as part of theHostedZoneName.When you create a stack using an AWS::Route53::RecordSetthat specifiesHostedZoneName, AWS CloudFormation attempts to find a hosted zone whose name matches theHostedZoneName. If AWS CloudFormation can't find a hosted zone with a matching domain name, or if there is more than one hosted zone with the specified domain name, AWS CloudFormation will not create the stack.Specify either HostedZoneNameorHostedZoneId, but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone usingHostedZoneId.
- 
setHostedZoneNameThe name of the hosted zone that you want to create records in.You must include a trailing dot (for example, www.example.com.) as part of theHostedZoneName.When you create a stack using an AWS::Route53::RecordSetthat specifiesHostedZoneName, AWS CloudFormation attempts to find a hosted zone whose name matches theHostedZoneName. If AWS CloudFormation can't find a hosted zone with a matching domain name, or if there is more than one hosted zone with the specified domain name, AWS CloudFormation will not create the stack.Specify either HostedZoneNameorHostedZoneId, but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone usingHostedZoneId.
- 
getRecordSetsA complex type that contains oneRecordSetelement for each record that you want to create.
- 
setRecordSetsA complex type that contains oneRecordSetelement for each record that you want to create.
- 
setRecordSetsA complex type that contains oneRecordSetelement for each record that you want to create.
 
-