build_image - Amazon ParallelCluster
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

build_image

build_image(image_configuration, image_id, suppress_validators, validation_failure_level, dry_run, rollback_on_failure, region)

Create a custom Amazon ParallelCluster image in a given Region.

Parameters:
image_configuration (required)

The image configuration as Python data.

image_id (required)

The image ID.

suppress_validators

Identifies one or more image configuration validators to suppress.

Format: (ALL | type:[A-Za-z0-9]+)

validation_failure_level

The minimum validation level that causes the image creation to fail. The default is ERROR.

Valid values: INFO | WARNING | ERROR

dry_run

If set to True, Amazon ParallelCluster performs the request validation without creating any resources. You can use this to validate the image configuration. The default is False.

rollback_on_failure

If set to True, Amazon ParallelCluster automatically initiates an image stack rollback on failures. The default is False.

region

The image Amazon Web Services Region.