Class CfnService.PlacementConstraintProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.CfnService.PlacementConstraintProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnService.PlacementConstraintProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnService.PlacementConstraintProperty
@Stability(Stable)
@Internal
public static final class CfnService.PlacementConstraintProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnService.PlacementConstraintProperty
An implementation for
CfnService.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.services.ecs.CfnService.PlacementConstraintProperty
CfnService.PlacementConstraintProperty.Builder, CfnService.PlacementConstraintProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnService.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 theCfnService.PlacementConstraintProperty.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnService.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 interfaceCfnService.PlacementConstraintProperty- See Also:
-
getExpression
Description copied from interface:CfnService.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 interfaceCfnService.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()
-