AttributeConfigurationProperty Struct
Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.
| Source | |
|---|---|
| Type last changed |
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 attributeConfigurationProperty: connect.CfnPredefinedAttribute.AttributeConfigurationProperty = {
enableValueValidationOnAssociation: false,
isReadOnly: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect
attribute_configuration_property = connect.CfnPredefinedAttribute.AttributeConfigurationProperty(
enable_value_validation_on_association=False,
is_read_only=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
AttributeConfigurationProperty attributeConfigurationProperty = AttributeConfigurationProperty.builder()
.enableValueValidationOnAssociation(false)
.isReadOnly(false)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;
var attributeConfigurationProperty = new AttributeConfigurationProperty {
EnableValueValidationOnAssociation = false,
IsReadOnly = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
attributeConfigurationProperty := &AttributeConfigurationProperty{
EnableValueValidationOnAssociation: jsii.Boolean(false),
IsReadOnly: jsii.Boolean(false),
}
Properties
enableValueValidationOnAssociationoptionalboolean | IResolvableenable_value_validation_on_associationoptionaltyping.Union[bool, IResolvable]enableValueValidationOnAssociationoptionalBooleanEnableValueValidationOnAssociationoptionalboolEnableValueValidationOnAssociationoptionalinterface{} #Enables customers to enforce strict validation on the specific values that this predefined attribute can hold.
isReadOnlyoptionalboolean | IResolvableis_read_onlyoptionaltyping.Union[bool, IResolvable]isReadOnlyoptionalBooleanIsReadOnlyoptionalboolIsReadOnlyoptionalinterface{} #Allows the predefined attribute to show up and be managed in the Amazon Connect UI.