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 to `allow`.
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_name ⇒ String
The name of the bucket for which to set access to another Lightsail resource.
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_name ⇒ String
The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped state.
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 |