Skip to content
v2.278.0

CfnDataTableRecordProps Struct ​

Properties for defining a CfnDataTableRecord.

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 cfnDataTableRecordProps: connect.CfnDataTableRecordProps = {
  dataTableArn: 'dataTableArn',
  dataTableRecord: {
    values: [{
      attributeId: 'attributeId',
      attributeValue: 'attributeValue',
    }],

    // the properties below are optional
    primaryValues: [{
      attributeId: 'attributeId',
      attributeValue: 'attributeValue',
    }],
  },
  instanceArn: 'instanceArn',
};
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

cfn_data_table_record_props = connect.CfnDataTableRecordProps(
    data_table_arn="dataTableArn",
    data_table_record=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"
        )]
    ),
    instance_arn="instanceArn"
)
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.*;

CfnDataTableRecordProps cfnDataTableRecordProps = CfnDataTableRecordProps.builder()
        .dataTableArn("dataTableArn")
        .dataTableRecord(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())
        .instanceArn("instanceArn")
        .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 cfnDataTableRecordProps = new CfnDataTableRecordProps {
    DataTableArn = "dataTableArn",
    DataTableRecord = new DataTableRecordProperty {
        Values = new [] { new ValueProperty {
            AttributeId = "attributeId",
            AttributeValue = "attributeValue"
        } },

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

cfnDataTableRecordProps := &CfnDataTableRecordProps{
	DataTableArn: jsii.String("dataTableArn"),
	DataTableRecord: &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"),
			},
		},
	},
	InstanceArn: jsii.String("instanceArn"),
}

Properties ​

dataTableArnstringdata_table_arnstrdataTableArnStringDataTableArnstringDataTableArn*string required #
The Amazon Resource Name (ARN) for the data table.

Does not include version aliases.

dataTableRecordIResolvable | CfnDataTableRecord.DataTableRecordPropertydata_table_recordtyping.Union[IResolvable, DataTableRecordProperty]dataTableRecordIResolvableDataTableRecordIResolvableDataTableRecordinterface{} required #
instanceArnstringinstance_arnstrinstanceArnStringInstanceArnstringInstanceArn*string required #
The Amazon Resource Name (ARN) of the instance.