Show / Hide Table of Contents

Interface ICfnRecordSetGroupProps

Properties for defining a CfnRecordSetGroup.

Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnRecordSetGroupProps
Syntax (vb)
Public Interface 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

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.

Properties

Comment

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

string? Comment { get; }
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.

string? HostedZoneId { get; }
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.

string? HostedZoneName { get; }
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.

object? RecordSets { get; }
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)[]

Back to top Generated by DocFX