Class: Aws::Lightsail::Types::SetResourceAccessForBucketRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::SetResourceAccessForBucketRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#access ⇒ String
The access setting.
-
#bucket_name ⇒ String
The name of the bucket for which to set access to another Lightsail resource.
-
#resource_name ⇒ String
The name of the Lightsail instance for which to set bucket access.
Instance Attribute Details
#access ⇒ String
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 toallow.
13883 13884 13885 13886 13887 13888 13889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 13883 class SetResourceAccessForBucketRequest < Struct.new( :resource_name, :bucket_name, :access) SENSITIVE = [] include Aws::Structure end |
#bucket_name ⇒ String
The name of the bucket for which to set access to another Lightsail resource.
13883 13884 13885 13886 13887 13888 13889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 13883 class SetResourceAccessForBucketRequest < Struct.new( :resource_name, :bucket_name, :access) SENSITIVE = [] include Aws::Structure end |
#resource_name ⇒ String
The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped state.
13883 13884 13885 13886 13887 13888 13889 |
# File 'lib/aws-sdk-lightsail/types.rb', line 13883 class SetResourceAccessForBucketRequest < Struct.new( :resource_name, :bucket_name, :access) SENSITIVE = [] include Aws::Structure end |