aws-cdk-lib.aws_connect.CfnTaskTemplate.ConstraintsProperty

interface ConstraintsProperty

LanguageType name
.NETAmazon.CDK.AWS.Connect.CfnTaskTemplate.ConstraintsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnTaskTemplate_ConstraintsProperty
Javasoftware.amazon.awscdk.services.connect.CfnTaskTemplate.ConstraintsProperty
Pythonaws_cdk.aws_connect.CfnTaskTemplate.ConstraintsProperty
TypeScript aws-cdk-lib » 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 { 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

NameTypeDescription
invisibleFields?IResolvable | IResolvable | InvisibleFieldInfoProperty[]Lists the fields that are invisible to agents.
readOnlyFields?IResolvable | IResolvable | ReadOnlyFieldInfoProperty[]Lists the fields that are read-only to agents, and cannot be edited.
requiredFields?IResolvable | IResolvable | RequiredFieldInfoProperty[]Lists the fields that are required to be filled by agents.

invisibleFields?

Type: IResolvable | IResolvable | InvisibleFieldInfoProperty[] (optional)

Lists the fields that are invisible to agents.


readOnlyFields?

Type: IResolvable | IResolvable | ReadOnlyFieldInfoProperty[] (optional)

Lists the fields that are read-only to agents, and cannot be edited.


requiredFields?

Type: IResolvable | IResolvable | RequiredFieldInfoProperty[] (optional)

Lists the fields that are required to be filled by agents.