Class CfnPipe.PlacementConstraintProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.pipes.CfnPipe.PlacementConstraintProperty.Jsii$Proxy
All Implemented Interfaces:
CfnPipe.PlacementConstraintProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnPipe.PlacementConstraintProperty

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

    • getExpression

      public final String getExpression()
      Description copied from interface: CfnPipe.PlacementConstraintProperty
      A cluster query language expression to apply to the constraint.

      You cannot specify an expression if the constraint type is distinctInstance . To learn more, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

      Specified by:
      getExpression in interface CfnPipe.PlacementConstraintProperty
    • getType

      public final String getType()
      Description copied from interface: CfnPipe.PlacementConstraintProperty
      The type of constraint.

      Use distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict the selection to a group of valid candidates.

      Specified by:
      getType in interface CfnPipe.PlacementConstraintProperty
    • $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