@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:43.780Z") @Stability(value=Stable) public interface CfnRecordSetGroupProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRecordSetGroupProps.Builder
A builder for
CfnRecordSetGroupProps |
static class |
CfnRecordSetGroupProps.Jsii$Proxy
An implementation for
CfnRecordSetGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnRecordSetGroupProps.Builder |
builder() |
default String |
getComment()
*Optional:* Any comments you want to include about a change batch request.
|
default String |
getHostedZoneId()
The ID of the hosted zone that you want to create records in.
|
default String |
getHostedZoneName()
The name of the hosted zone that you want to create records in.
|
default Object |
getRecordSets()
A complex type that contains one `RecordSet` element for each record that you want to create.
|
@Stability(value=Stable) @Nullable default String getComment()
@Stability(value=Stable) @Nullable default String getHostedZoneId()
Specify either HostedZoneName or HostedZoneId , but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone using HostedZoneId .
@Stability(value=Stable) @Nullable default String getHostedZoneName()
You must include a trailing dot (for example, www.example.com. ) as part of the HostedZoneName .
When you create a stack using an AWS::Route53::RecordSet that specifies HostedZoneName , AWS CloudFormation attempts to find a hosted zone whose name matches the HostedZoneName . 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 or HostedZoneId , but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone using HostedZoneId .
@Stability(value=Stable) @Nullable default Object getRecordSets()
@Stability(value=Stable) static CfnRecordSetGroupProps.Builder builder()
CfnRecordSetGroupProps.Builder of CfnRecordSetGroupPropsCopyright © 2022. All rights reserved.