lightsail_set_resource_access_for_bucket: Sets the Amazon Lightsail resources that can access the...

View source: R/lightsail_operations.R

lightsail_set_resource_access_for_bucketR Documentation

Sets the Amazon Lightsail resources that can access the specified Lightsail bucket

Description

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.

Usage

lightsail_set_resource_access_for_bucket(resourceName, bucketName, access)

Arguments

resourceName

[required] The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped state.

bucketName

[required] The name of the bucket for which to set access to another Lightsail resource.

access

[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.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.