@Stability(value=Stable) public static final class CfnRecordSetGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnRecordSetGroup>
CfnRecordSetGroup.| Modifier and Type | Method and Description |
|---|---|
CfnRecordSetGroup |
build() |
CfnRecordSetGroup.Builder |
comment(String comment)
*Optional:* Any comments you want to include about a change batch request.
|
static CfnRecordSetGroup.Builder |
create(software.constructs.Construct scope,
String id) |
CfnRecordSetGroup.Builder |
hostedZoneId(String hostedZoneId)
The ID of the hosted zone that you want to create records in.
|
CfnRecordSetGroup.Builder |
hostedZoneName(String hostedZoneName)
The name of the hosted zone that you want to create records in.
|
CfnRecordSetGroup.Builder |
recordSets(IResolvable recordSets)
A complex type that contains one `RecordSet` element for each record that you want to create.
|
CfnRecordSetGroup.Builder |
recordSets(List<? extends Object> recordSets)
A complex type that contains one `RecordSet` element for each record that you want to create.
|
@Stability(value=Stable) public static CfnRecordSetGroup.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnRecordSetGroup.AliasTargetProperty.Builder.@Stability(value=Stable) public CfnRecordSetGroup.Builder comment(String comment)
comment - *Optional:* Any comments you want to include about a change batch request. This parameter is required.this@Stability(value=Stable) public CfnRecordSetGroup.Builder hostedZoneId(String hostedZoneId)
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 .
hostedZoneId - The ID of the hosted zone that you want to create records in. This parameter is required.this@Stability(value=Stable) public CfnRecordSetGroup.Builder hostedZoneName(String hostedZoneName)
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 .
hostedZoneName - The name of the hosted zone that you want to create records in. This parameter is required.this@Stability(value=Stable) public CfnRecordSetGroup.Builder recordSets(IResolvable recordSets)
recordSets - A complex type that contains one `RecordSet` element for each record that you want to create. This parameter is required.this@Stability(value=Stable) public CfnRecordSetGroup.Builder recordSets(List<? extends Object> recordSets)
recordSets - A complex type that contains one `RecordSet` element for each record that you want to create. This parameter is required.this@Stability(value=Stable) public CfnRecordSetGroup build()
build in interface software.amazon.jsii.Builder<CfnRecordSetGroup>Copyright © 2022. All rights reserved.