interface CfnPredefinedAttributeProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Connect.CfnPredefinedAttributeProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnPredefinedAttributeProps |
![]() | software.amazon.awscdk.services.connect.CfnPredefinedAttributeProps |
![]() | aws_cdk.aws_connect.CfnPredefinedAttributeProps |
![]() | aws-cdk-lib » aws_connect » CfnPredefinedAttributeProps |
Properties for defining a CfnPredefinedAttribute
.
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 cfnPredefinedAttributeProps: connect.CfnPredefinedAttributeProps = {
instanceArn: 'instanceArn',
name: 'name',
// the properties below are optional
attributeConfiguration: {
enableValueValidationOnAssociation: false,
isReadOnly: false,
},
purposes: ['purposes'],
values: {
stringList: ['stringList'],
},
};
Properties
Name | Type | Description |
---|---|---|
instance | string | The Amazon Resource Name (ARN) of the instance. |
name | string | The name of the predefined attribute. |
attribute | IResolvable | Attribute | Custom metadata that is associated to predefined attributes to control behavior in upstream services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website. |
purposes? | string[] | Values that enable you to categorize your predefined attributes. |
values? | IResolvable | Values | The values of a predefined attribute. |
instanceArn
Type:
string
The Amazon Resource Name (ARN) of the instance.
name
Type:
string
The name of the predefined attribute.
attributeConfiguration?
Type:
IResolvable
|
Attribute
(optional)
Custom metadata that is associated to predefined attributes to control behavior in upstream services, such as controlling how a predefined attribute should be displayed in the Amazon Connect admin website.
purposes?
Type:
string[]
(optional)
Values that enable you to categorize your predefined attributes.
You can use them in custom UI elements across the Amazon Connect admin website.
values?
Type:
IResolvable
|
Values
(optional)
The values of a predefined attribute.