We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
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:
- Data
Table stringArn - 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.
- Instance
Arn 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.
Aws Native. Connect. Inputs. Validation Properties - 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 Pulumi.Aws Native. Connect. Data Table Attribute Value Type - 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 stringArn - 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.
- Instance
Arn 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
Validation
Properties Args - 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 DataTable Attribute Value Type - 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 StringArn - 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.
- instance
Arn 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
Validation
Properties - 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 DataTable Attribute Value Type - 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 stringArn - 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.
- instance
Arn 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
Validation
Properties - 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 DataTable Attribute Value Type - 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_ strarn - 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
Validation
Properties Args - 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 DataTable Attribute Value Type - 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 StringArn - 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.
- instance
Arn 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.
- value
Type "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:
- Attribute
Id string - The unique identifier for the attribute within the data table.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringRegion - The AWS Region where this attribute was last modified, used for region replication.
- Last
Modified doubleTime - The timestamp when this attribute was last modified.
- Lock
Version Pulumi.Aws Native. Connect. Outputs. Lock Version Properties
- Attribute
Id string - The unique identifier for the attribute within the data table.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringRegion - The AWS Region where this attribute was last modified, used for region replication.
- Last
Modified float64Time - The timestamp when this attribute was last modified.
- Lock
Version LockVersion Properties
- attribute
Id String - The unique identifier for the attribute within the data table.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringRegion - The AWS Region where this attribute was last modified, used for region replication.
- last
Modified DoubleTime - The timestamp when this attribute was last modified.
- lock
Version LockVersion Properties
- attribute
Id string - The unique identifier for the attribute within the data table.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringRegion - The AWS Region where this attribute was last modified, used for region replication.
- last
Modified numberTime - The timestamp when this attribute was last modified.
- lock
Version LockVersion Properties
- 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_ strregion - The AWS Region where this attribute was last modified, used for region replication.
- last_
modified_ floattime - The timestamp when this attribute was last modified.
- lock_
version LockVersion Properties
- attribute
Id String - The unique identifier for the attribute within the data table.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringRegion - The AWS Region where this attribute was last modified, used for region replication.
- last
Modified NumberTime - The timestamp when this attribute was last modified.
- lock
Version Property Map
Supporting Types
DataTableAttributeValueType, DataTableAttributeValueTypeArgs
- Text
TEXT- Number
NUMBER- Boolean
BOOLEAN- Text
List TEXT_LIST- Number
List NUMBER_LIST
- Data
Table Attribute Value Type Text TEXT- Data
Table Attribute Value Type Number NUMBER- Data
Table Attribute Value Type Boolean BOOLEAN- Data
Table Attribute Value Type Text List TEXT_LIST- Data
Table Attribute Value Type Number List 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
- 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 str
- data_
table str
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.
Aws Native. Connect. Inputs. Validation Properties Enum Properties - 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 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.
- Exclusive
Minimum 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.
- 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 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.
- 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 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.
- Multiple
Of 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
Validation
Properties Enum Properties - 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 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.
- Exclusive
Minimum 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.
- 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 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.
- 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 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.
- Multiple
Of 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_
Validation
Properties Enum Properties - 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 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.
- exclusive
Minimum 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.
- max
Length 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.
- max
Values 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.
- min
Length 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.
- min
Values 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.
- multiple
Of 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
Validation
Properties Enum Properties - 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 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.
- exclusive
Minimum 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.
- max
Length 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.
- max
Values 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.
- min
Length 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.
- min
Values 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.
- multiple
Of 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
Validation
Properties Enum Properties - 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.
- exclusive
Maximum 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.
- exclusive
Minimum 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.
- max
Length 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.
- max
Values 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.
- min
Length 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.
- min
Values 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.
- multiple
Of 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.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
