Class CfnImagePipelinePropsMixin

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

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:20:00.061Z") @Stability(Stable) public class CfnImagePipelinePropsMixin extends Mixin implements software.constructs.IMixin
An image pipeline is the automation configuration for building secure OS images on AWS .

The Image Builder image pipeline is associated with an image recipe that defines the build, validation, and test phases for an image build lifecycle. An image pipeline can be associated with an infrastructure configuration that defines where your image is built. You can define attributes, such as instance types, a subnet for your VPC, security groups, logging, and other infrastructure-related configurations. You can also associate your image pipeline with a distribution configuration to define how you would like to deploy your image.

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.imagebuilder.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnImagePipelinePropsMixin cfnImagePipelinePropsMixin = CfnImagePipelinePropsMixin.Builder.create(CfnImagePipelineMixinProps.builder()
         .containerRecipeArn("containerRecipeArn")
         .description("description")
         .distributionConfigurationArn("distributionConfigurationArn")
         .enhancedImageMetadataEnabled(false)
         .executionRole("executionRole")
         .imageRecipeArn("imageRecipeArn")
         .imageScanningConfiguration(ImageScanningConfigurationProperty.builder()
                 .ecrConfiguration(EcrConfigurationProperty.builder()
                         .containerTags(List.of("containerTags"))
                         .repositoryName("repositoryName")
                         .build())
                 .imageScanningEnabled(false)
                 .build())
         .imageTestsConfiguration(ImageTestsConfigurationProperty.builder()
                 .imageTestsEnabled(false)
                 .timeoutMinutes(123)
                 .build())
         .infrastructureConfigurationArn("infrastructureConfigurationArn")
         .loggingConfiguration(PipelineLoggingConfigurationProperty.builder()
                 .imageLogGroupName("imageLogGroupName")
                 .pipelineLogGroupName("pipelineLogGroupName")
                 .build())
         .name("name")
         .schedule(ScheduleProperty.builder()
                 .autoDisablePolicy(AutoDisablePolicyProperty.builder()
                         .failureCount(123)
                         .build())
                 .pipelineExecutionStartCondition("pipelineExecutionStartCondition")
                 .scheduleExpression("scheduleExpression")
                 .build())
         .status("status")
         .tags(Map.of(
                 "tagsKey", "tags"))
         .workflows(List.of(WorkflowConfigurationProperty.builder()
                 .onFailure("onFailure")
                 .parallelGroup("parallelGroup")
                 .parameters(List.of(WorkflowParameterProperty.builder()
                         .name("name")
                         .value(List.of("value"))
                         .build()))
                 .workflowArn("workflowArn")
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

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

    • CfnImagePipelinePropsMixin

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

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

      @Stability(Stable) public CfnImagePipelinePropsMixin(@NotNull CfnImagePipelineMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::ImageBuilder::ImagePipeline.

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

      @Stability(Stable) public CfnImagePipelinePropsMixin(@NotNull CfnImagePipelineMixinProps props)
      Create a mixin to apply properties to AWS::ImageBuilder::ImagePipeline.

      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 CfnImagePipelineMixinProps getProps()
    • getStrategy

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