Class CfnInstanceAccessControlAttributeConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.856Z") @Stability(Stable) public class CfnInstanceAccessControlAttributeConfiguration extends CfnResource implements IInspectable
A CloudFormation AWS::SSO::InstanceAccessControlAttributeConfiguration.

Enables the attribute-based access control (ABAC) feature for the specified IAM Identity Center 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 IAM Identity Center User Guide .

The InstanceAccessControlAttributeConfiguration property has been deprecated but is still supported for backwards compatibility purposes. We recommend that you use the AccessControlAttributes 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();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnInstanceAccessControlAttributeConfiguration

      protected CfnInstanceAccessControlAttributeConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnInstanceAccessControlAttributeConfiguration

      protected CfnInstanceAccessControlAttributeConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnInstanceAccessControlAttributeConfiguration

      @Stability(Stable) public CfnInstanceAccessControlAttributeConfiguration(@NotNull Construct scope, @NotNull String id, @NotNull CfnInstanceAccessControlAttributeConfigurationProps props)
      Create a new AWS::SSO::InstanceAccessControlAttributeConfiguration.

      Parameters:
      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.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getInstanceArn

      @Stability(Stable) @NotNull public String getInstanceArn()
      The ARN of the IAM Identity Center instance under which the operation will be executed.
    • setInstanceArn

      @Stability(Stable) public void setInstanceArn(@NotNull String value)
      The ARN of the IAM Identity Center instance under which the operation will be executed.
    • getAccessControlAttributes

      @Stability(Stable) @Nullable public Object getAccessControlAttributes()
      Lists the attributes that are configured for ABAC in the specified IAM Identity Center instance.
    • setAccessControlAttributes

      @Stability(Stable) public void setAccessControlAttributes(@Nullable IResolvable value)
      Lists the attributes that are configured for ABAC in the specified IAM Identity Center instance.
    • setAccessControlAttributes

      @Stability(Stable) public void setAccessControlAttributes(@Nullable List<Object> value)
      Lists the attributes that are configured for ABAC in the specified IAM Identity Center instance.