@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.360Z") @Stability(value=Stable) public class CfnInstanceAccessControlAttributeConfiguration extends CfnResource implements IInspectable
Enables the attribute-based access control (ABAC) feature for the specified AWS SSO instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see Attribute-Based Access Control in the AWS SSO User Guide .
The
InstanceAccessControlAttributeConfigurationproperty has been deprecated but is still supported for backwards compatibility purposes. We recommend that you use theAccessControlAttributesproperty instead.
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.*;
CfnInstanceAccessControlAttributeConfiguration cfnInstanceAccessControlAttributeConfiguration = CfnInstanceAccessControlAttributeConfiguration.Builder.create(this, "MyCfnInstanceAccessControlAttributeConfiguration")
.instanceArn("instanceArn")
// the properties below are optional
.accessControlAttributes(List.of(AccessControlAttributeProperty.builder()
.key("key")
.value(AccessControlAttributeValueProperty.builder()
.source(List.of("source"))
.build())
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty
These are AWS SSO identity store attributes that you can configure for use in attributes-based access control (ABAC).
|
static interface |
CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeValueProperty
The value used for mapping a specified attribute to an identity source.
|
static class |
CfnInstanceAccessControlAttributeConfiguration.Builder
A fluent builder for
CfnInstanceAccessControlAttributeConfiguration. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnInstanceAccessControlAttributeConfiguration(software.constructs.Construct scope,
String id,
CfnInstanceAccessControlAttributeConfigurationProps props)
Create a new `AWS::SSO::InstanceAccessControlAttributeConfiguration`.
|
protected |
CfnInstanceAccessControlAttributeConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnInstanceAccessControlAttributeConfiguration(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAccessControlAttributes()
Lists the attributes that are configured for ABAC in the specified AWS SSO instance.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getInstanceArn()
The ARN of the AWS SSO instance under which the operation will be executed.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAccessControlAttributes(IResolvable value)
Lists the attributes that are configured for ABAC in the specified AWS SSO instance.
|
void |
setAccessControlAttributes(List<Object> value)
Lists the attributes that are configured for ABAC in the specified AWS SSO instance.
|
void |
setInstanceArn(String value)
The ARN of the AWS SSO instance under which the operation will be executed.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnInstanceAccessControlAttributeConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnInstanceAccessControlAttributeConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnInstanceAccessControlAttributeConfiguration(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnInstanceAccessControlAttributeConfigurationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getInstanceArn()
@Stability(value=Stable)
public void setInstanceArn(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getAccessControlAttributes()
@Stability(value=Stable)
public void setAccessControlAttributes(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.