-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPrincipalPermissions_ResourceProperty.go
118 lines (115 loc) · 5.56 KB
/
CfnPrincipalPermissions_ResourceProperty.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
package awslakeformation
// A structure for the resource.
//
// 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 catalog interface{}
// var tableWildcard interface{}
//
// resourceProperty := &ResourceProperty{
// Catalog: catalog,
// Database: &DatabaseResourceProperty{
// CatalogId: jsii.String("catalogId"),
// Name: jsii.String("name"),
// },
// DataCellsFilter: &DataCellsFilterResourceProperty{
// DatabaseName: jsii.String("databaseName"),
// Name: jsii.String("name"),
// TableCatalogId: jsii.String("tableCatalogId"),
// TableName: jsii.String("tableName"),
// },
// DataLocation: &DataLocationResourceProperty{
// CatalogId: jsii.String("catalogId"),
// ResourceArn: jsii.String("resourceArn"),
// },
// LfTag: &LFTagKeyResourceProperty{
// CatalogId: jsii.String("catalogId"),
// TagKey: jsii.String("tagKey"),
// TagValues: []*string{
// jsii.String("tagValues"),
// },
// },
// LfTagPolicy: &LFTagPolicyResourceProperty{
// CatalogId: jsii.String("catalogId"),
// Expression: []interface{}{
// &LFTagProperty{
// TagKey: jsii.String("tagKey"),
// TagValues: []*string{
// jsii.String("tagValues"),
// },
// },
// },
// ResourceType: jsii.String("resourceType"),
// },
// Table: &TableResourceProperty{
// CatalogId: jsii.String("catalogId"),
// DatabaseName: jsii.String("databaseName"),
//
// // the properties below are optional
// Name: jsii.String("name"),
// TableWildcard: tableWildcard,
// },
// TableWithColumns: &TableWithColumnsResourceProperty{
// CatalogId: jsii.String("catalogId"),
// DatabaseName: jsii.String("databaseName"),
// Name: jsii.String("name"),
//
// // the properties below are optional
// ColumnNames: []*string{
// jsii.String("columnNames"),
// },
// ColumnWildcard: &ColumnWildcardProperty{
// ExcludedColumnNames: []*string{
// jsii.String("excludedColumnNames"),
// },
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-resource.html
//
type CfnPrincipalPermissions_ResourceProperty struct {
// The identifier for the Data Catalog.
//
// By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-resource.html#cfn-lakeformation-principalpermissions-resource-catalog
//
Catalog interface{} `field:"optional" json:"catalog" yaml:"catalog"`
// The database for the resource.
//
// Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-resource.html#cfn-lakeformation-principalpermissions-resource-database
//
Database interface{} `field:"optional" json:"database" yaml:"database"`
// A data cell filter.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-resource.html#cfn-lakeformation-principalpermissions-resource-datacellsfilter
//
DataCellsFilter interface{} `field:"optional" json:"dataCellsFilter" yaml:"dataCellsFilter"`
// The location of an Amazon S3 path where permissions are granted or revoked.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-resource.html#cfn-lakeformation-principalpermissions-resource-datalocation
//
DataLocation interface{} `field:"optional" json:"dataLocation" yaml:"dataLocation"`
// The LF-tag key and values attached to a resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-resource.html#cfn-lakeformation-principalpermissions-resource-lftag
//
LfTag interface{} `field:"optional" json:"lfTag" yaml:"lfTag"`
// A list of LF-tag conditions that define a resource's LF-tag policy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-resource.html#cfn-lakeformation-principalpermissions-resource-lftagpolicy
//
LfTagPolicy interface{} `field:"optional" json:"lfTagPolicy" yaml:"lfTagPolicy"`
// The table for the resource.
//
// A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-resource.html#cfn-lakeformation-principalpermissions-resource-table
//
Table interface{} `field:"optional" json:"table" yaml:"table"`
// The table with columns for the resource.
//
// A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-resource.html#cfn-lakeformation-principalpermissions-resource-tablewithcolumns
//
TableWithColumns interface{} `field:"optional" json:"tableWithColumns" yaml:"tableWithColumns"`
}