Skip to content

EC2  >  Structures  >  FpgaImageState

FpgaImageState

Structure Class

FpgaImageState dataclass

Bases: _SerdeShape

Describes the state of the bitstream generation process for an Amazon FPGA image (AFI).

Attributes

code class-attribute instance-attribute
code: str | None = ...

The state. The following are the possible values:

  • pending - AFI bitstream generation is in progress.

  • available - The AFI is available for use.

  • failed - AFI bitstream generation failed.

  • unavailable - The AFI is no longer available for use.

message class-attribute instance-attribute
message: str | None = ...

If the state is failed, this is the error message.