Skip to content
v2.278.0

DataTableAccessControlConfigurationProperty ​

Struct External

A data table access control configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const dataTableAccessControlConfigurationProperty: connect.CfnSecurityProfile.DataTableAccessControlConfigurationProperty = {
  primaryAttributeAccessControlConfiguration: {
    primaryAttributeValues: [{
      accessType: 'accessType',
      attributeName: 'attributeName',
      values: ['values'],
    }],
  },
};
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_connect as connect

data_table_access_control_configuration_property = connect.CfnSecurityProfile.DataTableAccessControlConfigurationProperty(
    primary_attribute_access_control_configuration=connect.CfnSecurityProfile.PrimaryAttributeAccessControlConfigurationItemProperty(
        primary_attribute_values=[connect.CfnSecurityProfile.PrimaryAttributeValueProperty(
            access_type="accessType",
            attribute_name="attributeName",
            values=["values"]
        )]
    )
)
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.connect.*;

DataTableAccessControlConfigurationProperty dataTableAccessControlConfigurationProperty = DataTableAccessControlConfigurationProperty.builder()
        .primaryAttributeAccessControlConfiguration(PrimaryAttributeAccessControlConfigurationItemProperty.builder()
                .primaryAttributeValues(List.of(PrimaryAttributeValueProperty.builder()
                        .accessType("accessType")
                        .attributeName("attributeName")
                        .values(List.of("values"))
                        .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.Connect;

var dataTableAccessControlConfigurationProperty = new DataTableAccessControlConfigurationProperty {
    PrimaryAttributeAccessControlConfiguration = new PrimaryAttributeAccessControlConfigurationItemProperty {
        PrimaryAttributeValues = new [] { new PrimaryAttributeValueProperty {
            AccessType = "accessType",
            AttributeName = "attributeName",
            Values = new [] { "values" }
        } }
    }
};
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"

dataTableAccessControlConfigurationProperty := &DataTableAccessControlConfigurationProperty{
	PrimaryAttributeAccessControlConfiguration: &PrimaryAttributeAccessControlConfigurationItemProperty{
		PrimaryAttributeValues: []interface{}{
			&PrimaryAttributeValueProperty{
				AccessType: jsii.String("accessType"),
				AttributeName: jsii.String("attributeName"),
				Values: []*string{
					jsii.String("values"),
				},
			},
		},
	},
}

Properties ​

primaryAttributeAccessControlConfigurationoptionalIResolvable | CfnSecurityProfile.PrimaryAttributeAccessControlConfigurationItemPropertyprimary_attribute_access_control_configurationoptionaltyping.Union[IResolvable, PrimaryAttributeAccessControlConfigurationItemProperty]primaryAttributeAccessControlConfigurationoptionalIResolvablePrimaryAttributeAccessControlConfigurationoptionalIResolvablePrimaryAttributeAccessControlConfigurationoptionalinterface{} #
The configuration's primary attribute access control configuration.