Show / Hide Table of Contents

Class CfnRecordSetGroup

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.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnRecordSetGroup
Implements
IInspectable
IRecordSetGroupRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRecordSetGroup : CfnResource, IInspectable, IRecordSetGroupRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnRecordSetGroup Inherits CfnResource Implements IInspectable, IRecordSetGroupRef, IConstruct, IDependable, IEnvironmentAware
Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

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 cfnRecordSetGroup = new CfnRecordSetGroup(this, "MyCfnRecordSetGroup", 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

CfnRecordSetGroup(Construct, string, ICfnRecordSetGroupProps?)

Create a new AWS::Route53::RecordSetGroup.

Properties

AttrId

This element contains an ID that you use when performing a GetChange action to get detailed information about the change.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

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.

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.

RecordSetGroupRef

A reference to a RecordSetGroup resource.

RecordSets

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

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnRecordSetGroup(object)

Checks whether the given object is a CfnRecordSetGroup.

RenderProperties(IDictionary<string, object>)

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.

Constructors

CfnRecordSetGroup(Construct, string, ICfnRecordSetGroupProps?)

Create a new AWS::Route53::RecordSetGroup.

public CfnRecordSetGroup(Construct scope, string id, ICfnRecordSetGroupProps? props = null)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnRecordSetGroupProps

Resource properties.

Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

ExampleMetadata: fixture=_generated

Properties

AttrId

This element contains an ID that you use when performing a GetChange action to get detailed information about the change.

public virtual string AttrId { get; }
Property Value

string

Remarks

CloudformationAttribute: Id

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

ExampleMetadata: fixture=_generated

CfnProperties

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.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

ExampleMetadata: fixture=_generated

Comment

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

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

string

Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

ExampleMetadata: fixture=_generated

HostedZoneId

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

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

string

Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

ExampleMetadata: fixture=_generated

HostedZoneName

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

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

string

Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

ExampleMetadata: fixture=_generated

RecordSetGroupRef

A reference to a RecordSetGroup resource.

public virtual IRecordSetGroupReference RecordSetGroupRef { get; }
Property Value

IRecordSetGroupReference

Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

ExampleMetadata: fixture=_generated

RecordSets

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

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

object

Remarks

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

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

ExampleMetadata: fixture=_generated

IsCfnRecordSetGroup(object)

Checks whether the given object is a CfnRecordSetGroup.

public static bool IsCfnRecordSetGroup(object x)
Parameters
x object
Returns

bool

Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

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.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

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

CloudformationResource: AWS::Route53::RecordSetGroup

ExampleMetadata: fixture=_generated

Implements

IInspectable
IRecordSetGroupRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX