public static final class CloudMapOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudMapOptions
CloudMapOptions
CloudMapOptions.Builder, CloudMapOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
INamespace |
getCloudMapNamespace()
The service discovery namespace for the Cloud Map service to attach to the ECS service.
|
ContainerDefinition |
getContainer()
The container to point to for a SRV record.
|
java.lang.Number |
getContainerPort()
The port to point to for a SRV record.
|
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.
|
java.lang.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.
|
java.lang.String |
getName()
The name of the Cloud Map service to attach to the ECS service.
|
int |
hashCode() |
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.public final INamespace getCloudMapNamespace()
CloudMapOptions
Default: - the defaultCloudMapNamespace associated to the cluster
getCloudMapNamespace
in interface CloudMapOptions
public final ContainerDefinition getContainer()
CloudMapOptions
Default: - the task definition's default container
getContainer
in interface CloudMapOptions
public final java.lang.Number getContainerPort()
CloudMapOptions
Default: - the default port of the task definition's default container
getContainerPort
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: Duration.minutes(1)
getDnsTtl
in interface CloudMapOptions
public final java.lang.Number getFailureThreshold()
CloudMapOptions
NOTE: This is used for HealthCheckCustomConfig
getFailureThreshold
in interface CloudMapOptions
public final java.lang.String getName()
CloudMapOptions
Default: CloudFormation-generated name
getName
in interface CloudMapOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()