Class CfnMicrovmImagePropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnMicrovmImagePropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-07-02T13:32:56.994Z") @Stability(Stable) public class CfnMicrovmImagePropsMixin extends Mixin implements software.constructs.IMixin
Resource Type definition for AWS::Lambda::MicrovmImage.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.lambda.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnMicrovmImagePropsMixin cfnMicrovmImagePropsMixin = CfnMicrovmImagePropsMixin.Builder.create(CfnMicrovmImageMixinProps.builder()
         .additionalOsCapabilities(List.of("additionalOsCapabilities"))
         .baseImageArn("baseImageArn")
         .baseImageVersion("baseImageVersion")
         .buildRoleArn("buildRoleArn")
         .codeArtifact(CodeArtifactProperty.builder()
                 .uri("uri")
                 .build())
         .cpuConfigurations(List.of(CpuConfigurationProperty.builder()
                 .architecture("architecture")
                 .build()))
         .description("description")
         .egressNetworkConnectors(List.of("egressNetworkConnectors"))
         .environmentVariables(List.of(EnvironmentVariableProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .hooks(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())
         .logging(LoggingProperty.builder()
                 .cloudWatch(CloudWatchLoggingProperty.builder()
                         .logGroup("logGroup")
                         .logStream("logStream")
                         .build())
                 .disabled(false)
                 .build())
         .name("name")
         .resources(List.of(ResourcesProperty.builder()
                 .minimumMemoryInMiB(123)
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnMicrovmImagePropsMixin

      protected CfnMicrovmImagePropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnMicrovmImagePropsMixin

      protected CfnMicrovmImagePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnMicrovmImagePropsMixin

      @Stability(Stable) public CfnMicrovmImagePropsMixin(@NotNull CfnMicrovmImageMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::Lambda::MicrovmImage.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnMicrovmImagePropsMixin

      @Stability(Stable) public CfnMicrovmImagePropsMixin(@NotNull CfnMicrovmImageMixinProps props)
      Create a mixin to apply properties to AWS::Lambda::MicrovmImage.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnMicrovmImageMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()