Skip to content

FpgaImageState

Source code in docs_src/capo_ec2/types/fpga_image_state.py
class FpgaImageState(TypedDict, closed=True):
    code: NotRequired["capo_ec2.types.fpga_image_state_code.FpgaImageStateCode"]
    """<p>The state. The following are the possible values:</p> <ul> <li> <p> <code>pending</code> - AFI bitstream generation is in progress.</p> </li> <li> <p> <code>available</code> - The AFI is available for use.</p> </li> <li> <p> <code>failed</code> - AFI bitstream generation failed.</p> </li> <li> <p> <code>unavailable</code> - The AFI is no longer available for use.</p> </li> </ul>"""
    message: NotRequired["capo_ec2.types.string.String"]
    """<p>If the state is <code>failed</code>, this is the error message.</p>"""

code instance-attribute

code: NotRequired[FpgaImageStateCode]

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 instance-attribute

message: NotRequired[String]

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