-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTable_SchemaProperty.go
33 lines (30 loc) · 1.36 KB
/
CfnTable_SchemaProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package awstimestream
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// schemaProperty := &SchemaProperty{
// CompositePartitionKey: []interface{}{
// &PartitionKeyProperty{
// Type: jsii.String("type"),
//
// // the properties below are optional
// EnforcementInRecord: jsii.String("enforcementInRecord"),
// Name: jsii.String("name"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-table-schema.html
//
type CfnTable_SchemaProperty struct {
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-table-schema.html#cfn-timestream-table-schema-compositepartitionkey
//
CompositePartitionKey interface{} `field:"optional" json:"compositePartitionKey" yaml:"compositePartitionKey"`
}