Skip to content

docs(storage): add keepOnDelete to defineStorage()#8548

Open
adrianjoshua-strutt wants to merge 3 commits intomainfrom
docs/storage-removal-policy
Open

docs(storage): add keepOnDelete to defineStorage()#8548
adrianjoshua-strutt wants to merge 3 commits intomainfrom
docs/storage-removal-policy

Conversation

@adrianjoshua-strutt
Copy link
Copy Markdown
Member

@adrianjoshua-strutt adrianjoshua-strutt commented Apr 8, 2026

Adds documentation for the new prop on defineStorage(), which allows customers to retain their S3 bucket when the stack is removed. Includes a code example and a callout noting that sandbox deployments always use destroy.

Related GitHub issue #, if available:
aws-amplify/amplify-backend#3147

@adrianjoshua-strutt adrianjoshua-strutt changed the title docs(storage): add removalPolicy configuration to defineStorage() docs(storage): add keepOnDelete configuration to defineStorage() Apr 8, 2026
@adrianjoshua-strutt adrianjoshua-strutt changed the title docs(storage): add keepOnDelete configuration to defineStorage() docs(storage): add keepOnDelete to defineStorage() Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants