Skip to content
v2.274.0

HooksProperty Struct ​

Example ​

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 hooksProperty: lambda.CfnMicrovmImage.HooksProperty = {
  microvmHooks: {
    resume: 'resume',
    resumeTimeoutInSeconds: 123,
    run: 'run',
    runTimeoutInSeconds: 123,
    suspend: 'suspend',
    suspendTimeoutInSeconds: 123,
    terminate: 'terminate',
    terminateTimeoutInSeconds: 123,
  },
  microvmImageHooks: {
    ready: 'ready',
    readyTimeoutInSeconds: 123,
    validate: 'validate',
    validateTimeoutInSeconds: 123,
  },
  port: 123,
};

Properties ​

microvmHooksIResolvable | CfnMicrovmImage.MicrovmHooksPropertymicrovm_hookstyping.Union[IResolvable, MicrovmHooksProperty]microvmHooksIResolvableMicrovmHooksIResolvableMicrovmHooksinterface{}#
microvmImageHooksIResolvable | CfnMicrovmImage.MicrovmImageHooksPropertymicrovm_image_hookstyping.Union[IResolvable, MicrovmImageHooksProperty]microvmImageHooksIResolvableMicrovmImageHooksIResolvableMicrovmImageHooksinterface{}#
portnumberportint | floatportNumberPortdoublePort*float64#