-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPrincipalPermissions_LFTagPolicyResourceProperty.go
44 lines (41 loc) · 2.28 KB
/
CfnPrincipalPermissions_LFTagPolicyResourceProperty.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
package awslakeformation
// A list of LF-tag conditions that define a resource's LF-tag policy.
//
// A structure that allows an admin to grant user permissions on certain conditions. For example, granting a role access to all columns that do not have the LF-tag 'PII' in tables that have the LF-tag 'Prod'.
//
// 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"
//
// lFTagPolicyResourceProperty := &LFTagPolicyResourceProperty{
// CatalogId: jsii.String("catalogId"),
// Expression: []interface{}{
// &LFTagProperty{
// TagKey: jsii.String("tagKey"),
// TagValues: []*string{
// jsii.String("tagValues"),
// },
// },
// },
// ResourceType: jsii.String("resourceType"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-lftagpolicyresource.html
//
type CfnPrincipalPermissions_LFTagPolicyResourceProperty struct {
// The identifier for the Data Catalog .
//
// 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-lftagpolicyresource.html#cfn-lakeformation-principalpermissions-lftagpolicyresource-catalogid
//
CatalogId *string `field:"required" json:"catalogId" yaml:"catalogId"`
// A list of LF-tag conditions that apply to the resource's LF-tag policy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-lftagpolicyresource.html#cfn-lakeformation-principalpermissions-lftagpolicyresource-expression
//
Expression interface{} `field:"required" json:"expression" yaml:"expression"`
// The resource type for which the LF-tag policy applies.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-lftagpolicyresource.html#cfn-lakeformation-principalpermissions-lftagpolicyresource-resourcetype
//
ResourceType *string `field:"required" json:"resourceType" yaml:"resourceType"`
}