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

    Constructors
    Modifier
    Constructor
    Description
    protected
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    The service discovery namespace for the Cloud Map service to attach to the ECS service.
    The container to point to for a SRV record.
    final Number
    The port to point to for a SRV record.
    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
    The name of the Cloud Map service to attach to the ECS service.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(CloudMapOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CloudMapOptions.Builder.
  • Method Details

    • getCloudMapNamespace

      public final INamespace 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 interface CloudMapOptions
    • getContainer

      public final ContainerDefinition 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 interface CloudMapOptions
    • getContainerPort

      public final Number 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 interface CloudMapOptions
    • getDnsRecordType

      public final DnsRecordType 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 interface CloudMapOptions
    • getDnsTtl

      public final Duration 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 interface CloudMapOptions
    • getFailureThreshold

      public final Number 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 interface CloudMapOptions
    • getName

      public final String 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 interface CloudMapOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object