CfnResourcePropsMixin
- class aws_cdk.mixins_preview.aws_lakeformation.mixins.CfnResourcePropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::LakeFormation::Resourcerepresents 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 aResourcetype, 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:
- 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:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental