AWS Lake Formation Resource

This page shows how to write Terraform and CloudFormation for Lake Formation Resource and write them securely.

aws_lakeformation_resource (Terraform)

The Resource in Lake Formation can be configured in Terraform with the resource name aws_lakeformation_resource. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Registers a Lake Formation resource (e.g., S3 bucket) as managed by the Data Catalog. In other words, the S3 path is added to the data lake. Choose a role that has read/write access to the chosen Amazon S3 path or use the service-linked role. When you register the S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.

AWS::LakeFormation::Resource (CloudFormation)

The Resource in LakeFormation can be configured in CloudFormation with the resource name AWS::LakeFormation::Resource. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

Explanation in CloudFormation Registry

The AWS::LakeFormation::Resource represents the data (Amazon S3 buckets and folders) that is being registered with AWS Lake Formation. When a Resource type CloudFormation template is uploaded, an AWS Lake Formation https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-credential-vending.html#aws-lake-formation-api-credential-vending-RegisterResource API call is made to register the resource. When a Resource type CloudFormation template is removed, the AWS Lake Formation https://docs.aws.amazon.com/lake-formation/latest/dg/aws-lake-formation-api-credential-vending.html#aws-lake-formation-api-credential-vending-DeregisterResource API is called.

Frequently asked questions

What is AWS Lake Formation Resource?

AWS Lake Formation Resource is a resource for Lake Formation of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.