# MicrovmImageHooksProperty

- Source: Generated at build time
- Type last changed: v2.261.0 · 2 Jul 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const microvmImageHooksProperty: lambda.CfnMicrovmImage.MicrovmImageHooksProperty = {
  ready: 'ready',
  readyTimeoutInSeconds: 123,
  validate: 'validate',
  validateTimeoutInSeconds: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_

microvm_image_hooks_property = lambda.CfnMicrovmImage.MicrovmImageHooksProperty(
    ready="ready",
    ready_timeout_in_seconds=123,
    validate="validate",
    validate_timeout_in_seconds=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;

MicrovmImageHooksProperty microvmImageHooksProperty = MicrovmImageHooksProperty.builder()
        .ready("ready")
        .readyTimeoutInSeconds(123)
        .validate("validate")
        .validateTimeoutInSeconds(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;

var microvmImageHooksProperty = new MicrovmImageHooksProperty {
    Ready = "ready",
    ReadyTimeoutInSeconds = 123,
    Validate = "validate",
    ValidateTimeoutInSeconds = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

microvmImageHooksProperty := &MicrovmImageHooksProperty{
	Ready: jsii.String("ready"),
	ReadyTimeoutInSeconds: jsii.Number(123),
	Validate: jsii.String("validate"),
	ValidateTimeoutInSeconds: jsii.Number(123),
}
```

## Properties

- `ready`: string

- `readyTimeoutInSeconds`: number

- `validate`: string

- `validateTimeoutInSeconds`: number
