Class CfnServicePropsMixin.PlacementConstraintProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.PlacementConstraintProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnServicePropsMixin.PlacementConstraintProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnServicePropsMixin.PlacementConstraintProperty
@Stability(Stable)
@Internal
public static final class CfnServicePropsMixin.PlacementConstraintProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnServicePropsMixin.PlacementConstraintProperty
An implementation for
CfnServicePropsMixin.PlacementConstraintProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.PlacementConstraintProperty
CfnServicePropsMixin.PlacementConstraintProperty.Builder, CfnServicePropsMixin.PlacementConstraintProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnServicePropsMixin.PlacementConstraintProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCfnServicePropsMixin.PlacementConstraintProperty.Builder.
-
-
Method Details
-
getExpression
Description copied from interface:CfnServicePropsMixin.PlacementConstraintPropertyA cluster query language expression to apply to the constraint.The expression can have a maximum length of 2000 characters. You can't specify an expression if the constraint type is
distinctInstance. For more information, see Cluster query language in the Amazon Elastic Container Service Developer Guide .- Specified by:
getExpressionin interfaceCfnServicePropsMixin.PlacementConstraintProperty- See Also:
-
getType
Description copied from interface:CfnServicePropsMixin.PlacementConstraintPropertyThe type of constraint.Use
distinctInstanceto ensure that each task in a particular group is running on a different container instance. UsememberOfto restrict the selection to a group of valid candidates.- Specified by:
getTypein interfaceCfnServicePropsMixin.PlacementConstraintProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-