

# FieldConstraint

Describes a field whose value failed a constraint.

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

 ** constraint **   <a name="systemsmanagercloudextensions-Type-FieldConstraint-constraint"></a>
The reason why the value of the field isn't valid.  
Type: String  
Required: No

 ** constraintValuesFrom **   <a name="systemsmanagercloudextensions-Type-FieldConstraint-constraintValuesFrom"></a>
The source of each value of the constraint, when any value was read from another field. Each entry is the path of that field, or a `{label}`, such as `{account.maxExtensionSize}`, for a value that the caller doesn't set.  
Type: Array of strings  
Required: No

 ** field **   <a name="systemsmanagercloudextensions-Type-FieldConstraint-field"></a>
The path of the field that failed validation, with nested members joined by dots, such as `versionPolicy.versionSelector`.  
Type: String  
Required: No

 ** value **   <a name="systemsmanagercloudextensions-Type-FieldConstraint-value"></a>
The value that the constraint evaluated. This is the value of the field, or the length of the value when the constraint is `len`.  
Type: String  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/cloudextensions-2026-11-29/FieldConstraint) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudextensions-2026-11-29/FieldConstraint) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudextensions-2026-11-29/FieldConstraint) 