CfnPermissionsPropsMixin Mixin
The AWS::LakeFormation::Permissions resource represents the permissions that a principal has on an AWS Glue Data Catalog resource (such as AWS Glue database or AWS Glue tables).
When you upload a permissions stack, the permissions are granted to the principal and when you remove the stack, the permissions are revoked from the principal. If you remove a stack, and the principal does not have the permissions referenced in the stack then AWS Lake Formation will throw an error because you can’t call revoke on non-existing permissions. To successfully remove the stack, you’ll need to regrant those permissions and then remove the stack.
New versions of AWS Lake Formation permission resources are now available. For more information, see: AWS:LakeFormation::PrincipalPermissions
Initializer
new CfnPermissionsPropsMixin(props: CfnPermissionsMixinProps, options?: CfnPropertyMixinOptions)
CfnPermissionsPropsMixin(props: CfnPermissionsMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
new CfnPermissionsPropsMixin(CfnPermissionsMixinProps props, CfnPropertyMixinOptions options)
new CfnPermissionsPropsMixin(CfnPermissionsMixinProps props, CfnPropertyMixinOptions? options = null)
NewCfnPermissionsPropsMixin(Props CfnPermissionsMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#