Skip to content
v2.278.0

CfnDataTableProps Struct ​

Properties for defining a CfnDataTable.

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 cfnDataTableProps: connect.CfnDataTableProps = {
  instanceArn: 'instanceArn',
  name: 'name',
  status: 'status',
  timeZone: 'timeZone',
  valueLockLevel: 'valueLockLevel',

  // the properties below are optional
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# 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_props = connect.CfnDataTableProps(
    instance_arn="instanceArn",
    name="name",
    status="status",
    time_zone="timeZone",
    value_lock_level="valueLockLevel",

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.*;

CfnDataTableProps cfnDataTableProps = CfnDataTableProps.builder()
        .instanceArn("instanceArn")
        .name("name")
        .status("status")
        .timeZone("timeZone")
        .valueLockLevel("valueLockLevel")

        // the properties below are optional
        .description("description")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .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 cfnDataTableProps = new CfnDataTableProps {
    InstanceArn = "instanceArn",
    Name = "name",
    Status = "status",
    TimeZone = "timeZone",
    ValueLockLevel = "valueLockLevel",

    // the properties below are optional
    Description = "description",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnDataTableProps := &CfnDataTableProps{
	InstanceArn: jsii.String("instanceArn"),
	Name: jsii.String("name"),
	Status: jsii.String("status"),
	TimeZone: jsii.String("timeZone"),
	ValueLockLevel: jsii.String("valueLockLevel"),

	// the properties below are optional
	Description: jsii.String("description"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
An optional description of the data table's purpose and contents.
instanceArnstringinstance_arnstrinstanceArnStringInstanceArnstringInstanceArn*string required #
The Amazon Resource Name (ARN) of the instance.
namestringnamestrnameStringNamestringName*string required #
The human-readable name of the data table.

Must be unique within the instance and conform to Connect naming standards.

statusstringstatusstrstatusStringStatusstringStatus*string required #
The current status of the data table.

One of PUBLISHED or SAVED.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
Key-value pairs for attribute based access control (TBAC or ABAC) and organization.
timeZonestringtime_zonestrtimeZoneStringTimeZonestringTimeZone*string required #
The IANA timezone identifier used when resolving time based dynamic values.

Required even if no time slices are specified.

valueLockLevelstringvalue_lock_levelstrvalueLockLevelStringValueLockLevelstringValueLockLevel*string required #
The data level that concurrent value edits are locked on.

One of DATA_TABLE, PRIMARY_VALUE, ATTRIBUTE, VALUE, and NONE. Determines how concurrent edits are handled when multiple users attempt to modify values simultaneously.