Skip to content

Commit 48c2d26

Browse files
eamonnfahertyclaude
andcommitted
Document S3 static website hosting support
Add PutBucketWebsite, GetBucketWebsite, DeleteBucketWebsite operations to S3 service detail. Add websiteIndexDocument and websiteErrorDocument CDK props. Add website CLI subcommands to s3api command card. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d81ad23 commit 48c2d26

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

cli.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ <h4>lws s3api</h4>
156156
<span class="subcmd">delete-object</span>
157157
<span class="subcmd">list-objects-v2</span>
158158
<span class="subcmd">head-object</span>
159+
<span class="subcmd">put-bucket-website</span>
160+
<span class="subcmd">get-bucket-website</span>
161+
<span class="subcmd">delete-bucket-website</span>
159162
</div>
160163
<div class="code-block" style="margin-top: 12px;"><code>uvx --from local-web-services lws s3api list-objects-v2 \
161164
--bucket my-bucket</code></div>

services.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ <h4>CDK Constructs</h4>
146146
<div class="service-detail-ops">
147147
<span class="cdk">aws_s3.Bucket</span>
148148
</div>
149-
<p class="cdk-props"><code>bucketName</code></p>
149+
<p class="cdk-props"><code>bucketName</code>, <code>websiteIndexDocument</code>, <code>websiteErrorDocument</code></p>
150150
</div>
151151
<div class="service-detail-section">
152152
<h4>API Operations</h4>
@@ -175,9 +175,12 @@ <h4>API Operations</h4>
175175
<span class="op">CompleteMultipartUpload</span>
176176
<span class="op">AbortMultipartUpload</span>
177177
<span class="op">ListParts</span>
178+
<span class="op">PutBucketWebsite</span>
179+
<span class="op">GetBucketWebsite</span>
180+
<span class="op">DeleteBucketWebsite</span>
178181
</div>
179182
</div>
180-
<p class="service-note">Backed by the local filesystem. Supports event notifications (ObjectCreated, ObjectRemoved), multipart uploads, presigned URL generation, ETags, binary content, and content-type headers.</p>
183+
<p class="service-note">Backed by the local filesystem. Supports event notifications (ObjectCreated, ObjectRemoved), multipart uploads, presigned URL generation, ETags, binary content, content-type headers, and <strong>static website hosting</strong> with index document resolution and error document serving.</p>
181184
</div>
182185

183186
<div class="service-detail" id="sns">

0 commit comments

Comments
 (0)