

# AwsEcsTaskDefinitionPlacementConstraintsDetails
<a name="API_AwsEcsTaskDefinitionPlacementConstraintsDetails"></a>

A placement constraint object to use for tasks.

## Contents
<a name="API_AwsEcsTaskDefinitionPlacementConstraintsDetails_Contents"></a>

 ** Expression **   <a name="securityhub-Type-AwsEcsTaskDefinitionPlacementConstraintsDetails-Expression"></a>
A cluster query language expression to apply to the constraint.  
Type: String  
Pattern: `.*\S.*`   
Required: No

 ** Type **   <a name="securityhub-Type-AwsEcsTaskDefinitionPlacementConstraintsDetails-Type"></a>
The type of constraint.  
Type: String  
Pattern: `.*\S.*`   
Required: No

## See Also
<a name="API_AwsEcsTaskDefinitionPlacementConstraintsDetails_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/securityhub-2018-10-26/AwsEcsTaskDefinitionPlacementConstraintsDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityhub-2018-10-26/AwsEcsTaskDefinitionPlacementConstraintsDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityhub-2018-10-26/AwsEcsTaskDefinitionPlacementConstraintsDetails) 