class Aws::Lightsail::Types::SetResourceAccessForBucketRequest

@note When making an API call, you may pass SetResourceAccessForBucketRequest

data as a hash:

    {
      resource_name: "ResourceName", # required
      bucket_name: "BucketName", # required
      access: "allow", # required, accepts allow, deny
    }

@!attribute [rw] resource_name

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

@!attribute [rw] bucket_name

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

@!attribute [rw] access

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`.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SetResourceAccessForBucketRequest AWS API Documentation

Constants

SENSITIVE