Class CfnCluster.ServiceConnectDefaultsProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.CfnCluster.ServiceConnectDefaultsProperty.Jsii$Proxy
All Implemented Interfaces:
CfnCluster.ServiceConnectDefaultsProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnCluster.ServiceConnectDefaultsProperty

@Stability(Stable) @Internal public static final class CfnCluster.ServiceConnectDefaultsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCluster.ServiceConnectDefaultsProperty
  • Constructor Details

  • Method Details

    • getNamespace

      public final String getNamespace()
      Description copied from interface: CfnCluster.ServiceConnectDefaultsProperty
      The namespace name or full Amazon Resource Name (ARN) of the AWS Cloud Map namespace that's used when you create a service and don't specify a Service Connect configuration.

      The namespace name can include up to 1024 characters. The name is case-sensitive. The name can't include hyphens (-), tilde (~), greater than (>), less than (<), or slash (/).

      If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this AWS Region.

      If you enter a new name, a AWS Cloud Map namespace will be created. Amazon ECS creates a AWS Cloud Map namespace with the "API calls" method of instance discovery only. This instance discovery method is the "HTTP" namespace type in the AWS Command Line Interface . Other types of instance discovery aren't used by Service Connect.

      If you update the cluster with an empty string "" for the namespace name, the cluster configuration for Service Connect is removed. Note that the namespace will remain in AWS Cloud Map and must be deleted separately.

      For more information about AWS Cloud Map , see Working with Services in the AWS Cloud Map Developer Guide .

      Specified by:
      getNamespace in interface CfnCluster.ServiceConnectDefaultsProperty
      See Also:
    • $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