1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. connect
  5. DataTableAttribute

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.50.0 published on Monday, Jan 26, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.50.0 published on Monday, Jan 26, 2026 by Pulumi

    Resource Type definition for AWS::Connect::DataTableAttribute

    Create DataTableAttribute Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DataTableAttribute(name: string, args?: DataTableAttributeArgs, opts?: CustomResourceOptions);
    @overload
    def DataTableAttribute(resource_name: str,
                           args: Optional[DataTableAttributeArgs] = None,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def DataTableAttribute(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           data_table_arn: Optional[str] = None,
                           description: Optional[str] = None,
                           instance_arn: Optional[str] = None,
                           name: Optional[str] = None,
                           primary: Optional[bool] = None,
                           validation: Optional[ValidationPropertiesArgs] = None,
                           value_type: Optional[DataTableAttributeValueType] = None)
    func NewDataTableAttribute(ctx *Context, name string, args *DataTableAttributeArgs, opts ...ResourceOption) (*DataTableAttribute, error)
    public DataTableAttribute(string name, DataTableAttributeArgs? args = null, CustomResourceOptions? opts = null)
    public DataTableAttribute(String name, DataTableAttributeArgs args)
    public DataTableAttribute(String name, DataTableAttributeArgs args, CustomResourceOptions options)
    
    type: aws-native:connect:DataTableAttribute
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DataTableAttributeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DataTableAttributeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DataTableAttributeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DataTableAttributeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DataTableAttributeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DataTableAttribute Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DataTableAttribute resource accepts the following input properties:

    DataTableArn string
    The Amazon Resource Name (ARN) of the data table that contains this attribute.
    Description string
    An optional description explaining the purpose and usage of this attribute.
    InstanceArn string
    The Amazon Resource Name (ARN) of the instance.
    Name string
    The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards.
    Primary bool
    Boolean indicating whether this attribute is used as a primary key for record identification. Primary attributes must have unique value combinations and cannot contain expressions.
    Validation Pulumi.AwsNative.Connect.Inputs.ValidationProperties
    The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.
    ValueType Pulumi.AwsNative.Connect.DataTableAttributeValueType
    The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed.
    DataTableArn string
    The Amazon Resource Name (ARN) of the data table that contains this attribute.
    Description string
    An optional description explaining the purpose and usage of this attribute.
    InstanceArn string
    The Amazon Resource Name (ARN) of the instance.
    Name string
    The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards.
    Primary bool
    Boolean indicating whether this attribute is used as a primary key for record identification. Primary attributes must have unique value combinations and cannot contain expressions.
    Validation ValidationPropertiesArgs
    The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.
    ValueType DataTableAttributeValueType
    The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed.
    dataTableArn String
    The Amazon Resource Name (ARN) of the data table that contains this attribute.
    description String
    An optional description explaining the purpose and usage of this attribute.
    instanceArn String
    The Amazon Resource Name (ARN) of the instance.
    name String
    The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards.
    primary Boolean
    Boolean indicating whether this attribute is used as a primary key for record identification. Primary attributes must have unique value combinations and cannot contain expressions.
    validation ValidationProperties
    The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.
    valueType DataTableAttributeValueType
    The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed.
    dataTableArn string
    The Amazon Resource Name (ARN) of the data table that contains this attribute.
    description string
    An optional description explaining the purpose and usage of this attribute.
    instanceArn string
    The Amazon Resource Name (ARN) of the instance.
    name string
    The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards.
    primary boolean
    Boolean indicating whether this attribute is used as a primary key for record identification. Primary attributes must have unique value combinations and cannot contain expressions.
    validation ValidationProperties
    The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.
    valueType DataTableAttributeValueType
    The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed.
    data_table_arn str
    The Amazon Resource Name (ARN) of the data table that contains this attribute.
    description str
    An optional description explaining the purpose and usage of this attribute.
    instance_arn str
    The Amazon Resource Name (ARN) of the instance.
    name str
    The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards.
    primary bool
    Boolean indicating whether this attribute is used as a primary key for record identification. Primary attributes must have unique value combinations and cannot contain expressions.
    validation ValidationPropertiesArgs
    The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.
    value_type DataTableAttributeValueType
    The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed.
    dataTableArn String
    The Amazon Resource Name (ARN) of the data table that contains this attribute.
    description String
    An optional description explaining the purpose and usage of this attribute.
    instanceArn String
    The Amazon Resource Name (ARN) of the instance.
    name String
    The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards.
    primary Boolean
    Boolean indicating whether this attribute is used as a primary key for record identification. Primary attributes must have unique value combinations and cannot contain expressions.
    validation Property Map
    The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.
    valueType "TEXT" | "NUMBER" | "BOOLEAN" | "TEXT_LIST" | "NUMBER_LIST"
    The type of value allowed for this attribute. Must be one of TEXT, TEXT_LIST, NUMBER, NUMBER_LIST, or BOOLEAN. Determines how values are validated and processed.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DataTableAttribute resource produces the following output properties:

    AttributeId string
    The unique identifier for the attribute within the data table.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedRegion string
    The AWS Region where this attribute was last modified, used for region replication.
    LastModifiedTime double
    The timestamp when this attribute was last modified.
    LockVersion Pulumi.AwsNative.Connect.Outputs.LockVersionProperties
    AttributeId string
    The unique identifier for the attribute within the data table.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedRegion string
    The AWS Region where this attribute was last modified, used for region replication.
    LastModifiedTime float64
    The timestamp when this attribute was last modified.
    LockVersion LockVersionProperties
    attributeId String
    The unique identifier for the attribute within the data table.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedRegion String
    The AWS Region where this attribute was last modified, used for region replication.
    lastModifiedTime Double
    The timestamp when this attribute was last modified.
    lockVersion LockVersionProperties
    attributeId string
    The unique identifier for the attribute within the data table.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedRegion string
    The AWS Region where this attribute was last modified, used for region replication.
    lastModifiedTime number
    The timestamp when this attribute was last modified.
    lockVersion LockVersionProperties
    attribute_id str
    The unique identifier for the attribute within the data table.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_region str
    The AWS Region where this attribute was last modified, used for region replication.
    last_modified_time float
    The timestamp when this attribute was last modified.
    lock_version LockVersionProperties
    attributeId String
    The unique identifier for the attribute within the data table.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedRegion String
    The AWS Region where this attribute was last modified, used for region replication.
    lastModifiedTime Number
    The timestamp when this attribute was last modified.
    lockVersion Property Map

    Supporting Types

    DataTableAttributeValueType, DataTableAttributeValueTypeArgs

    Text
    TEXT
    Number
    NUMBER
    Boolean
    BOOLEAN
    TextList
    TEXT_LIST
    NumberList
    NUMBER_LIST
    DataTableAttributeValueTypeText
    TEXT
    DataTableAttributeValueTypeNumber
    NUMBER
    DataTableAttributeValueTypeBoolean
    BOOLEAN
    DataTableAttributeValueTypeTextList
    TEXT_LIST
    DataTableAttributeValueTypeNumberList
    NUMBER_LIST
    Text
    TEXT
    Number
    NUMBER
    Boolean
    BOOLEAN
    TextList
    TEXT_LIST
    NumberList
    NUMBER_LIST
    Text
    TEXT
    Number
    NUMBER
    Boolean
    BOOLEAN
    TextList
    TEXT_LIST
    NumberList
    NUMBER_LIST
    TEXT
    TEXT
    NUMBER
    NUMBER
    BOOLEAN
    BOOLEAN
    TEXT_LIST
    TEXT_LIST
    NUMBER_LIST
    NUMBER_LIST
    "TEXT"
    TEXT
    "NUMBER"
    NUMBER
    "BOOLEAN"
    BOOLEAN
    "TEXT_LIST"
    TEXT_LIST
    "NUMBER_LIST"
    NUMBER_LIST

    LockVersionProperties, LockVersionPropertiesArgs

    Attribute string
    DataTable string
    Attribute string
    DataTable string
    attribute String
    dataTable String
    attribute string
    dataTable string
    attribute String
    dataTable String

    ValidationProperties, ValidationPropertiesArgs

    The validation rules applied to values of this attribute. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.
    Enum Pulumi.AwsNative.Connect.Inputs.ValidationPropertiesEnumProperties
    Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.
    ExclusiveMaximum double
    The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST.
    ExclusiveMinimum double
    The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST.
    MaxLength int
    The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength.
    MaxValues int
    The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types.
    Maximum double
    The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST.
    MinLength int
    The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength.
    MinValues int
    The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types.
    Minimum double
    The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST.
    MultipleOf double
    Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST.
    Enum ValidationPropertiesEnumProperties
    Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.
    ExclusiveMaximum float64
    The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST.
    ExclusiveMinimum float64
    The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST.
    MaxLength int
    The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength.
    MaxValues int
    The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types.
    Maximum float64
    The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST.
    MinLength int
    The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength.
    MinValues int
    The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types.
    Minimum float64
    The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST.
    MultipleOf float64
    Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST.
    enum_ ValidationPropertiesEnumProperties
    Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.
    exclusiveMaximum Double
    The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST.
    exclusiveMinimum Double
    The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST.
    maxLength Integer
    The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength.
    maxValues Integer
    The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types.
    maximum Double
    The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST.
    minLength Integer
    The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength.
    minValues Integer
    The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types.
    minimum Double
    The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST.
    multipleOf Double
    Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST.
    enum ValidationPropertiesEnumProperties
    Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.
    exclusiveMaximum number
    The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST.
    exclusiveMinimum number
    The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST.
    maxLength number
    The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength.
    maxValues number
    The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types.
    maximum number
    The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST.
    minLength number
    The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength.
    minValues number
    The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types.
    minimum number
    The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST.
    multipleOf number
    Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST.
    enum ValidationPropertiesEnumProperties
    Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.
    exclusive_maximum float
    The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST.
    exclusive_minimum float
    The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST.
    max_length int
    The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength.
    max_values int
    The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types.
    maximum float
    The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST.
    min_length int
    The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength.
    min_values int
    The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types.
    minimum float
    The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST.
    multiple_of float
    Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST.
    enum Property Map
    Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.
    exclusiveMaximum Number
    The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST.
    exclusiveMinimum Number
    The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST.
    maxLength Number
    The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength.
    maxValues Number
    The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types.
    maximum Number
    The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST.
    minLength Number
    The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength.
    minValues Number
    The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types.
    minimum Number
    The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST.
    multipleOf Number
    Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST.

    ValidationPropertiesEnumProperties, ValidationPropertiesEnumPropertiesArgs

    Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.
    Strict bool
    Values List<string>
    Strict bool
    Values []string
    strict Boolean
    values List<String>
    strict boolean
    values string[]
    strict bool
    values Sequence[str]
    strict Boolean
    values List<String>

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.50.0 published on Monday, Jan 26, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate