interface ConstraintsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Connect.CfnTaskTemplatePropsMixin.ConstraintsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsconnect#CfnTaskTemplatePropsMixin_ConstraintsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.connect.CfnTaskTemplatePropsMixin.ConstraintsProperty |
Python | aws_cdk.cfn_property_mixins.aws_connect.CfnTaskTemplatePropsMixin.ConstraintsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_connect » CfnTaskTemplatePropsMixin » 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 { aws_connect as connect } from '@aws-cdk/cfn-property-mixins';
const constraintsProperty: connect.CfnTaskTemplatePropsMixin.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
Go
Java
Python
TypeScript