Skip to content
v2.277.0

InstanceAccessControlAttributeConfigurationProperty Struct ​

The InstanceAccessControlAttributeConfiguration property has been deprecated but is still supported for backwards compatibility purposes.

We recomend that you use AccessControlAttributes property instead.

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 instanceAccessControlAttributeConfigurationProperty: sso.CfnInstanceAccessControlAttributeConfiguration.InstanceAccessControlAttributeConfigurationProperty = {
  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

instance_access_control_attribute_configuration_property = 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.*;

InstanceAccessControlAttributeConfigurationProperty instanceAccessControlAttributeConfigurationProperty = InstanceAccessControlAttributeConfigurationProperty.builder()
        .accessControlAttributes(List.of(AccessControlAttributeProperty.builder()
                .key("key")
                .value(AccessControlAttributeValueProperty.builder()
                        .source(List.of("source"))
                        .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 instanceAccessControlAttributeConfigurationProperty = 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"

instanceAccessControlAttributeConfigurationProperty := &InstanceAccessControlAttributeConfigurationProperty{
	AccessControlAttributes: []interface{}{
		&AccessControlAttributeProperty{
			Key: jsii.String("key"),
			Value: &AccessControlAttributeValueProperty{
				Source: []*string{
					jsii.String("source"),
				},
			},
		},
	},
}

Properties ​

accessControlAttributesIResolvable | IResolvable | CfnInstanceAccessControlAttributeConfiguration.AccessControlAttributeProperty[]access_control_attributestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AccessControlAttributeProperty]]]accessControlAttributesIResolvableAccessControlAttributesIResolvableAccessControlAttributesinterface{} required #