Interface CfnDataTableAttributeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataTableAttributeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-09T10:20:16.009Z")
@Stability(Stable)
public interface CfnDataTableAttributeProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDataTableAttribute.
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.*;
CfnDataTableAttributeProps cfnDataTableAttributeProps = CfnDataTableAttributeProps.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataTableAttributePropsstatic final classAn implementation forCfnDataTableAttributeProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the data table that contains this attribute.default StringAn optional description explaining the purpose and usage of this attribute.default StringThe Amazon Resource Name (ARN) of the instance.default StringgetName()The human-readable name of the attribute.default ObjectBoolean indicating whether this attribute is used as a primary key for record identification.default ObjectThe validation rules applied to values of this attribute.default StringThe type of value allowed for this attribute.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataTableArn
The Amazon Resource Name (ARN) of the data table that contains this attribute.- See Also:
-
getDescription
An optional description explaining the purpose and usage of this attribute.- See Also:
-
getInstanceArn
The Amazon Resource Name (ARN) of the instance.- See Also:
-
getName
The human-readable name of the attribute.Must be unique within the data table and conform to Connect naming standards.
- See Also:
-
getPrimary
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.
Returns union: either
BooleanorIResolvable- See Also:
-
getValidation
The validation rules applied to values of this attribute.Based on JSON Schema Draft 2020-12 with additional Connect-specific validations for data integrity.
Returns union: either
IResolvableorCfnDataTableAttribute.ValidationProperty- See Also:
-
getValueType
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 Also:
-
builder
- Returns:
- a
CfnDataTableAttributeProps.BuilderofCfnDataTableAttributeProps
-