AWSEC2FpgaImageState

Objective-C

@interface AWSEC2FpgaImageState

Swift

class AWSEC2FpgaImageState

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

  • 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2FpgaImageStateCode code;

    Swift

    var code: AWSEC2FpgaImageStateCode { get set }
  • If the state is failed, this is the error message.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable message;

    Swift

    var message: String? { get set }