Interface CfnRecordSetGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRecordSetGroupProps.Jsii$Proxy
CfnRecordSetGroup.
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.*;
CfnRecordSetGroupProps cfnRecordSetGroupProps = CfnRecordSetGroupProps.builder()
.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 Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRecordSetGroupPropsstatic final classAn implementation forCfnRecordSetGroupProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringOptional: Any comments you want to include about a change batch request.default StringThe ID of the hosted zone that you want to create records in.default StringThe name of the hosted zone that you want to create records in.default ObjectA complex type that contains oneRecordSetelement for each record that you want to create.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComment
Optional: Any comments you want to include about a change batch request. -
getHostedZoneId
The 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. -
getHostedZoneName
The 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. -
getRecordSets
A complex type that contains oneRecordSetelement for each record that you want to create. -
builder
- Returns:
- a
CfnRecordSetGroupProps.BuilderofCfnRecordSetGroupProps
-