# AttributeConfigurationProperty

Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.

- Source: Generated at build time
- Type last changed: v2.214.0 · 2 Sep 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `enableValueValidationOnAssociation`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Enables customers to enforce strict validation on the specific values that this predefined attribute can hold.

- `isReadOnly`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Allows the predefined attribute to show up and be managed in the Amazon Connect UI.
