Amazon Elastic Compute Cloud

2017/04/19 - Amazon Elastic Compute Cloud - 1 new api methods

Changes  Adds support for creating an Amazon FPGA Image (AFI) from a specified design checkpoint (DCP).

CreateFpgaImage (new) Link ΒΆ

Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).

The create operation is asynchronous. To verify that the AFI is ready for use, check the output logs.

An AFI contains the FPGA bitstream that is ready to download to an FPGA. You can securely deploy an AFI on one or more FPGA-accelerated instances. For more information, see the AWS FPGA Hardware Development Kit.

See also: AWS API Documentation

Request Syntax

client.create_fpga_image(
    DryRun=True|False,
    InputStorageLocation={
        'Bucket': 'string',
        'Key': 'string'
    },
    LogsStorageLocation={
        'Bucket': 'string',
        'Key': 'string'
    },
    Description='string',
    Name='string',
    ClientToken='string'
)
type DryRun

boolean

param DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

type InputStorageLocation

dict

param InputStorageLocation

[REQUIRED]

The location of the encrypted design checkpoint in Amazon S3. The input must be a tarball.

  • Bucket (string) --

    The name of the S3 bucket.

  • Key (string) --

    The key.

type LogsStorageLocation

dict

param LogsStorageLocation

The location in Amazon S3 for the output logs.

  • Bucket (string) --

    The name of the S3 bucket.

  • Key (string) --

    The key.

type Description

string

param Description

A description for the AFI.

type Name

string

param Name

A name for the AFI.

type ClientToken

string

param ClientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

rtype

dict

returns

Response Syntax

{
    'FpgaImageId': 'string',
    'FpgaImageGlobalId': 'string'
}

Response Structure

  • (dict) --

    • FpgaImageId (string) --

      The FPGA image identifier (AFI ID).

    • FpgaImageGlobalId (string) --

      The global FPGA image identifier (AGFI ID).