Class CfnDataTable

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IDataTableRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-08-19T15:41:15.503Z") @Stability(Stable) public class CfnDataTable extends CfnResource implements IInspectable, IDataTableRef, ITaggableV2
Represents a data table in Amazon Connect.

A data table is a JSON-like data structure where attributes and values are dynamically set by customers. Customers can reference table values within call flows, applications, views, and workspaces to pinpoint dynamic configuration that changes their contact center's behavior in a predetermined and safe way.

Example:

 // 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.*;
 CfnDataTable cfnDataTable = CfnDataTable.Builder.create(this, "MyCfnDataTable")
         .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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnDataTable

      protected CfnDataTable(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnDataTable

      protected CfnDataTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnDataTable

      @Stability(Stable) public CfnDataTable(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDataTableProps props)
      Create a new AWS::Connect::DataTable.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForDataTable

      @Stability(Stable) @NotNull public static String arnForDataTable(@NotNull IDataTableRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnDataTable

      @Stability(Stable) @NotNull public static Boolean isCfnDataTable(@NotNull Object x)
      Checks whether the given object is a CfnDataTable.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) for the data table.

      Does not include version aliases.

    • getAttrCreatedTime

      @Stability(Stable) @NotNull public IResolvable getAttrCreatedTime()
      The timestamp when the data table was created.
    • getAttrLastModifiedRegion

      @Stability(Stable) @NotNull public String getAttrLastModifiedRegion()
      The AWS Region where the data table was last modified, used for region replication.
    • getAttrLastModifiedTime

      @Stability(Stable) @NotNull public IResolvable getAttrLastModifiedTime()
      The timestamp when the data table or any of its properties were last modified.
    • getAttrLockVersion

      @Stability(Stable) @NotNull public IResolvable getAttrLockVersion()
      The lock version of the Data Table.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getDataTableRef

      @Stability(Stable) @NotNull public DataTableReference getDataTableRef()
      A reference to a DataTable resource.
      Specified by:
      getDataTableRef in interface IDataTableRef
    • getInstanceArn

      @Stability(Stable) @NotNull public String getInstanceArn()
      The Amazon Resource Name (ARN) of the instance.
    • setInstanceArn

      @Stability(Stable) public void setInstanceArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the instance.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The human-readable name of the data table.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The human-readable name of the data table.
    • getStatus

      @Stability(Stable) @NotNull public String getStatus()
      The current status of the data table.
    • setStatus

      @Stability(Stable) public void setStatus(@NotNull String value)
      The current status of the data table.
    • getTimeZone

      @Stability(Stable) @NotNull public String getTimeZone()
      The IANA timezone identifier used when resolving time based dynamic values.
    • setTimeZone

      @Stability(Stable) public void setTimeZone(@NotNull String value)
      The IANA timezone identifier used when resolving time based dynamic values.
    • getValueLockLevel

      @Stability(Stable) @NotNull public String getValueLockLevel()
      The data level that concurrent value edits are locked on.
    • setValueLockLevel

      @Stability(Stable) public void setValueLockLevel(@NotNull String value)
      The data level that concurrent value edits are locked on.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      An optional description of the data table's purpose and contents.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      An optional description of the data table's purpose and contents.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Key-value pairs for attribute based access control (TBAC or ABAC) and organization.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Key-value pairs for attribute based access control (TBAC or ABAC) and organization.