Class CfnDataTableRecord

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

@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)", date="2025-12-18T18:20:07.677Z") @Stability(Stable) public class CfnDataTableRecord extends CfnResource implements IInspectable, IDataTableRecordRef
Resource Type definition for AWS::Connect::DataTableRecord.

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.*;
 CfnDataTableRecord cfnDataTableRecord = CfnDataTableRecord.Builder.create(this, "MyCfnDataTableRecord")
         .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();
 

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

    • CfnDataTableRecord

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

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

      @Stability(Stable) public CfnDataTableRecord(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDataTableRecordProps props)
      Create a new AWS::Connect::DataTableRecord.

      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.
    • CfnDataTableRecord

      @Stability(Stable) public CfnDataTableRecord(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::Connect::DataTableRecord.

      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

    • isCfnDataTableRecord

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

      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.
    • getAttrRecordId

      @Stability(Stable) @NotNull public String getAttrRecordId()
    • getCfnProperties

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

      @Stability(Stable) @NotNull public DataTableRecordReference getDataTableRecordRef()
      A reference to a DataTableRecord resource.
      Specified by:
      getDataTableRecordRef in interface IDataTableRecordRef
    • getDataTableArn

      @Stability(Stable) @Nullable public String getDataTableArn()
      The Amazon Resource Name (ARN) for the data table.
    • setDataTableArn

      @Stability(Stable) public void setDataTableArn(@Nullable String value)
      The Amazon Resource Name (ARN) for the data table.
    • getDataTableRecord

      @Stability(Stable) @Nullable public Object getDataTableRecord()
    • setDataTableRecord

      @Stability(Stable) public void setDataTableRecord(@Nullable IResolvable value)
    • setDataTableRecord

      @Stability(Stable) public void setDataTableRecord(@Nullable CfnDataTableRecord.DataTableRecordProperty value)
    • 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.