# DataTableAccessControlConfigurationProperty

Struct · External

A data table access control configuration.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 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 dataTableAccessControlConfigurationProperty: connect.CfnSecurityProfile.DataTableAccessControlConfigurationProperty = {
  primaryAttributeAccessControlConfiguration: {
    primaryAttributeValues: [{
      accessType: 'accessType',
      attributeName: 'attributeName',
      values: ['values'],
    }],
  },
};
```

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

data_table_access_control_configuration_property = connect.CfnSecurityProfile.DataTableAccessControlConfigurationProperty(
    primary_attribute_access_control_configuration=connect.CfnSecurityProfile.PrimaryAttributeAccessControlConfigurationItemProperty(
        primary_attribute_values=[connect.CfnSecurityProfile.PrimaryAttributeValueProperty(
            access_type="accessType",
            attribute_name="attributeName",
            values=["values"]
        )]
    )
)
```

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.*;

DataTableAccessControlConfigurationProperty dataTableAccessControlConfigurationProperty = DataTableAccessControlConfigurationProperty.builder()
        .primaryAttributeAccessControlConfiguration(PrimaryAttributeAccessControlConfigurationItemProperty.builder()
                .primaryAttributeValues(List.of(PrimaryAttributeValueProperty.builder()
                        .accessType("accessType")
                        .attributeName("attributeName")
                        .values(List.of("values"))
                        .build()))
                .build())
        .build();
```

C#:

```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 dataTableAccessControlConfigurationProperty = new DataTableAccessControlConfigurationProperty {
    PrimaryAttributeAccessControlConfiguration = new PrimaryAttributeAccessControlConfigurationItemProperty {
        PrimaryAttributeValues = new [] { new PrimaryAttributeValueProperty {
            AccessType = "accessType",
            AttributeName = "attributeName",
            Values = new [] { "values" }
        } }
    }
};
```

Go:

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

dataTableAccessControlConfigurationProperty := &DataTableAccessControlConfigurationProperty{
	PrimaryAttributeAccessControlConfiguration: &PrimaryAttributeAccessControlConfigurationItemProperty{
		PrimaryAttributeValues: []interface{}{
			&PrimaryAttributeValueProperty{
				AccessType: jsii.String("accessType"),
				AttributeName: jsii.String("attributeName"),
				Values: []*string{
					jsii.String("values"),
				},
			},
		},
	},
}
```

## Properties

- `primaryAttributeAccessControlConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSecurityProfile.PrimaryAttributeAccessControlConfigurationItemProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnSecurityProfile.PrimaryAttributeAccessControlConfigurationItemProperty.html) — The configuration's primary attribute access control configuration.
