Class CloudMapOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.CloudMapOptions.Jsii$Proxy
- All Implemented Interfaces:
CloudMapOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CloudMapOptions
@Stability(Stable)
@Internal
public static final class CloudMapOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CloudMapOptions
An implementation for
CloudMapOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CloudMapOptions
CloudMapOptions.Builder, CloudMapOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CloudMapOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theCloudMapOptions.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final INamespace
The service discovery namespace for the Cloud Map service to attach to the ECS service.final ContainerDefinition
The container to point to for a SRV record.final Number
The port to point to for a SRV record.final DnsRecordType
The DNS record type that you want AWS Cloud Map to create.final Duration
The amount of time that you want DNS resolvers to cache the settings for this record.final Number
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.final String
getName()
The name of the Cloud Map service to attach to the ECS service.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCloudMapOptions.Builder
.
-
-
Method Details
-
getCloudMapNamespace
Description copied from interface:CloudMapOptions
The service discovery namespace for the Cloud Map service to attach to the ECS service.Default: - the defaultCloudMapNamespace associated to the cluster
- Specified by:
getCloudMapNamespace
in interfaceCloudMapOptions
-
getContainer
Description copied from interface:CloudMapOptions
The container to point to for a SRV record.Default: - the task definition's default container
- Specified by:
getContainer
in interfaceCloudMapOptions
-
getContainerPort
Description copied from interface:CloudMapOptions
The port to point to for a SRV record.Default: - the default port of the task definition's default container
- Specified by:
getContainerPort
in interfaceCloudMapOptions
-
getDnsRecordType
Description copied from interface:CloudMapOptions
The DNS record type that you want AWS Cloud Map to create.The supported record types are A or SRV.
Default: - DnsRecordType.A if TaskDefinition.networkMode = AWS_VPC, otherwise DnsRecordType.SRV
- Specified by:
getDnsRecordType
in interfaceCloudMapOptions
-
getDnsTtl
Description copied from interface:CloudMapOptions
The amount of time that you want DNS resolvers to cache the settings for this record.Default: Duration.minutes(1)
- Specified by:
getDnsTtl
in interfaceCloudMapOptions
-
getFailureThreshold
Description copied from interface:CloudMapOptions
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.NOTE: This is used for HealthCheckCustomConfig
- Specified by:
getFailureThreshold
in interfaceCloudMapOptions
-
getName
Description copied from interface:CloudMapOptions
The name of the Cloud Map service to attach to the ECS service.Default: CloudFormation-generated name
- Specified by:
getName
in interfaceCloudMapOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-