-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTable_SchemaReferenceProperty.go
42 lines (39 loc) · 1.81 KB
/
CfnTable_SchemaReferenceProperty.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
package awsglue
// An object that references a schema stored in the AWS Glue Schema Registry.
//
// 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"
//
// schemaReferenceProperty := &SchemaReferenceProperty{
// SchemaId: &SchemaIdProperty{
// RegistryName: jsii.String("registryName"),
// SchemaArn: jsii.String("schemaArn"),
// SchemaName: jsii.String("schemaName"),
// },
// SchemaVersionId: jsii.String("schemaVersionId"),
// SchemaVersionNumber: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemareference.html
//
type CfnTable_SchemaReferenceProperty struct {
// A structure that contains schema identity fields.
//
// Either this or the `SchemaVersionId` has to be
// provided.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemareference.html#cfn-glue-table-schemareference-schemaid
//
SchemaId interface{} `field:"optional" json:"schemaId" yaml:"schemaId"`
// The unique ID assigned to a version of the schema.
//
// Either this or the `SchemaId` has to be provided.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemareference.html#cfn-glue-table-schemareference-schemaversionid
//
SchemaVersionId *string `field:"optional" json:"schemaVersionId" yaml:"schemaVersionId"`
// The version number of the schema.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemareference.html#cfn-glue-table-schemareference-schemaversionnumber
//
SchemaVersionNumber *float64 `field:"optional" json:"schemaVersionNumber" yaml:"schemaVersionNumber"`
}