CfnResourcePropsMixin

class aws_cdk.mixins_preview.aws_lakeformation.mixins.CfnResourcePropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::LakeFormation::Resource represents the data ( buckets and folders) that is being registered with AWS Lake Formation .

During a stack operation, AWS CloudFormation calls the AWS Lake Formation `RegisterResource <https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-credential-vending.html#aws-lake-formation-api-credential-vending-RegisterResource>`_ API operation to register the resource. To remove a Resource type, AWS CloudFormation calls the AWS Lake Formation `DeregisterResource <https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-credential-vending.html#aws-lake-formation-api-credential-vending-DeregisterResource>`_ API operation.

See:

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

CloudformationResource:

AWS::LakeFormation::Resource

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_lakeformation import mixins as lakeformation_mixins

cfn_resource_props_mixin = lakeformation_mixins.CfnResourcePropsMixin(lakeformation_mixins.CfnResourceMixinProps(
    hybrid_access_enabled=False,
    resource_arn="resourceArn",
    role_arn="roleArn",
    use_service_linked_role=False,
    with_federation=False
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

Parameters:
  • props (Union[CfnResourceMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['hybridAccessEnabled', 'resourceArn', 'roleArn', 'useServiceLinkedRole', 'withFederation']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental