Class ZoneDelegationRecord
A record to delegate further lookups to a different set of name servers.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ZoneDelegationRecord : RecordSet, IRecordSet, IResource, IRecordSetRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class ZoneDelegationRecord Inherits RecordSet Implements IRecordSet, IResource, IRecordSetRef, 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;
var zoneDelegationRecord = new ZoneDelegationRecord(this, "MyZoneDelegationRecord", new ZoneDelegationRecordProps {
NameServers = new [] { "nameServers" },
Zone = hostedZone,
// the properties below are optional
CidrRoutingConfig = cidrRoutingConfig,
Comment = "comment",
DeleteExisting = false,
Failover = Failover.PRIMARY,
GeoLocation = geoLocation,
HealthCheck = healthCheck,
MultiValueAnswer = false,
RecordName = "recordName",
Region = "region",
SetIdentifier = "setIdentifier",
Ttl = Duration.Minutes(30),
Weight = 123
});
Synopsis
Constructors
| ZoneDelegationRecord(Construct, string, IZoneDelegationRecordProps) | A record to delegate further lookups to a different set of name servers. |
Properties
| PROPERTY_INJECTION_ID | Uniquely identifies this class. |
Constructors
ZoneDelegationRecord(Construct, string, IZoneDelegationRecordProps)
A record to delegate further lookups to a different set of name servers.
public ZoneDelegationRecord(Construct scope, string id, IZoneDelegationRecordProps props)
Parameters
- scope Construct
- id string
- props IZoneDelegationRecordProps
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;
var zoneDelegationRecord = new ZoneDelegationRecord(this, "MyZoneDelegationRecord", new ZoneDelegationRecordProps {
NameServers = new [] { "nameServers" },
Zone = hostedZone,
// the properties below are optional
CidrRoutingConfig = cidrRoutingConfig,
Comment = "comment",
DeleteExisting = false,
Failover = Failover.PRIMARY,
GeoLocation = geoLocation,
HealthCheck = healthCheck,
MultiValueAnswer = false,
RecordName = "recordName",
Region = "region",
SetIdentifier = "setIdentifier",
Ttl = Duration.Minutes(30),
Weight = 123
});
Properties
PROPERTY_INJECTION_ID
Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
Implements
Constructs.IConstruct
Constructs.IDependable