@Stability(value=Stable)
public static interface CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty
extends software.amazon.jsii.JsiiSerializable
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 , AWS SSO passes the attribute values of the authenticated user into IAM for use in policy evaluation.
Example:
// 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty.Builder
|
static class |
CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty.Jsii$Proxy
An implementation for
CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty.Builder |
builder() |
String |
getKey()
The name of the attribute associated with your identities in your identity source.
|
Object |
getValue()
The value used for mapping a specified attribute to an identity source.
|
@Stability(value=Stable) @NotNull String getKey()
This is used to map a specified attribute in your identity source with an attribute in AWS SSO .
@Stability(value=Stable) @NotNull Object getValue()
@Stability(value=Stable) static CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty.Builder builder()
Copyright © 2022. All rights reserved.