-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDatabase_PrincipalPrivilegesProperty.go
32 lines (29 loc) · 1.3 KB
/
CfnDatabase_PrincipalPrivilegesProperty.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
package awsglue
// the permissions granted 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"
//
// principalPrivilegesProperty := &PrincipalPrivilegesProperty{
// Permissions: []*string{
// jsii.String("permissions"),
// },
// Principal: &DataLakePrincipalProperty{
// DataLakePrincipalIdentifier: jsii.String("dataLakePrincipalIdentifier"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-principalprivileges.html
//
type CfnDatabase_PrincipalPrivilegesProperty struct {
// The permissions that are granted to the principal.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-principalprivileges.html#cfn-glue-database-principalprivileges-permissions
//
Permissions *[]*string `field:"optional" json:"permissions" yaml:"permissions"`
// The principal who is granted permissions.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-principalprivileges.html#cfn-glue-database-principalprivileges-principal
//
Principal interface{} `field:"optional" json:"principal" yaml:"principal"`
}