AccessControlAttributeProperty Struct
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 | |
|---|---|
| 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_sso as sso } from 'aws-cdk-lib';
const accessControlAttributeProperty: sso.CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty = {
key: 'key',
value: {
source: ['source'],
},
};
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
// 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();
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" }
}
};
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
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 .
valueIResolvable | CfnInstanceAccessControlAttributeConfiguration.valuetyping.Union[IResolvable, AccessControlAttributeValueProperty]valueIResolvableValueIResolvableValueinterface{} required #The value used for mapping a specified attribute to an identity source.