View a markdown version of this page

FieldConstraint - AWS Systems Manager Cloud Extensions

FieldConstraint

Describes a field whose value failed a constraint.

Contents

constraint

The reason why the value of the field isn't valid.

Type: String

Required: No

constraintValuesFrom

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

The path of the field that failed validation, with nested members joined by dots, such as versionPolicy.versionSelector.

Type: String

Required: No

value

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

For more information about using this API in one of the language-specific AWS SDKs, see the following: