interface ConstraintsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Connect.CfnTaskTemplate.ConstraintsProperty |
Java | software.amazon.awscdk.services.connect.CfnTaskTemplate.ConstraintsProperty |
Python | aws_cdk.aws_connect.CfnTaskTemplate.ConstraintsProperty |
TypeScript | @aws-cdk/aws-connect » CfnTaskTemplate » ConstraintsProperty |
Describes constraints that apply to the template fields.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as connect from '@aws-cdk/aws-connect';
const constraintsProperty: connect.CfnTaskTemplate.ConstraintsProperty = {
invisibleFields: [{
id: {
name: 'name',
},
}],
readOnlyFields: [{
id: {
name: 'name',
},
}],
requiredFields: [{
id: {
name: 'name',
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| invisible | IResolvable | IResolvable | Invisible[] | Lists the fields that are invisible to agents. |
| read | IResolvable | IResolvable | Read[] | Lists the fields that are read-only to agents, and cannot be edited. |
| required | IResolvable | IResolvable | Required[] | Lists the fields that are required to be filled by agents. |
invisibleFields?
Type:
IResolvable | IResolvable | Invisible[]
(optional)
Lists the fields that are invisible to agents.
readOnlyFields?
Type:
IResolvable | IResolvable | Read[]
(optional)
Lists the fields that are read-only to agents, and cannot be edited.
requiredFields?
Type:
IResolvable | IResolvable | Required[]
(optional)
Lists the fields that are required to be filled by agents.

.NET
Java
Python
TypeScript