@Stability(value=Experimental) @Internal public static final class CloudMapOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudMapOptions
CloudMapOptionssoftware.amazon.jsii.JsiiObject.InitializationModeCloudMapOptions.Builder, CloudMapOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(INamespace cloudMapNamespace,
ContainerDefinition container,
Number containerPort,
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()
(experimental) The service discovery namespace for the Cloud Map service to attach to the ECS service.
|
ContainerDefinition |
getContainer()
(experimental) The container to point to for a SRV record.
|
Number |
getContainerPort()
(experimental) The port to point to for a SRV record.
|
DnsRecordType |
getDnsRecordType()
(experimental) The DNS record type that you want AWS Cloud Map to create.
|
Duration |
getDnsTtl()
(experimental) The amount of time that you want DNS resolvers to cache the settings for this record.
|
Number |
getFailureThreshold()
(experimental) 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()
(experimental) 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, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(INamespace cloudMapNamespace, ContainerDefinition container, Number containerPort, DnsRecordType dnsRecordType, Duration dnsTtl, Number failureThreshold, String name)
CloudMapOptions.Builder.public final INamespace getCloudMapNamespace()
CloudMapOptionsDefault: - the defaultCloudMapNamespace associated to the cluster
getCloudMapNamespace in interface CloudMapOptionspublic final ContainerDefinition getContainer()
CloudMapOptionsDefault: - the task definition's default container
getContainer in interface CloudMapOptionspublic final Number getContainerPort()
CloudMapOptionsDefault: - the default port of the task definition's default container
getContainerPort in interface CloudMapOptionspublic final DnsRecordType getDnsRecordType()
CloudMapOptionsThe supported record types are A or SRV.
Default: - DnsRecordType.A if TaskDefinition.networkMode = AWS_VPC, otherwise DnsRecordType.SRV
getDnsRecordType in interface CloudMapOptionspublic final Duration getDnsTtl()
CloudMapOptionsDefault: 60
getDnsTtl in interface CloudMapOptionspublic final Number getFailureThreshold()
CloudMapOptionsNOTE: This is used for HealthCheckCustomConfig
getFailureThreshold in interface CloudMapOptionspublic final String getName()
CloudMapOptionsDefault: CloudFormation-generated name
getName in interface CloudMapOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.