Class: Aws::Lightsail::Types::SetResourceAccessForBucketRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accessString

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

Returns:

  • (String)


13720
13721
13722
13723
13724
13725
13726
# File 'lib/aws-sdk-lightsail/types.rb', line 13720

class SetResourceAccessForBucketRequest < Struct.new(
  :resource_name,
  :bucket_name,
  :access)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_nameString

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

Returns:

  • (String)


13720
13721
13722
13723
13724
13725
13726
# File 'lib/aws-sdk-lightsail/types.rb', line 13720

class SetResourceAccessForBucketRequest < Struct.new(
  :resource_name,
  :bucket_name,
  :access)
  SENSITIVE = []
  include Aws::Structure
end

#resource_nameString

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

Returns:

  • (String)


13720
13721
13722
13723
13724
13725
13726
# File 'lib/aws-sdk-lightsail/types.rb', line 13720

class SetResourceAccessForBucketRequest < Struct.new(
  :resource_name,
  :bucket_name,
  :access)
  SENSITIVE = []
  include Aws::Structure
end