Class CfnDataTableAttribute

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

@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)", date="2025-12-12T17:54:10.398Z") @Stability(Stable) public class CfnDataTableAttribute extends CfnResource implements IInspectable, IDataTableAttributeRef
Resource Type definition for AWS::Connect::DataTableAttribute.

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.*;
 CfnDataTableAttribute cfnDataTableAttribute = CfnDataTableAttribute.Builder.create(this, "MyCfnDataTableAttribute")
         .dataTableArn("dataTableArn")
         .description("description")
         .instanceArn("instanceArn")
         .name("name")
         .primary(false)
         .validation(ValidationProperty.builder()
                 .enum(EnumProperty.builder()
                         .strict(false)
                         .values(List.of("values"))
                         .build())
                 .exclusiveMaximum(123)
                 .exclusiveMinimum(123)
                 .maximum(123)
                 .maxLength(123)
                 .maxValues(123)
                 .minimum(123)
                 .minLength(123)
                 .minValues(123)
                 .multipleOf(123)
                 .build())
         .valueType("valueType")
         .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

    • CfnDataTableAttribute

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

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

      @Stability(Stable) public CfnDataTableAttribute(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDataTableAttributeProps props)
      Create a new AWS::Connect::DataTableAttribute.

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

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

      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

    • isCfnDataTableAttribute

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

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

      @Stability(Stable) @NotNull public String getAttrAttributeId()
    • getAttrLastModifiedRegion

      @Stability(Stable) @NotNull public String getAttrLastModifiedRegion()
    • getAttrLastModifiedTime

      @Stability(Stable) @NotNull public IResolvable getAttrLastModifiedTime()
    • getAttrLockVersion

      @Stability(Stable) @NotNull public IResolvable getAttrLockVersion()
    • getCfnProperties

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

      @Stability(Stable) @NotNull public DataTableAttributeReference getDataTableAttributeRef()
      A reference to a DataTableAttribute resource.
      Specified by:
      getDataTableAttributeRef in interface IDataTableAttributeRef
    • getDataTableArn

      @Stability(Stable) @Nullable public String getDataTableArn()
    • setDataTableArn

      @Stability(Stable) public void setDataTableArn(@Nullable String value)
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
    • getInstanceArn

      @Stability(Stable) @Nullable public String getInstanceArn()
    • setInstanceArn

      @Stability(Stable) public void setInstanceArn(@Nullable String value)
    • getName

      @Stability(Stable) @Nullable public String getName()
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
    • getPrimary

      @Stability(Stable) @Nullable public Object getPrimary()
      Returns union: either Boolean or IResolvable
    • setPrimary

      @Stability(Stable) public void setPrimary(@Nullable Boolean value)
    • setPrimary

      @Stability(Stable) public void setPrimary(@Nullable IResolvable value)
    • getValidation

      @Stability(Stable) @Nullable public Object getValidation()
    • setValidation

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

      @Stability(Stable) public void setValidation(@Nullable CfnDataTableAttribute.ValidationProperty value)
    • getValueType

      @Stability(Stable) @Nullable public String getValueType()
    • setValueType

      @Stability(Stable) public void setValueType(@Nullable String value)