Skip to content
v2.277.0

CfnInstanceAccessControlAttributeConfigurationProps Struct ​

Properties for defining a CfnInstanceAccessControlAttributeConfiguration.

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 cfnInstanceAccessControlAttributeConfigurationProps: sso.CfnInstanceAccessControlAttributeConfigurationProps = {
  instanceArn: 'instanceArn',

  // the properties below are optional
  accessControlAttributes: [{
    key: 'key',
    value: {
      source: ['source'],
    },
  }],
  instanceAccessControlAttributeConfiguration: {
    accessControlAttributes: [{
      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

cfn_instance_access_control_attribute_configuration_props = sso.CfnInstanceAccessControlAttributeConfigurationProps(
    instance_arn="instanceArn",

    # the properties below are optional
    access_control_attributes=[sso.CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty(
        key="key",
        value=sso.CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeValueProperty(
            source=["source"]
        )
    )],
    instance_access_control_attribute_configuration=sso.CfnInstanceAccessControlAttributeConfiguration.InstanceAccessControlAttributeConfigurationProperty(
        access_control_attributes=[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.*;

CfnInstanceAccessControlAttributeConfigurationProps cfnInstanceAccessControlAttributeConfigurationProps = CfnInstanceAccessControlAttributeConfigurationProps.builder()
        .instanceArn("instanceArn")

        // the properties below are optional
        .accessControlAttributes(List.of(AccessControlAttributeProperty.builder()
                .key("key")
                .value(AccessControlAttributeValueProperty.builder()
                        .source(List.of("source"))
                        .build())
                .build()))
        .instanceAccessControlAttributeConfiguration(InstanceAccessControlAttributeConfigurationProperty.builder()
                .accessControlAttributes(List.of(AccessControlAttributeProperty.builder()
                        .key("key")
                        .value(AccessControlAttributeValueProperty.builder()
                                .source(List.of("source"))
                                .build())
                        .build()))
                .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 cfnInstanceAccessControlAttributeConfigurationProps = new CfnInstanceAccessControlAttributeConfigurationProps {
    InstanceArn = "instanceArn",

    // the properties below are optional
    AccessControlAttributes = new [] { new AccessControlAttributeProperty {
        Key = "key",
        Value = new AccessControlAttributeValueProperty {
            Source = new [] { "source" }
        }
    } },
    InstanceAccessControlAttributeConfiguration = new InstanceAccessControlAttributeConfigurationProperty {
        AccessControlAttributes = new [] { 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"

cfnInstanceAccessControlAttributeConfigurationProps := &CfnInstanceAccessControlAttributeConfigurationProps{
	InstanceArn: jsii.String("instanceArn"),

	// the properties below are optional
	AccessControlAttributes: []interface{}{
		&AccessControlAttributeProperty{
			Key: jsii.String("key"),
			Value: &AccessControlAttributeValueProperty{
				Source: []*string{
					jsii.String("source"),
				},
			},
		},
	},
	InstanceAccessControlAttributeConfiguration: &InstanceAccessControlAttributeConfigurationProperty{
		AccessControlAttributes: []interface{}{
			&AccessControlAttributeProperty{
				Key: jsii.String("key"),
				Value: &AccessControlAttributeValueProperty{
					Source: []*string{
						jsii.String("source"),
					},
				},
			},
		},
	},
}

Properties ​

accessControlAttributesoptionalIResolvable | IResolvable | CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty[]access_control_attributesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AccessControlAttributeProperty]]]accessControlAttributesoptionalIResolvableAccessControlAttributesoptionalIResolvableAccessControlAttributesoptionalinterface{} #
Lists the attributes that are configured for ABAC in the specified instance.
instanceAccessControlAttributeConfigurationoptionalIResolvable | CfnInstanceAccessControlAttributeConfiguration.InstanceAccessControlAttributeConfigurationPropertyinstance_access_control_attribute_configurationoptionaltyping.Union[IResolvable, InstanceAccessControlAttributeConfigurationProperty]instanceAccessControlAttributeConfigurationoptionalIResolvableInstanceAccessControlAttributeConfigurationoptionalIResolvableInstanceAccessControlAttributeConfigurationoptionalinterface{} deprecated #
this property has been deprecated

We recomend that you use AccessControlAttributes property instead.

instanceArnstringinstance_arnstrinstanceArnStringInstanceArnstringInstanceArn*string required #
The ARN of the instance under which the operation will be executed.