Class SrvRecord
A DNS SRV record.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SrvRecord : RecordSet, IRecordSet, IResource
Syntax (vb)
Public Class SrvRecord
Inherits RecordSet
Implements IRecordSet, IResource
Remarks
Resource: AWS::Route53::RecordSet
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;
HostedZone hostedZone;
var srvRecord = new SrvRecord(this, "MySrvRecord", new SrvRecordProps {
Values = new [] { new SrvRecordValue {
HostName = "hostName",
Port = 123,
Priority = 123,
Weight = 123
} },
Zone = hostedZone,
// the properties below are optional
Comment = "comment",
DeleteExisting = false,
GeoLocation = geoLocation,
MultiValueAnswer = false,
RecordName = "recordName",
Region = "region",
SetIdentifier = "setIdentifier",
Ttl = Duration.Minutes(30),
Weight = 123
});
Synopsis
Constructors
SrvRecord(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SrvRecord(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
SrvRecord(Construct, String, ISrvRecordProps) |
Constructors
SrvRecord(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SrvRecord(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SrvRecord(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SrvRecord(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
SrvRecord(Construct, String, ISrvRecordProps)
public SrvRecord(Construct scope, string id, ISrvRecordProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props ISrvRecordProps
Implements
Constructs.IConstruct
Constructs.IDependable