-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPermissions_ResourceProperty.go
66 lines (63 loc) · 2.96 KB
/
CfnPermissions_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
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"
//
// resourceProperty := &ResourceProperty{
// DatabaseResource: &DatabaseResourceProperty{
// CatalogId: jsii.String("catalogId"),
// Name: jsii.String("name"),
// },
// DataLocationResource: &DataLocationResourceProperty{
// CatalogId: jsii.String("catalogId"),
// S3Resource: jsii.String("s3Resource"),
// },
// TableResource: &TableResourceProperty{
// CatalogId: jsii.String("catalogId"),
// DatabaseName: jsii.String("databaseName"),
// Name: jsii.String("name"),
// TableWildcard: &TableWildcardProperty{
// },
// },
// TableWithColumnsResource: &TableWithColumnsResourceProperty{
// CatalogId: jsii.String("catalogId"),
// ColumnNames: []*string{
// jsii.String("columnNames"),
// },
// ColumnWildcard: &ColumnWildcardProperty{
// ExcludedColumnNames: []*string{
// jsii.String("excludedColumnNames"),
// },
// },
// DatabaseName: jsii.String("databaseName"),
// Name: jsii.String("name"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-resource.html
//
type CfnPermissions_ResourceProperty struct {
// A structure for the database object.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-resource.html#cfn-lakeformation-permissions-resource-databaseresource
//
DatabaseResource interface{} `field:"optional" json:"databaseResource" yaml:"databaseResource"`
// A structure for a data location object where permissions are granted or revoked.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-resource.html#cfn-lakeformation-permissions-resource-datalocationresource
//
DataLocationResource interface{} `field:"optional" json:"dataLocationResource" yaml:"dataLocationResource"`
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-resource.html#cfn-lakeformation-permissions-resource-tableresource
//
TableResource interface{} `field:"optional" json:"tableResource" yaml:"tableResource"`
// A structure for a table with columns object.
//
// This object is only used when granting a SELECT permission.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-resource.html#cfn-lakeformation-permissions-resource-tablewithcolumnsresource
//
TableWithColumnsResource interface{} `field:"optional" json:"tableWithColumnsResource" yaml:"tableWithColumnsResource"`
}