-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTagAssociation_TableResourceProperty.go
50 lines (47 loc) · 2.62 KB
/
CfnTagAssociation_TableResourceProperty.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
package awslakeformation
// A structure for the table object.
//
// A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
//
// 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"
//
// var tableWildcard interface{}
//
// tableResourceProperty := &TableResourceProperty{
// CatalogId: jsii.String("catalogId"),
// DatabaseName: jsii.String("databaseName"),
//
// // the properties below are optional
// Name: jsii.String("name"),
// TableWildcard: tableWildcard,
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-tagassociation-tableresource.html
//
type CfnTagAssociation_TableResourceProperty struct {
// The identifier for the Data Catalog .
//
// By default, it is the account ID of the caller.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-tagassociation-tableresource.html#cfn-lakeformation-tagassociation-tableresource-catalogid
//
CatalogId *string `field:"required" json:"catalogId" yaml:"catalogId"`
// The name of the database for the table.
//
// Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-tagassociation-tableresource.html#cfn-lakeformation-tagassociation-tableresource-databasename
//
DatabaseName *string `field:"required" json:"databaseName" yaml:"databaseName"`
// The name of the table.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-tagassociation-tableresource.html#cfn-lakeformation-tagassociation-tableresource-name
//
Name *string `field:"optional" json:"name" yaml:"name"`
// A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter. The valid inputs for a property with this type in either yaml or json is null or {}.
//
// At least one of `TableResource$Name` or `TableResource$TableWildcard` is required.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-tagassociation-tableresource.html#cfn-lakeformation-tagassociation-tableresource-tablewildcard
//
TableWildcard interface{} `field:"optional" json:"tableWildcard" yaml:"tableWildcard"`
}