Class CfnRecordSetGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.route53.CfnRecordSetGroup
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:26.193Z")
@Stability(Stable)
public class CfnRecordSetGroup
extends CfnResource
implements IInspectable
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()) .geoProximityLocation(GeoProximityLocationProperty.builder() .awsRegion("awsRegion") .bias(123) .coordinates(CoordinatesProperty.builder() .latitude("latitude") .longitude("longitude") .build()) .localZoneGroup("localZoneGroup") .build()) .healthCheckId("healthCheckId") .hostedZoneId("hostedZoneId") .hostedZoneName("hostedZoneName") .multiValueAnswer(false) .region("region") .resourceRecords(List.of("resourceRecords")) .setIdentifier("setIdentifier") .ttl("ttl") .weight(123) .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Alias 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 class
A fluent builder forCfnRecordSetGroup
.static interface
The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.static interface
A complex type that lists the coordinates for a geoproximity resource record.static interface
A complex type that contains information about a geographic location.static interface
(Resource record sets only): A complex type that lets you specify where your resources are located.static interface
Information about one record that you want to create.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnRecordSetGroup
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnRecordSetGroup
(software.amazon.jsii.JsiiObjectRef objRef) CfnRecordSetGroup
(software.constructs.Construct scope, String id) CfnRecordSetGroup
(software.constructs.Construct scope, String id, CfnRecordSetGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionSpecifies a coordinate of the east–west position of a geographic point on the surface of the Earth.Optional: 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 oneRecordSet
element for each record that you want to create.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setComment
(String value) Optional: Any comments you want to include about a change batch request.void
setHostedZoneId
(String value) The ID of the hosted zone that you want to create records in.void
setHostedZoneName
(String value) The name of the hosted zone that you want to create records in.void
setRecordSets
(List<Object> value) A complex type that contains oneRecordSet
element for each record that you want to create.void
setRecordSets
(IResolvable value) A complex type that contains oneRecordSet
element for each record that you want to create.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnRecordSetGroup
protected CfnRecordSetGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRecordSetGroup
protected CfnRecordSetGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRecordSetGroup
@Stability(Stable) public CfnRecordSetGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnRecordSetGroupProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties.
-
CfnRecordSetGroup
@Stability(Stable) public CfnRecordSetGroup(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrId
Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getComment
Optional: Any comments you want to include about a change batch request. -
setComment
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. -
setHostedZoneId
The ID of the hosted zone that you want to create records in. -
getHostedZoneName
The name of the hosted zone that you want to create records in. -
setHostedZoneName
The name of the hosted zone that you want to create records in. -
getRecordSets
A complex type that contains oneRecordSet
element for each record that you want to create. -
setRecordSets
A complex type that contains oneRecordSet
element for each record that you want to create. -
setRecordSets
A complex type that contains oneRecordSet
element for each record that you want to create.
-