Skip to content

Commit f1963ce

Browse files
committed
revamp lakeformation
1 parent fd350e7 commit f1963ce

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

src/content/docs/aws/services/lakeformation.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: "Lake Formation"
3-
linkTitle: "Lake Formation"
43
description: Get started with Lake Formation on LocalStack
54
tags: ["Ultimate"]
65
---
@@ -11,7 +10,7 @@ Lake Formation is a managed service that allows users to build, secure, and mana
1110
Lake Formation allows users to define and enforce fine-grained access controls, manage metadata, and discover and share data across multiple data sources.
1211

1312
LocalStack allows you to use the Lake Formation APIs in your local environment to register resources, grant permissions, and list resources and permissions.
14-
The supported APIs are available on our [API coverage page]({{< ref "coverage_lakeformation" >}}), which provides information on the extent of Lake Formation's integration with LocalStack.
13+
The supported APIs are available on our [API coverage page](), which provides information on the extent of Lake Formation's integration with LocalStack.
1514

1615
## Getting started
1716

@@ -24,9 +23,9 @@ We will demonstrate how to register an S3 bucket as a resource in Lake Formation
2423

2524
Create a new S3 bucket named `test-bucket` using the `mb` command:
2625

27-
{{< command >}}
28-
$ awslocal s3 mb s3://test-bucket
29-
{{</ command >}}
26+
```bash
27+
awslocal s3 mb s3://test-bucket
28+
```
3029

3130
You can now register the S3 bucket as a resource in Lake Formation using the [`RegisterResource`](https://docs.aws.amazon.com/lake-formation/latest/dg/API_RegisterResource.html) API.
3231
Create a file named `input.json` with the following content:
@@ -40,19 +39,19 @@ Create a file named `input.json` with the following content:
4039

4140
Run the following command to register the resource:
4241

43-
{{< command >}}
42+
```bash
4443
awslocal lakeformation register-resource \
4544
--cli-input-json file://input.json
46-
{{</ command >}}
45+
```
4746

4847
### List resources
4948

5049
You can list the registered resources using the [`ListResources`](https://docs.aws.amazon.com/lake-formation/latest/dg/API_ListResources.html) API.
5150
Execute the following command to list the resources:
5251

53-
{{< command >}}
52+
```bash
5453
awslocal lakeformation list-resources
55-
{{</ command >}}
54+
```
5655

5756
The following output is displayed:
5857

@@ -94,16 +93,16 @@ Create a file named `permissions.json` with the following content:
9493

9594
Run the following command to grant permissions:
9695

97-
{{< command >}}
98-
$ awslocal lakeformation grant-permissions \
96+
```bash
97+
awslocal lakeformation grant-permissions \
9998
--cli-input-json file://check.json
100-
{{</ command >}}
99+
```
101100

102101
### List permissions
103102

104103
You can list the permissions granted to a user or group using the [`ListPermissions`](https://docs.aws.amazon.com/lake-formation/latest/dg/API_ListPermissions.html) API.
105104
Execute the following command to list the permissions:
106105

107-
{{< command >}}
108-
$ awslocal lakeformation list-permissions
109-
{{</ command >}}
106+
```bash
107+
awslocal lakeformation list-permissions
108+
```

0 commit comments

Comments
 (0)