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.
Inherited Members
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
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 |
Properties
| AttrId | This element contains an ID that you use when performing a |
| 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 |
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
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
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
Remarks
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
Overrides
Remarks
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
Remarks
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
Remarks
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
Remarks
CloudformationResource: AWS::Route53::RecordSetGroup
ExampleMetadata: fixture=_generated
RecordSetGroupRef
A reference to a RecordSetGroup resource.
public virtual IRecordSetGroupReference RecordSetGroupRef { get; }
Property Value
Remarks
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
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
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
Remarks
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
Overrides
Remarks
CloudformationResource: AWS::Route53::RecordSetGroup
ExampleMetadata: fixture=_generated