create_fpga_image
¶
create_fpga_image(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
input_storage_location: Optional[StorageLocation] = None,
logs_storage_location: Optional[StorageLocation] = None,
description: Optional[String] = None,
name: Optional[String] = None,
client_token: Optional[String] = None,
tag_specifications: Optional[TagSpecificationList] = None,
) -> CreateFpgaImageResult
Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).
The create operation is asynchronous. To verify that the AFI was successfully created and 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 multiple FPGA-accelerated instances. For more information, see the Amazon Web Services FPGA Hardware Development Kit.
Parameters:
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
input_storage_location(Optional[StorageLocation], default:None) –The location of the encrypted design checkpoint in Amazon S3. The input must be a tarball.
-
logs_storage_location(Optional[StorageLocation], default:None) –The location in Amazon S3 for the output logs.
-
description(Optional[String], default:None) –A description for the AFI.
-
name(Optional[String], default:None) –A name for the AFI.
-
client_token(Optional[String], default:None) –Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to apply to the FPGA image during creation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 | |