AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the state of an Amazon Lightsail bucket.

Inheritance Hierarchy

System.Object
  Amazon.Lightsail.Model.BucketState

Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z

Syntax

C#
public class BucketState

The BucketState type exposes the following members

Constructors

NameDescription
Public Method BucketState()

Properties

NameTypeDescription
Public Property Code System.String

Gets and sets the property Code.

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.

Public Property Message System.String

Gets and sets the property Message.

A message that describes the state of the bucket.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5