Class CfnDataTableAttributePropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnDataTableAttributePropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:19:57.538Z") @Stability(Stable) public class CfnDataTableAttributePropsMixin extends Mixin implements software.constructs.IMixin
Represents an attribute (column) in a data table.

Attributes define the schema and validation rules for values that can be stored in the table. They specify the data type, constraints, and whether the attribute is used as a primary key for record identification.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.connect.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnDataTableAttributePropsMixin cfnDataTableAttributePropsMixin = CfnDataTableAttributePropsMixin.Builder.create(CfnDataTableAttributeMixinProps.builder()
         .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())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnDataTableAttributePropsMixin

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

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

      @Stability(Stable) public CfnDataTableAttributePropsMixin(@NotNull CfnDataTableAttributeMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::Connect::DataTableAttribute.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnDataTableAttributePropsMixin

      @Stability(Stable) public CfnDataTableAttributePropsMixin(@NotNull CfnDataTableAttributeMixinProps props)
      Create a mixin to apply properties to AWS::Connect::DataTableAttribute.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnDataTableAttributeMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()