@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:29.716Z") @Stability(value=Stable) 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 . |
software.amazon.jsii.JsiiObject.InitializationMode
IRecordSet.Jsii$Default, IRecordSet.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
|
SrvRecord(software.constructs.Construct scope,
String id,
SrvRecordProps props) |
protected |
SrvRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
SrvRecord(software.amazon.jsii.JsiiObjectRef objRef) |
getDomainName
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected SrvRecord(software.amazon.jsii.JsiiObjectRef objRef)
protected SrvRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public SrvRecord(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull SrvRecordProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.Copyright © 2023. All rights reserved.