Skip to content
v2.278.0

DataTableRecordProperty Struct ​

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 dataTableRecordProperty: connect.CfnDataTableRecord.DataTableRecordProperty = {
  values: [{
    attributeId: 'attributeId',
    attributeValue: 'attributeValue',
  }],

  // the properties below are optional
  primaryValues: [{
    attributeId: 'attributeId',
    attributeValue: 'attributeValue',
  }],
};
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_record_property = connect.CfnDataTableRecord.DataTableRecordProperty(
    values=[connect.CfnDataTableRecord.ValueProperty(
        attribute_id="attributeId",
        attribute_value="attributeValue"
    )],

    # the properties below are optional
    primary_values=[connect.CfnDataTableRecord.ValueProperty(
        attribute_id="attributeId",
        attribute_value="attributeValue"
    )]
)
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.*;

DataTableRecordProperty dataTableRecordProperty = DataTableRecordProperty.builder()
        .values(List.of(ValueProperty.builder()
                .attributeId("attributeId")
                .attributeValue("attributeValue")
                .build()))

        // the properties below are optional
        .primaryValues(List.of(ValueProperty.builder()
                .attributeId("attributeId")
                .attributeValue("attributeValue")
                .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 dataTableRecordProperty = new DataTableRecordProperty {
    Values = new [] { new ValueProperty {
        AttributeId = "attributeId",
        AttributeValue = "attributeValue"
    } },

    // the properties below are optional
    PrimaryValues = new [] { new ValueProperty {
        AttributeId = "attributeId",
        AttributeValue = "attributeValue"
    } }
};
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"

dataTableRecordProperty := &DataTableRecordProperty{
	Values: []interface{}{
		&ValueProperty{
			AttributeId: jsii.String("attributeId"),
			AttributeValue: jsii.String("attributeValue"),
		},
	},

	// the properties below are optional
	PrimaryValues: []interface{}{
		&ValueProperty{
			AttributeId: jsii.String("attributeId"),
			AttributeValue: jsii.String("attributeValue"),
		},
	},
}

Properties ​

primaryValuesoptionalIResolvable | IResolvable | CfnDataTableRecord.ValueProperty[]primary_valuesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ValueProperty]]]primaryValuesoptionalIResolvablePrimaryValuesoptionalIResolvablePrimaryValuesoptionalinterface{} #
valuesIResolvable | IResolvable | CfnDataTableRecord.ValueProperty[]valuestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ValueProperty]]]valuesIResolvableValuesIResolvableValuesinterface{} required #