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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/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)


13647
13648
13649
13650
13651
13652
13653
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 13647

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)


13647
13648
13649
13650
13651
13652
13653
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 13647

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)


13647
13648
13649
13650
13651
13652
13653
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 13647

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