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.125.0 (build fdbe357)", date="2026-01-23T11:19:44.331Z") @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")
         .description("description")
         .instanceArn("instanceArn")
         .name("name")
         .status("status")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .timeZone("timeZone")
         .valueLockLevel("valueLockLevel")
         .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, @Nullable 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.
    • CfnDataTable

      @Stability(Stable) public CfnDataTable(@NotNull software.constructs.Construct scope, @NotNull String id)
      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.
  • 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
    • getDataTableRef

      @Stability(Stable) @NotNull public DataTableReference getDataTableRef()
      A reference to a DataTable resource.
      Specified by:
      getDataTableRef in interface IDataTableRef
    • 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.
    • getInstanceArn

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

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

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

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

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

      @Stability(Stable) public void setStatus(@Nullable String value)
      The current status of the data table.
    • 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.
    • getTimeZone

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

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

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

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