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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRecordSetGroupProps
static final class
An implementation forCfnRecordSetGroupProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Optional: Any comments you want to include about a change batch request.default String
The ID of the hosted zone that you want to create records in.default String
The name of the hosted zone that you want to create records in.default Object
A complex type that contains oneRecordSet
element 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
HostedZoneName
orHostedZoneId
, 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::RecordSet
that 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
HostedZoneName
orHostedZoneId
, 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 oneRecordSet
element for each record that you want to create. -
builder
- Returns:
- a
CfnRecordSetGroupProps.Builder
ofCfnRecordSetGroupProps
-