Get Scaleway bucket object-lock configuration
scaleway_s3_get_object_lockCheck whether Object Lock (WORM protection) is enabled on a Scaleway S3 bucket. An ObjectLockConfigurationNotFound error indicates the feature is not yet enabled.
Instructions
Read whether Object Lock (WORM protection) is enabled on the bucket. ObjectLockConfigurationNotFoundError means NOT enabled - there is no 'disabled' state, the config simply does not exist until first enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name. | |
| region | No | Region to operate in. Defaults to the server's configured region (fr-par). |