Show / Hide Table of Contents

Class CfnPermissionsPropsMixin

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).

Inheritance
object
Mixin
CfnPermissionsPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.Mixins.Preview.AWS.LakeFormation.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPermissionsPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnPermissionsPropsMixin Inherits Mixin Implements IMixin
Remarks

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: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-principalpermissions.html">AWS:LakeFormation::PrincipalPermissions</a>

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html

CloudformationResource: AWS::LakeFormation::Permissions

Mixin: true

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.LakeFormation.Mixins;

             var cfnPermissionsPropsMixin = new CfnPermissionsPropsMixin(new CfnPermissionsMixinProps {
                 DataLakePrincipal = new DataLakePrincipalProperty {
                     DataLakePrincipalIdentifier = "dataLakePrincipalIdentifier"
                 },
                 Permissions = new [] { "permissions" },
                 PermissionsWithGrantOption = new [] { "permissionsWithGrantOption" },
                 Resource = new ResourceProperty {
                     DatabaseResource = new DatabaseResourceProperty {
                         CatalogId = "catalogId",
                         Name = "name"
                     },
                     DataLocationResource = new DataLocationResourceProperty {
                         CatalogId = "catalogId",
                         S3Resource = "s3Resource"
                     },
                     TableResource = new TableResourceProperty {
                         CatalogId = "catalogId",
                         DatabaseName = "databaseName",
                         Name = "name",
                         TableWildcard = new TableWildcardProperty { }
                     },
                     TableWithColumnsResource = new TableWithColumnsResourceProperty {
                         CatalogId = "catalogId",
                         ColumnNames = new [] { "columnNames" },
                         ColumnWildcard = new ColumnWildcardProperty {
                             ExcludedColumnNames = new [] { "excludedColumnNames" }
                         },
                         DatabaseName = "databaseName",
                         Name = "name"
                     }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Synopsis

Constructors

CfnPermissionsPropsMixin(ICfnPermissionsMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::LakeFormation::Permissions.

Properties

CFN_PROPERTY_KEYS

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).

Props

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).

Strategy

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).

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnPermissionsPropsMixin(ICfnPermissionsMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::LakeFormation::Permissions.

public CfnPermissionsPropsMixin(ICfnPermissionsMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnPermissionsMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

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: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-principalpermissions.html">AWS:LakeFormation::PrincipalPermissions</a>

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html

CloudformationResource: AWS::LakeFormation::Permissions

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

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).

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

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: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-principalpermissions.html">AWS:LakeFormation::PrincipalPermissions</a>

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html

CloudformationResource: AWS::LakeFormation::Permissions

Mixin: true

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.LakeFormation.Mixins;

             var cfnPermissionsPropsMixin = new CfnPermissionsPropsMixin(new CfnPermissionsMixinProps {
                 DataLakePrincipal = new DataLakePrincipalProperty {
                     DataLakePrincipalIdentifier = "dataLakePrincipalIdentifier"
                 },
                 Permissions = new [] { "permissions" },
                 PermissionsWithGrantOption = new [] { "permissionsWithGrantOption" },
                 Resource = new ResourceProperty {
                     DatabaseResource = new DatabaseResourceProperty {
                         CatalogId = "catalogId",
                         Name = "name"
                     },
                     DataLocationResource = new DataLocationResourceProperty {
                         CatalogId = "catalogId",
                         S3Resource = "s3Resource"
                     },
                     TableResource = new TableResourceProperty {
                         CatalogId = "catalogId",
                         DatabaseName = "databaseName",
                         Name = "name",
                         TableWildcard = new TableWildcardProperty { }
                     },
                     TableWithColumnsResource = new TableWithColumnsResourceProperty {
                         CatalogId = "catalogId",
                         ColumnNames = new [] { "columnNames" },
                         ColumnWildcard = new ColumnWildcardProperty {
                             ExcludedColumnNames = new [] { "excludedColumnNames" }
                         },
                         DatabaseName = "databaseName",
                         Name = "name"
                     }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Props

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).

protected virtual ICfnPermissionsMixinProps Props { get; }
Property Value

ICfnPermissionsMixinProps

Remarks

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: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-principalpermissions.html">AWS:LakeFormation::PrincipalPermissions</a>

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html

CloudformationResource: AWS::LakeFormation::Permissions

Mixin: true

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.LakeFormation.Mixins;

             var cfnPermissionsPropsMixin = new CfnPermissionsPropsMixin(new CfnPermissionsMixinProps {
                 DataLakePrincipal = new DataLakePrincipalProperty {
                     DataLakePrincipalIdentifier = "dataLakePrincipalIdentifier"
                 },
                 Permissions = new [] { "permissions" },
                 PermissionsWithGrantOption = new [] { "permissionsWithGrantOption" },
                 Resource = new ResourceProperty {
                     DatabaseResource = new DatabaseResourceProperty {
                         CatalogId = "catalogId",
                         Name = "name"
                     },
                     DataLocationResource = new DataLocationResourceProperty {
                         CatalogId = "catalogId",
                         S3Resource = "s3Resource"
                     },
                     TableResource = new TableResourceProperty {
                         CatalogId = "catalogId",
                         DatabaseName = "databaseName",
                         Name = "name",
                         TableWildcard = new TableWildcardProperty { }
                     },
                     TableWithColumnsResource = new TableWithColumnsResourceProperty {
                         CatalogId = "catalogId",
                         ColumnNames = new [] { "columnNames" },
                         ColumnWildcard = new ColumnWildcardProperty {
                             ExcludedColumnNames = new [] { "excludedColumnNames" }
                         },
                         DatabaseName = "databaseName",
                         Name = "name"
                     }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Strategy

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).

protected virtual PropertyMergeStrategy Strategy { get; }
Property Value

PropertyMergeStrategy

Remarks

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: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-principalpermissions.html">AWS:LakeFormation::PrincipalPermissions</a>

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html

CloudformationResource: AWS::LakeFormation::Permissions

Mixin: true

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.LakeFormation.Mixins;

             var cfnPermissionsPropsMixin = new CfnPermissionsPropsMixin(new CfnPermissionsMixinProps {
                 DataLakePrincipal = new DataLakePrincipalProperty {
                     DataLakePrincipalIdentifier = "dataLakePrincipalIdentifier"
                 },
                 Permissions = new [] { "permissions" },
                 PermissionsWithGrantOption = new [] { "permissionsWithGrantOption" },
                 Resource = new ResourceProperty {
                     DatabaseResource = new DatabaseResourceProperty {
                         CatalogId = "catalogId",
                         Name = "name"
                     },
                     DataLocationResource = new DataLocationResourceProperty {
                         CatalogId = "catalogId",
                         S3Resource = "s3Resource"
                     },
                     TableResource = new TableResourceProperty {
                         CatalogId = "catalogId",
                         DatabaseName = "databaseName",
                         Name = "name",
                         TableWildcard = new TableWildcardProperty { }
                     },
                     TableWithColumnsResource = new TableWithColumnsResourceProperty {
                         CatalogId = "catalogId",
                         ColumnNames = new [] { "columnNames" },
                         ColumnWildcard = new ColumnWildcardProperty {
                             ExcludedColumnNames = new [] { "excludedColumnNames" }
                         },
                         DatabaseName = "databaseName",
                         Name = "name"
                     }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override IConstruct ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Returns

IConstruct

Overrides
Mixin.ApplyTo(IConstruct)
Remarks

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: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-principalpermissions.html">AWS:LakeFormation::PrincipalPermissions</a>

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html

CloudformationResource: AWS::LakeFormation::Permissions

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

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: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-principalpermissions.html">AWS:LakeFormation::PrincipalPermissions</a>

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html

CloudformationResource: AWS::LakeFormation::Permissions

Mixin: true

ExampleMetadata: fixture=_generated

Implements

IMixin
Back to top Generated by DocFX