Show / Hide Table of Contents

Class CfnRecordSetGroupProps

Properties for defining a CfnRecordSetGroup.

Inheritance
object
CfnRecordSetGroupProps
Implements
ICfnRecordSetGroupProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRecordSetGroupProps : ICfnRecordSetGroupProps
Syntax (vb)
Public Class CfnRecordSetGroupProps Implements ICfnRecordSetGroupProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordsetgroup.html

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 for defining a CfnRecordSetGroup.

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 RecordSet element for each record that you want to create.

Constructors

CfnRecordSetGroupProps()

Properties for defining a CfnRecordSetGroup.

public CfnRecordSetGroupProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordsetgroup.html

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
                 } }
             };

Properties

Comment

Optional: Any comments you want to include about a change batch request.

public string? Comment { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordsetgroup.html#cfn-route53-recordsetgroup-comment

HostedZoneId

The ID of the hosted zone that you want to create records in.

public string? HostedZoneId { get; set; }
Property Value

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordsetgroup.html#cfn-route53-recordsetgroup-hostedzoneid

HostedZoneName

The name of the hosted zone that you want to create records in.

public string? HostedZoneName { get; set; }
Property Value

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordsetgroup.html#cfn-route53-recordsetgroup-hostedzonename

RecordSets

A complex type that contains one RecordSet element for each record that you want to create.

public object? RecordSets { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordsetgroup.html#cfn-route53-recordsetgroup-recordsets

Type union: either IResolvable or (either IResolvable or CfnRecordSetGroup.IRecordSetProperty)[]

Implements

ICfnRecordSetGroupProps
Back to top Generated by DocFX