aws-cdk-lib.aws_glue.CfnDatabase.PrincipalPrivilegesProperty

interface PrincipalPrivilegesProperty

LanguageType name
.NETAmazon.CDK.AWS.Glue.CfnDatabase.PrincipalPrivilegesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnDatabase_PrincipalPrivilegesProperty
Javasoftware.amazon.awscdk.services.glue.CfnDatabase.PrincipalPrivilegesProperty
Pythonaws_cdk.aws_glue.CfnDatabase.PrincipalPrivilegesProperty
TypeScript aws-cdk-lib » aws_glue » CfnDatabase » PrincipalPrivilegesProperty

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 { aws_glue as glue } from 'aws-cdk-lib';
const principalPrivilegesProperty: glue.CfnDatabase.PrincipalPrivilegesProperty = {
  permissions: ['permissions'],
  principal: {
    dataLakePrincipalIdentifier: 'dataLakePrincipalIdentifier',
  },
};

Properties

NameTypeDescription
permissions?string[]The permissions that are granted to the principal.
principal?IResolvable | DataLakePrincipalPropertyThe principal who is granted permissions.

permissions?

Type: string[] (optional)

The permissions that are granted to the principal.


principal?

Type: IResolvable | DataLakePrincipalProperty (optional)

The principal who is granted permissions.