Class CfnRecordSetGroupProps
Properties for defining a CfnRecordSetGroup
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRecordSetGroupProps : Object, ICfnRecordSetGroupProps
Syntax (vb)
Public Class CfnRecordSetGroupProps
Inherits Object
Implements ICfnRecordSetGroupProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53;
var cfnRecordSetGroupProps = new CfnRecordSetGroupProps {
Comment = "comment",
HostedZoneId = "hostedZoneId",
HostedZoneName = "hostedZoneName",
RecordSets = new [] { new RecordSetProperty {
Name = "name",
Type = "type",
// the properties below are optional
AliasTarget = new AliasTargetProperty {
DnsName = "dnsName",
HostedZoneId = "hostedZoneId",
// the properties below are optional
EvaluateTargetHealth = false
},
CidrRoutingConfig = new CidrRoutingConfigProperty {
CollectionId = "collectionId",
LocationName = "locationName"
},
Failover = "failover",
GeoLocation = new GeoLocationProperty {
ContinentCode = "continentCode",
CountryCode = "countryCode",
SubdivisionCode = "subdivisionCode"
},
GeoProximityLocation = new GeoProximityLocationProperty {
AwsRegion = "awsRegion",
Bias = 123,
Coordinates = new CoordinatesProperty {
Latitude = "latitude",
Longitude = "longitude"
},
LocalZoneGroup = "localZoneGroup"
},
HealthCheckId = "healthCheckId",
HostedZoneId = "hostedZoneId",
HostedZoneName = "hostedZoneName",
MultiValueAnswer = false,
Region = "region",
ResourceRecords = new [] { "resourceRecords" },
SetIdentifier = "setIdentifier",
Ttl = "ttl",
Weight = 123
} }
};
Synopsis
Constructors
CfnRecordSetGroupProps() |
Properties
Comment | Optional: Any comments you want to include about a change batch request. |
HostedZoneId | The ID of the hosted zone that you want to create records in. |
HostedZoneName | The name of the hosted zone that you want to create records in. |
RecordSets | A complex type that contains one |
Constructors
CfnRecordSetGroupProps()
public CfnRecordSetGroupProps()
Properties
Comment
Optional: Any comments you want to include about a change batch request.
public string Comment { get; set; }
Property Value
System.String
Remarks
HostedZoneId
The ID of the hosted zone that you want to create records in.
public string HostedZoneId { get; set; }
Property Value
System.String
Remarks
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.
public string HostedZoneName { get; set; }
Property Value
System.String
Remarks
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
.
RecordSets
A complex type that contains one RecordSet
element for each record that you want to create.
public object RecordSets { get; set; }
Property Value
System.Object