Class: Aws::Lightsail::Types::BucketState

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

Overview

Describes the state of an Amazon Lightsail bucket.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The state code of the bucket.

The following codes are possible:

  • OK - The bucket is in a running state.

  • Unknown - Creation of the bucket might have timed-out. You might want to delete the bucket and create a new one.

Returns:

  • (String)


1211
1212
1213
1214
1215
1216
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1211

class BucketState < Struct.new(
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

A message that describes the state of the bucket.

Returns:

  • (String)


1211
1212
1213
1214
1215
1216
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1211

class BucketState < Struct.new(
  :code,
  :message)
  SENSITIVE = []
  include Aws::Structure
end