Skip to content

Commit

Permalink
added a s3 bucket replication example
Browse files Browse the repository at this point in the history
  • Loading branch information
scmacdon committed Dec 4, 2024
1 parent 054c03e commit 787e8ec
Show file tree
Hide file tree
Showing 3 changed files with 426 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .doc_gen/metadata/s3_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,19 @@ s3_CopyObject:
- aws-cli.bash-linux.s3.CopyObject
services:
s3: {CopyObject}
s3_PutBucketReplication:
languages:
Java:
versions:
- sdk_version: 2
github: javav2/example_code/s3
sdkguide:
excerpts:
- description:
snippet_tags:
- s3.java2.bucket_replication.main
services:
s3: {PutBucketReplication}
s3_DeleteBucketPolicy:
languages:
C++:
Expand Down
3 changes: 2 additions & 1 deletion javav2/example_code/s3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Code excerpts that show you how to call individual service functions.
- [PutBucketCors](src/main/java/com/example/s3/S3Cors.java#L6)
- [PutBucketLifecycleConfiguration](src/main/java/com/example/s3/LifecycleConfiguration.java#L6)
- [PutBucketPolicy](src/main/java/com/example/s3/SetBucketPolicy.java#L6)
- [PutBucketReplication](src/main/java/com/example/s3/replication/BucketReplication.java#L20)
- [PutBucketWebsite](src/main/java/com/example/s3/SetWebsiteConfiguration.java#L6)
- [PutObject](src/main/java/com/example/s3/scenario/S3Actions.java#L126)
- [PutObjectLegalHold](src/main/java/com/example/s3/lockscenario/S3LockActions.java#L255)
Expand Down Expand Up @@ -315,4 +316,4 @@ in the `javav2` folder.

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
SPDX-License-Identifier: Apache-2.0
Loading

0 comments on commit 787e8ec

Please sign in to comment.