Interface IRecordSetProps
Construction properties for a RecordSet.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRecordSetProps : IRecordSetOptions
Syntax (vb)
Public Interface IRecordSetProps
Inherits IRecordSetOptions
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;
GeoLocation geoLocation;
HealthCheck healthCheck;
HostedZone hostedZone;
RecordTarget recordTarget;
var recordSetProps = new RecordSetProps {
RecordType = RecordType.A,
Target = recordTarget,
Zone = hostedZone,
// the properties below are optional
Comment = "comment",
DeleteExisting = false,
GeoLocation = geoLocation,
HealthCheck = healthCheck,
MultiValueAnswer = false,
RecordName = "recordName",
Region = "region",
SetIdentifier = "setIdentifier",
Ttl = Duration.Minutes(30),
Weight = 123
};
Synopsis
Properties
Record |
The record type. |
Target | The target for this record, either |
Properties
RecordType
Target
The target for this record, either RecordTarget.fromValues()
or RecordTarget.fromAlias()
.
RecordTarget Target { get; }
Property Value