Class CfnTaskDefinition.ContainerDependencyProperty.Jsii$Proxy

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

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

  • Method Details

    • getCondition

      public final String getCondition()
      Description copied from interface: CfnTaskDefinition.ContainerDependencyProperty
      The dependency condition of the container. The following are the available conditions and their behavior:.

      • START - This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start.
      • COMPLETE - This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container.
      • SUCCESS - This condition is the same as COMPLETE , but it also requires that the container exits with a zero status. This condition can't be set on an essential container.
      • HEALTHY - This condition validates that the dependent container passes its Docker health check before permitting other containers to start. This requires that the dependent container has health checks configured. This condition is confirmed only at task startup.
      Specified by:
      getCondition in interface CfnTaskDefinition.ContainerDependencyProperty
    • getContainerName

      public final String getContainerName()
      Description copied from interface: CfnTaskDefinition.ContainerDependencyProperty
      The name of a container.
      Specified by:
      getContainerName in interface CfnTaskDefinition.ContainerDependencyProperty
    • $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