@Stability(value=Stable) @Internal public static final class CloudMapOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudMapOptions
CloudMapOptions
software.amazon.jsii.JsiiObject.InitializationMode
CloudMapOptions.Builder, CloudMapOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(INamespace cloudMapNamespace,
DnsRecordType dnsRecordType,
Duration dnsTtl,
Number failureThreshold,
String name)
Constructor that initializes the object based on literal property values passed by the
CloudMapOptions.Builder . |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
INamespace |
getCloudMapNamespace()
The service discovery namespace for the Cloud Map service to attach to the ECS service.
|
DnsRecordType |
getDnsRecordType()
The DNS record type that you want AWS Cloud Map to create.
|
Duration |
getDnsTtl()
The amount of time that you want DNS resolvers to cache the settings for this record.
|
Number |
getFailureThreshold()
The number of 30-second intervals that you want Cloud Map to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance.
|
String |
getName()
The name of the Cloud Map service to attach to the ECS service.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(INamespace cloudMapNamespace, DnsRecordType dnsRecordType, Duration dnsTtl, Number failureThreshold, String name)
CloudMapOptions.Builder
.public final INamespace getCloudMapNamespace()
CloudMapOptions
Default: - the defaultCloudMapNamespace associated to the cluster
getCloudMapNamespace
in interface CloudMapOptions
public final DnsRecordType getDnsRecordType()
CloudMapOptions
The supported record types are A or SRV.
Default: - DnsRecordType.A if TaskDefinition.networkMode = AWS_VPC, otherwise DnsRecordType.SRV
getDnsRecordType
in interface CloudMapOptions
public final Duration getDnsTtl()
CloudMapOptions
Default: 60
getDnsTtl
in interface CloudMapOptions
public final Number getFailureThreshold()
CloudMapOptions
NOTE: This is used for HealthCheckCustomConfig
getFailureThreshold
in interface CloudMapOptions
public final String getName()
CloudMapOptions
Default: CloudFormation-generated name
getName
in interface CloudMapOptions
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2020. All rights reserved.