Get Scaleway bucket object-lock configuration
scaleway_s3_get_object_lockCheck if a Scaleway S3 bucket has Object Lock (WORM protection) enabled. Use this to verify compliance or troubleshoot missing lock configurations.
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). |