AWS prescriptive-guidance documentation change
Summary
Updated example bucket names from 'amzn-s3-demo-bucket' to 'DOC-EXAMPLE-BUCKET' in database/table path examples
Security assessment
Standard documentation practice to use placeholder bucket names. No security vulnerability addressed or security feature added.
Diff
diff --git a/prescriptive-guidance/latest/apache-iceberg-on-aws/iceberg-pyiceberg.md b/prescriptive-guidance/latest/apache-iceberg-on-aws/iceberg-pyiceberg.md index 2253060da..78e93624a 100644 --- a//prescriptive-guidance/latest/apache-iceberg-on-aws/iceberg-pyiceberg.md +++ b//prescriptive-guidance/latest/apache-iceberg-on-aws/iceberg-pyiceberg.md @@ -11 +11 @@ PrerequisitesConnecting to the Data CatalogListing and creating databasesCreatin -This section explains how you can interact with Iceberg tables by using [PyIceberg](https://py.iceberg.apache.org/). The examples provided are boilerplate code that you can run on [Amazon Linux 2023 EC2](https://aws.amazon.com/linux/amazon-linux-2023/) instances, [AWS Lambda](https://aws.amazon.com/lambda/) functions, or any [Python](https://www.python.org/) environment with properly configured [AWS credentials](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html). +This section explains how you can interact with Iceberg tables by using [PyIceberg](https://py.iceberg.apache.org/). The examples provided are boilerplate code that you can run on [Amazon Linux 2023](https://aws.amazon.com/linux/amazon-linux-2023/) EC2 instances, [AWS Lambda](https://aws.amazon.com/lambda/) functions, or any [Python](https://www.python.org/) environment with properly configured [AWS credentials](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html). @@ -64 +64 @@ To create a new database, use the `create_namespace` function: - s3_db_path=f"s3://amzn-s3-demo-bucket/{database_name}" + s3_db_path=f"s3://DOC-EXAMPLE-BUCKET/{database_name}" @@ -80 +80 @@ Here's an example of creating an unpartitioned Iceberg table by using the `creat - s3_table_path=f"s3://amzn-s3-demo-bucket/{database_name}/{table_name}" + s3_table_path=f"s3://DOC-EXAMPLE-BUCKET/{database_name}/{table_name}" @@ -149 +149 @@ Here's an example of creating a [partitioned](https://iceberg.apache.org/docs/1. - s3_table_path=f"s3://amzn-s3-demo-bucket/{database_name}/{partitioned_table_name}" + s3_table_path=f"s3://DOC-EXAMPLE-BUCKET/{database_name}/{partitioned_table_name}"