Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/fragments/lib/storage/js/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,14 @@ Amplify.configure({
AWSS3: {
bucket: '', //REQUIRED - Amazon S3 bucket name
region: 'XX-XXXX-X', //OPTIONAL - Amazon service region
isObjectLockEnabled: true //OPTIONAl - Object Lock parameter
}
}
});

```
You can configure the [**S3 Object Lock**](https://aws.amazon.com/blogs/storage/protecting-data-with-amazon-s3-object-lock/) parameter of the bucket using the `isObjectLockEnabled` configuration field. By default, `isObjectLockEnabled` is set to `false`. If you want to perform a `put` operation against a bucket with Object Lock enabled through the console you must first set `isObjectLockEnabled` to true.


### Using Amazon S3
If you set up your Cognito resources manually, the roles will need to be given permission to access the S3 bucket.
Expand Down