Skip to content
v2.278.0

PrimaryAttributeAccessControlConfigurationItemProperty ​

Struct External

A primary attribute access control configuration item.

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 primaryAttributeAccessControlConfigurationItemProperty: connect.CfnSecurityProfile.PrimaryAttributeAccessControlConfigurationItemProperty = {
  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

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

PrimaryAttributeAccessControlConfigurationItemProperty primaryAttributeAccessControlConfigurationItemProperty = PrimaryAttributeAccessControlConfigurationItemProperty.builder()
        .primaryAttributeValues(List.of(PrimaryAttributeValueProperty.builder()
                .accessType("accessType")
                .attributeName("attributeName")
                .values(List.of("values"))
                .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 primaryAttributeAccessControlConfigurationItemProperty = 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"

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

Properties ​

primaryAttributeValuesoptionalIResolvable | IResolvable | CfnSecurityProfile.PrimaryAttributeValueProperty[]primary_attribute_valuesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, PrimaryAttributeValueProperty]]]primaryAttributeValuesoptionalIResolvablePrimaryAttributeValuesoptionalIResolvablePrimaryAttributeValuesoptionalinterface{} #
The item's primary attribute values.