Show / Hide Table of Contents

Interface IRecordSetProps

Construction properties for a RecordSet.

Inherited Members
IRecordSetOptions.Zone
IRecordSetOptions.CidrRoutingConfig
IRecordSetOptions.Comment
IRecordSetOptions.DeleteExisting
IRecordSetOptions.GeoLocation
IRecordSetOptions.HealthCheck
IRecordSetOptions.MultiValueAnswer
IRecordSetOptions.RecordName
IRecordSetOptions.Region
IRecordSetOptions.SetIdentifier
IRecordSetOptions.Ttl
IRecordSetOptions.Weight
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;

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

            var recordSetProps = 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

Properties

RecordType

The record type.

Target

The target for this record, either RecordTarget.fromValues() or RecordTarget.fromAlias().

Properties

RecordType

The record type.

RecordType RecordType { get; }
Property Value

RecordType

Remarks

ExampleMetadata: fixture=_generated

Target

The target for this record, either RecordTarget.fromValues() or RecordTarget.fromAlias().

RecordTarget Target { get; }
Property Value

RecordTarget

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX