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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDefines the rules by which an image pipeline is automatically disabled when it fails.static final classA fluent builder forCfnImagePipelinePropsMixin.static interfaceSettings that Image Builder uses to configure the ECR repository and the output container images that Amazon Inspector scans.static interfaceContains settings for Image Builder image resource and container image scans.static interfaceWhen you create an image or container recipe with Image Builder , you can add the build or test components that your image pipeline uses to create the final image.static interfaceThe logging configuration that's defined for pipeline execution.static interfaceA schedule configures when and how often a pipeline will automatically create a new image.static interfaceContains control settings and configurable inputs for a workflow resource.static interfaceContains a key/value pair that sets the named workflow parameter.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::ImageBuilder::ImagePipeline.Create a mixin to apply properties toAWS::ImageBuilder::ImagePipeline.protectedCfnImagePipelinePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnImagePipelinePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnImagePipelineMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 toAWS::ImageBuilder::ImagePipeline.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnImagePipelinePropsMixin
Create a mixin to apply properties toAWS::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. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-