Sets the Amazon Lightsail resources that can access the specified Lightsail bucket.
See https://www.paws-r-sdk.com/docs/lightsail_set_resource_access_for_bucket/ for full documentation.
lightsail_set_resource_access_for_bucket(resourceName, bucketName, access)
[required] The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped state.
[required] The name of the bucket for which to set access to another Lightsail resource.
[required] The access setting.
The following access settings are available:
allow
- Allows access to the bucket and its objects.
deny
- Denies access to the bucket and its objects. Use this
setting to remove access for a resource previously set to allow
.