@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:46.056Z") public class SrvRecord extends RecordSet
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.route53.*; import software.amazon.awscdk.core.*; HostedZone hostedZone; SrvRecord srvRecord = SrvRecord.Builder.create(this, "MySrvRecord") .values(List.of(SrvRecordValue.builder() .hostName("hostName") .port(123) .priority(123) .weight(123) .build())) .zone(hostedZone) // the properties below are optional .comment("comment") .recordName("recordName") .ttl(Duration.minutes(30)) .build();
Modifier and Type | Class and Description |
---|---|
static class |
SrvRecord.Builder
A fluent builder for
SrvRecord . |
IRecordSet.Jsii$Default, IRecordSet.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
SrvRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
SrvRecord(software.amazon.jsii.JsiiObjectRef objRef) |
|
SrvRecord(software.constructs.Construct scope,
java.lang.String id,
SrvRecordProps props) |
getDomainName
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected SrvRecord(software.amazon.jsii.JsiiObjectRef objRef)
protected SrvRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public SrvRecord(software.constructs.Construct scope, java.lang.String id, SrvRecordProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.