ConstraintsProperty Struct
Describes constraints that apply to the template fields.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const constraintsProperty: connect.CfnTaskTemplate.ConstraintsProperty = {
invisibleFields: [{
id: {
name: 'name',
},
}],
readOnlyFields: [{
id: {
name: 'name',
},
}],
requiredFields: [{
id: {
name: 'name',
},
}],
};
Properties
invisibleFieldsIResolvable | IResolvable | CfnTaskTemplate.InvisibleFieldInfoProperty[]invisible_fieldstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, InvisibleFieldInfoProperty]]]invisibleFieldsIResolvableInvisibleFieldsIResolvableInvisibleFieldsinterface{}#Lists the fields that are invisible to agents.
readOnlyFieldsIResolvable | IResolvable | CfnTaskTemplate.ReadOnlyFieldInfoProperty[]read_only_fieldstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ReadOnlyFieldInfoProperty]]]readOnlyFieldsIResolvableReadOnlyFieldsIResolvableReadOnlyFieldsinterface{}#Lists the fields that are read-only to agents, and cannot be edited.
requiredFieldsIResolvable | IResolvable | CfnTaskTemplate.RequiredFieldInfoProperty[]required_fieldstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, RequiredFieldInfoProperty]]]requiredFieldsIResolvableRequiredFieldsIResolvableRequiredFieldsinterface{}#Lists the fields that are required to be filled by agents.