# DataTableRecordProperty

- Source: Generated at build time
- Type last changed: v2.233.0 · 18 Dec 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    } }
};
```

Golang:

```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

- `primaryValues`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataTableRecord.ValueProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnDataTableRecord.ValueProperty.html)[]

- `values`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataTableRecord.ValueProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnDataTableRecord.ValueProperty.html)[] (required)
