Class CfnTaskSet.ServiceRegistryProperty.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnTaskSet.ServiceRegistryProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnTaskSet.ServiceRegistryProperty
  • 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(CfnTaskSet.ServiceRegistryProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnTaskSet.ServiceRegistryProperty.Builder.
  • Method Details

    • getContainerName

      public final String getContainerName()
      Description copied from interface: CfnTaskSet.ServiceRegistryProperty
      The container name value to be used for your service discovery service.

      It's already specified in the task definition. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.

      Specified by:
      getContainerName in interface CfnTaskSet.ServiceRegistryProperty
    • getContainerPort

      public final Number getContainerPort()
      Description copied from interface: CfnTaskSet.ServiceRegistryProperty
      The port value to be used for your service discovery service.

      It's already specified in the task definition. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.

      Specified by:
      getContainerPort in interface CfnTaskSet.ServiceRegistryProperty
    • getPort

      public final Number getPort()
      Description copied from interface: CfnTaskSet.ServiceRegistryProperty
      The port value used if your service discovery service specified an SRV record.

      This field might be used if both the awsvpc network mode and SRV records are used.

      Specified by:
      getPort in interface CfnTaskSet.ServiceRegistryProperty
    • getRegistryArn

      public final String getRegistryArn()
      Description copied from interface: CfnTaskSet.ServiceRegistryProperty
      The Amazon Resource Name (ARN) of the service registry.

      The currently supported service registry is AWS Cloud Map . For more information, see CreateService .

      Specified by:
      getRegistryArn in interface CfnTaskSet.ServiceRegistryProperty
    • $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