Interface CfnTablePropsMixin.SchemaProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTablePropsMixin.SchemaProperty.Jsii$Proxy
- Enclosing class:
CfnTablePropsMixin
@Stability(Stable)
public static interface CfnTablePropsMixin.SchemaProperty
extends software.amazon.jsii.JsiiSerializable
A Schema specifies the expected data model of the table.
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.timestream.*;
SchemaProperty schemaProperty = SchemaProperty.builder()
.compositePartitionKey(List.of(PartitionKeyProperty.builder()
.enforcementInRecord("enforcementInRecord")
.name("name")
.type("type")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTablePropsMixin.SchemaPropertystatic final classAn implementation forCfnTablePropsMixin.SchemaProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCompositePartitionKey
A non-empty list of partition keys defining the attributes used to partition the table data.The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTablePropsMixin.PartitionKeyProperty>- See Also:
-
builder
-