@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:52.950Z") 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
InstanceAccessControlAttributeConfiguration
property has been deprecated but is still supported for backwards compatibility purposes. We recommend that you use theAccessControlAttributes
property 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 . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnInstanceAccessControlAttributeConfiguration(Construct scope,
java.lang.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 |
---|---|
java.lang.Object |
getAccessControlAttributes()
Lists the attributes that are configured for ABAC in the specified AWS SSO instance.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setAccessControlAttributes(IResolvable value)
Lists the attributes that are configured for ABAC in the specified AWS SSO instance.
|
void |
setAccessControlAttributes(java.util.List<java.lang.Object> value)
Lists the attributes that are configured for ABAC in the specified AWS SSO instance.
|
void |
setInstanceArn(java.lang.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, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnInstanceAccessControlAttributeConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnInstanceAccessControlAttributeConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnInstanceAccessControlAttributeConfiguration(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getInstanceArn()
public void setInstanceArn(java.lang.String value)
public java.lang.Object getAccessControlAttributes()
public void setAccessControlAttributes(IResolvable value)
public void setAccessControlAttributes(java.util.List<java.lang.Object> value)