Learn R Programming

paws.compute (version 0.7.0)

lightsail_set_resource_access_for_bucket: 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.