CfnDataTableAttributeMixinProps

class aws_cdk.mixins_preview.aws_connect.mixins.CfnDataTableAttributeMixinProps(*, data_table_arn=None, description=None, instance_arn=None, name=None, primary=None, validation=None, value_type=None)

Bases: object

Properties for CfnDataTableAttributePropsMixin.

Parameters:
  • data_table_arn (Optional[str]) – The Amazon Resource Name (ARN) of the data table that contains this attribute.

  • description (Optional[str]) – An optional description explaining the purpose and usage of this attribute.

  • instance_arn (Optional[str]) – The Amazon Resource Name (ARN) of the instance.

  • name (Optional[str]) – The human-readable name of the attribute. Must be unique within the data table and conform to Connect naming standards.

  • primary (Union[bool, IResolvable, None]) – 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 (Union[IResolvable, ValidationProperty, Dict[str, Any], None]) – 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 (Optional[str]) – 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-datatableattribute.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins

cfn_data_table_attribute_mixin_props = connect_mixins.CfnDataTableAttributeMixinProps(
    data_table_arn="dataTableArn",
    description="description",
    instance_arn="instanceArn",
    name="name",
    primary=False,
    validation=connect_mixins.CfnDataTableAttributePropsMixin.ValidationProperty(
        enum=connect_mixins.CfnDataTableAttributePropsMixin.EnumProperty(
            strict=False,
            values=["values"]
        ),
        exclusive_maximum=123,
        exclusive_minimum=123,
        maximum=123,
        max_length=123,
        max_values=123,
        minimum=123,
        min_length=123,
        min_values=123,
        multiple_of=123
    ),
    value_type="valueType"
)

Attributes

data_table_arn

The Amazon Resource Name (ARN) of the data table that contains this attribute.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-datatableattribute.html#cfn-connect-datatableattribute-datatablearn

description

An optional description explaining the purpose and usage of this attribute.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-datatableattribute.html#cfn-connect-datatableattribute-description

instance_arn

The Amazon Resource Name (ARN) of the instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-datatableattribute.html#cfn-connect-datatableattribute-instancearn

name

The human-readable name of the attribute.

Must be unique within the data table and conform to Connect naming standards.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-datatableattribute.html#cfn-connect-datatableattribute-name

primary

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-datatableattribute.html#cfn-connect-datatableattribute-primary

validation

The validation rules applied to values of this attribute.

Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-datatableattribute.html#cfn-connect-datatableattribute-validation

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-datatableattribute.html#cfn-connect-datatableattribute-valuetype