# AccessControlAttributeProperty

These are  identity store attributes that you can configure for use in attributes-based access control (ABAC).

You can create permissions policies that determine who can access your AWS resources based upon the configured attribute values. When you enable ABAC and specify `AccessControlAttributes` ,  passes the attribute values of the authenticated user into IAM for use in policy evaluation.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sso as sso } from 'aws-cdk-lib';
const accessControlAttributeProperty: sso.CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty = {
  key: 'key',
  value: {
    source: ['source'],
  },
};
```

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_sso as sso

access_control_attribute_property = sso.CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty(
    key="key",
    value=sso.CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeValueProperty(
        source=["source"]
    )
)
```

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

AccessControlAttributeProperty accessControlAttributeProperty = AccessControlAttributeProperty.builder()
        .key("key")
        .value(AccessControlAttributeValueProperty.builder()
                .source(List.of("source"))
                .build())
        .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.SSO;

var accessControlAttributeProperty = new AccessControlAttributeProperty {
    Key = "key",
    Value = new AccessControlAttributeValueProperty {
        Source = new [] { "source" }
    }
};
```

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"

accessControlAttributeProperty := &AccessControlAttributeProperty{
	Key: jsii.String("key"),
	Value: &AccessControlAttributeValueProperty{
		Source: []*string{
			jsii.String("source"),
		},
	},
}
```

## Properties

- `key`: string (required) — The name of the attribute associated with your identities in your identity source.

  This is used to map a specified attribute in your identity source with an attribute in  .

- `value`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeValueProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sso.CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeValueProperty.html) (required) — The value used for mapping a specified attribute to an identity source.
