Show / Hide Table of Contents

Class RecordSet

A record set.

Inheritance
object
Resource
RecordSet
ARecord
AaaaRecord
CaaRecord
CnameRecord
DsRecord
HttpsRecord
MxRecord
NsRecord
SrvRecord
SvcbRecord
TxtRecord
ZoneDelegationRecord
Implements
IRecordSet
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RecordSet : Resource, IRecordSet, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class RecordSet Inherits Resource Implements IRecordSet, IResource, IConstruct, IDependable, IEnvironmentAware
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;
            using Amazon.CDK.AWS.Route53;

            CidrRoutingConfig cidrRoutingConfig;
            GeoLocation geoLocation;
            HealthCheck healthCheck;
            HostedZone hostedZone;
            RecordTarget recordTarget;

            var recordSet = new RecordSet(this, "MyRecordSet", new RecordSetProps {
                RecordType = RecordType.A,
                Target = recordTarget,
                Zone = hostedZone,

                // the properties below are optional
                CidrRoutingConfig = cidrRoutingConfig,
                Comment = "comment",
                DeleteExisting = false,
                GeoLocation = geoLocation,
                HealthCheck = healthCheck,
                MultiValueAnswer = false,
                RecordName = "recordName",
                Region = "region",
                SetIdentifier = "setIdentifier",
                Ttl = Duration.Minutes(30),
                Weight = 123
            });

Synopsis

Constructors

RecordSet(Construct, string, IRecordSetProps)

A record set.

Properties

DomainName

The domain name of the record.

PROPERTY_INJECTION_ID

Uniquely identifies this class.

Constructors

RecordSet(Construct, string, IRecordSetProps)

A record set.

public RecordSet(Construct scope, string id, IRecordSetProps props)
Parameters
scope Construct
id string
props IRecordSetProps
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;
            using Amazon.CDK.AWS.Route53;

            CidrRoutingConfig cidrRoutingConfig;
            GeoLocation geoLocation;
            HealthCheck healthCheck;
            HostedZone hostedZone;
            RecordTarget recordTarget;

            var recordSet = new RecordSet(this, "MyRecordSet", new RecordSetProps {
                RecordType = RecordType.A,
                Target = recordTarget,
                Zone = hostedZone,

                // the properties below are optional
                CidrRoutingConfig = cidrRoutingConfig,
                Comment = "comment",
                DeleteExisting = false,
                GeoLocation = geoLocation,
                HealthCheck = healthCheck,
                MultiValueAnswer = false,
                RecordName = "recordName",
                Region = "region",
                SetIdentifier = "setIdentifier",
                Ttl = Duration.Minutes(30),
                Weight = 123
            });

Properties

DomainName

The domain name of the record.

public virtual string DomainName { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Implements

IRecordSet
IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX