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)


13687
13688
13689
13690
13691
13692
13693
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 13687

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)


13687
13688
13689
13690
13691
13692
13693
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 13687

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)


13687
13688
13689
13690
13691
13692
13693
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 13687

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