View a markdown version of this page

AWS::Lambda::MicrovmImage MicrovmImageHooks - Amazon CloudFormation
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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Lambda::MicrovmImage MicrovmImageHooks

Configuration for hooks invoked during MicroVM image build events such as ready and validate.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Ready" : String, "ReadyTimeoutInSeconds" : Integer, "Validate" : String, "ValidateTimeoutInSeconds" : Integer }

YAML

Ready: String ReadyTimeoutInSeconds: Integer Validate: String ValidateTimeoutInSeconds: Integer

Properties

Ready

The path of the hook invoked when the MicroVM image build is ready.

Required: No

Type: String

Allowed values: DISABLED | ENABLED

Update requires: No interruption

ReadyTimeoutInSeconds

The maximum time in seconds for the ready hook to complete.

Required: No

Type: Integer

Minimum: 1

Maximum: 3600

Update requires: No interruption

Validate

The path of the hook invoked to validate the MicroVM image build.

Required: No

Type: String

Allowed values: DISABLED | ENABLED

Update requires: No interruption

ValidateTimeoutInSeconds

The maximum time in seconds for the validate hook to complete.

Required: No

Type: Integer

Minimum: 1

Maximum: 3600

Update requires: No interruption