# PrimaryAttributeAccessControlConfigurationItemProperty

Struct · External

A primary attribute access control configuration item.

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 2026

## 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 primaryAttributeAccessControlConfigurationItemProperty: connect.CfnSecurityProfile.PrimaryAttributeAccessControlConfigurationItemProperty = {
  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

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

PrimaryAttributeAccessControlConfigurationItemProperty primaryAttributeAccessControlConfigurationItemProperty = PrimaryAttributeAccessControlConfigurationItemProperty.builder()
        .primaryAttributeValues(List.of(PrimaryAttributeValueProperty.builder()
                .accessType("accessType")
                .attributeName("attributeName")
                .values(List.of("values"))
                .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 primaryAttributeAccessControlConfigurationItemProperty = 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"

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

## Properties

- `primaryAttributeValues`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSecurityProfile.PrimaryAttributeValueProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnSecurityProfile.PrimaryAttributeValueProperty.html)[] — The item's primary attribute values.
