Interface CfnMicrovmImage.HooksProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMicrovmImage.HooksProperty.Jsii$Proxy
- Enclosing class:
CfnMicrovmImage
@Stability(Stable)
public static interface CfnMicrovmImage.HooksProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
HooksProperty hooksProperty = HooksProperty.builder()
.microvmHooks(MicrovmHooksProperty.builder()
.resume("resume")
.resumeTimeoutInSeconds(123)
.run("run")
.runTimeoutInSeconds(123)
.suspend("suspend")
.suspendTimeoutInSeconds(123)
.terminate("terminate")
.terminateTimeoutInSeconds(123)
.build())
.microvmImageHooks(MicrovmImageHooksProperty.builder()
.ready("ready")
.readyTimeoutInSeconds(123)
.validate("validate")
.validateTimeoutInSeconds(123)
.build())
.port(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMicrovmImage.HooksPropertystatic final classAn implementation forCfnMicrovmImage.HooksProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnMicrovmImage.MicrovmHooksPropertydefault ObjectReturns union: eitherIResolvableorCfnMicrovmImage.MicrovmImageHooksPropertydefault NumbergetPort()Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMicrovmHooks
Returns union: eitherIResolvableorCfnMicrovmImage.MicrovmHooksProperty- See Also:
-
getMicrovmImageHooks
Returns union: eitherIResolvableorCfnMicrovmImage.MicrovmImageHooksProperty- See Also:
-
getPort
- See Also:
-
builder
-