@Stability(value=Stable) @Internal public static final class CfnRule.PlacementConstraintProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRule.PlacementConstraintProperty
CfnRule.PlacementConstraintPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnRule.PlacementConstraintProperty.Builder, CfnRule.PlacementConstraintProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnRule.PlacementConstraintProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnRule.AwsVpcConfigurationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getExpression()
A cluster query language expression to apply to the constraint.
|
String |
getType()
The type of constraint.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnRule.PlacementConstraintProperty.Builder builder)
CfnRule.AwsVpcConfigurationProperty.Builder.public final String getExpression()
CfnRule.PlacementConstraintProperty
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.
getExpression in interface CfnRule.PlacementConstraintPropertypublic final String getType()
CfnRule.PlacementConstraintPropertyUse 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.
getType in interface CfnRule.PlacementConstraintProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.