-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTableOptimizerProps.go
52 lines (49 loc) · 2.29 KB
/
CfnTableOptimizerProps.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package awsglue
// Properties for defining a `CfnTableOptimizer`.
//
// 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"
//
// cfnTableOptimizerProps := &CfnTableOptimizerProps{
// CatalogId: jsii.String("catalogId"),
// DatabaseName: jsii.String("databaseName"),
// TableName: jsii.String("tableName"),
// TableOptimizerConfiguration: &TableOptimizerConfigurationProperty{
// Enabled: jsii.Boolean(false),
// RoleArn: jsii.String("roleArn"),
// },
// Type: jsii.String("type"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html
//
type CfnTableOptimizerProps struct {
// The catalog ID of the table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-catalogid
//
CatalogId *string `field:"required" json:"catalogId" yaml:"catalogId"`
// The name of the database.
//
// For Hive compatibility, this is folded to lowercase when it is stored.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-databasename
//
DatabaseName *string `field:"required" json:"databaseName" yaml:"databaseName"`
// The table name.
//
// For Hive compatibility, this must be entirely lowercase.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-tablename
//
TableName *string `field:"required" json:"tableName" yaml:"tableName"`
// Specifies configuration details of a table optimizer.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-tableoptimizerconfiguration
//
TableOptimizerConfiguration interface{} `field:"required" json:"tableOptimizerConfiguration" yaml:"tableOptimizerConfiguration"`
// The type of table optimizer.
//
// Currently, the only valid value is compaction.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-tableoptimizer.html#cfn-glue-tableoptimizer-type
//
Type *string `field:"required" json:"type" yaml:"type"`
}