Class CfnImagePipelinePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnImagePipelinePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImagePipelinePropsMixin>
- Enclosing class:
CfnImagePipelinePropsMixin
@Stability(Stable)
public static final class CfnImagePipelinePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImagePipelinePropsMixin>
A fluent builder for
CfnImagePipelinePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()containerRecipeArn(String containerRecipeArn) The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.containerRecipeArn(IContainerRecipeRef containerRecipeArn) The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.create()create(CfnPropertyMixinOptions options) description(String description) The description of this image pipeline.distributionConfigurationArn(String distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline.distributionConfigurationArn(IDistributionConfigurationRef distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline.enhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled) Collects additional information about the image being created, including the operating system (OS) version and package list.enhancedImageMetadataEnabled(IResolvable enhancedImageMetadataEnabled) Collects additional information about the image being created, including the operating system (OS) version and package list.executionRole(String executionRole) The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.imageRecipeArn(String imageRecipeArn) The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.imageRecipeArn(IImageRecipeRef imageRecipeArn) The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.imageScanningConfiguration(CfnImagePipelinePropsMixin.ImageScanningConfigurationProperty imageScanningConfiguration) Contains settings for vulnerability scans.imageScanningConfiguration(IResolvable imageScanningConfiguration) Contains settings for vulnerability scans.imageTestsConfiguration(CfnImagePipelinePropsMixin.ImageTestsConfigurationProperty imageTestsConfiguration) The configuration of the image tests that run after image creation to ensure the quality of the image that was created.imageTestsConfiguration(IResolvable imageTestsConfiguration) The configuration of the image tests that run after image creation to ensure the quality of the image that was created.infrastructureConfigurationArn(String infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.infrastructureConfigurationArn(IInfrastructureConfigurationRef infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.loggingConfiguration(CfnImagePipelinePropsMixin.PipelineLoggingConfigurationProperty loggingConfiguration) Defines logging configuration for the output image.loggingConfiguration(IResolvable loggingConfiguration) Defines logging configuration for the output image.The name of the image pipeline.The schedule of the image pipeline.schedule(IResolvable schedule) The schedule of the image pipeline.The status of the image pipeline.The tags of this image pipeline.Contains the workflows that run for the image pipeline.workflows(IResolvable workflows) Contains the workflows that run for the image pipeline.
-
Method Details
-
create
@Stability(Stable) public static CfnImagePipelinePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnImagePipelinePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnImagePipelinePropsMixin.Builder.
-
containerRecipeArn
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder containerRecipeArn(String containerRecipeArn) The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.- Parameters:
containerRecipeArn- The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline. This parameter is required.- Returns:
this- See Also:
-
containerRecipeArn
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder containerRecipeArn(IContainerRecipeRef containerRecipeArn) The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.- Parameters:
containerRecipeArn- The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline. This parameter is required.- Returns:
this- See Also:
-
description
The description of this image pipeline.- Parameters:
description- The description of this image pipeline. This parameter is required.- Returns:
this- See Also:
-
distributionConfigurationArn
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder distributionConfigurationArn(String distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline.- Parameters:
distributionConfigurationArn- The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline. This parameter is required.- Returns:
this- See Also:
-
distributionConfigurationArn
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder distributionConfigurationArn(IDistributionConfigurationRef distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline.- Parameters:
distributionConfigurationArn- The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline. This parameter is required.- Returns:
this- See Also:
-
enhancedImageMetadataEnabled
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder enhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled) Collects additional information about the image being created, including the operating system (OS) version and package list.This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
- Parameters:
enhancedImageMetadataEnabled- Collects additional information about the image being created, including the operating system (OS) version and package list. This parameter is required.- Returns:
this- See Also:
-
enhancedImageMetadataEnabled
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder enhancedImageMetadataEnabled(IResolvable enhancedImageMetadataEnabled) Collects additional information about the image being created, including the operating system (OS) version and package list.This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
- Parameters:
enhancedImageMetadataEnabled- Collects additional information about the image being created, including the operating system (OS) version and package list. This parameter is required.- Returns:
this- See Also:
-
executionRole
The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.- Parameters:
executionRole- The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions. This parameter is required.- Returns:
this- See Also:
-
imageRecipeArn
The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.- Parameters:
imageRecipeArn- The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline. This parameter is required.- Returns:
this- See Also:
-
imageRecipeArn
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder imageRecipeArn(IImageRecipeRef imageRecipeArn) The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.- Parameters:
imageRecipeArn- The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline. This parameter is required.- Returns:
this- See Also:
-
imageScanningConfiguration
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder imageScanningConfiguration(IResolvable imageScanningConfiguration) Contains settings for vulnerability scans.- Parameters:
imageScanningConfiguration- Contains settings for vulnerability scans. This parameter is required.- Returns:
this- See Also:
-
imageScanningConfiguration
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder imageScanningConfiguration(CfnImagePipelinePropsMixin.ImageScanningConfigurationProperty imageScanningConfiguration) Contains settings for vulnerability scans.- Parameters:
imageScanningConfiguration- Contains settings for vulnerability scans. This parameter is required.- Returns:
this- See Also:
-
imageTestsConfiguration
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder imageTestsConfiguration(IResolvable imageTestsConfiguration) The configuration of the image tests that run after image creation to ensure the quality of the image that was created.- Parameters:
imageTestsConfiguration- The configuration of the image tests that run after image creation to ensure the quality of the image that was created. This parameter is required.- Returns:
this- See Also:
-
imageTestsConfiguration
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder imageTestsConfiguration(CfnImagePipelinePropsMixin.ImageTestsConfigurationProperty imageTestsConfiguration) The configuration of the image tests that run after image creation to ensure the quality of the image that was created.- Parameters:
imageTestsConfiguration- The configuration of the image tests that run after image creation to ensure the quality of the image that was created. This parameter is required.- Returns:
this- See Also:
-
infrastructureConfigurationArn
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder infrastructureConfigurationArn(String infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.- Parameters:
infrastructureConfigurationArn- The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline. This parameter is required.- Returns:
this- See Also:
-
infrastructureConfigurationArn
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder infrastructureConfigurationArn(IInfrastructureConfigurationRef infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.- Parameters:
infrastructureConfigurationArn- The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline. This parameter is required.- Returns:
this- See Also:
-
loggingConfiguration
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder loggingConfiguration(IResolvable loggingConfiguration) Defines logging configuration for the output image.- Parameters:
loggingConfiguration- Defines logging configuration for the output image. This parameter is required.- Returns:
this- See Also:
-
loggingConfiguration
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder loggingConfiguration(CfnImagePipelinePropsMixin.PipelineLoggingConfigurationProperty loggingConfiguration) Defines logging configuration for the output image.- Parameters:
loggingConfiguration- Defines logging configuration for the output image. This parameter is required.- Returns:
this- See Also:
-
name
The name of the image pipeline.- Parameters:
name- The name of the image pipeline. This parameter is required.- Returns:
this- See Also:
-
schedule
The schedule of the image pipeline.A schedule configures how often and when a pipeline automatically creates a new image.
- Parameters:
schedule- The schedule of the image pipeline. This parameter is required.- Returns:
this- See Also:
-
schedule
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder schedule(CfnImagePipelinePropsMixin.ScheduleProperty schedule) The schedule of the image pipeline.A schedule configures how often and when a pipeline automatically creates a new image.
- Parameters:
schedule- The schedule of the image pipeline. This parameter is required.- Returns:
this- See Also:
-
status
The status of the image pipeline.- Parameters:
status- The status of the image pipeline. This parameter is required.- Returns:
this- See Also:
-
tags
The tags of this image pipeline.- Parameters:
tags- The tags of this image pipeline. This parameter is required.- Returns:
this- See Also:
-
workflows
Contains the workflows that run for the image pipeline.- Parameters:
workflows- Contains the workflows that run for the image pipeline. This parameter is required.- Returns:
this- See Also:
-
workflows
@Stability(Stable) public CfnImagePipelinePropsMixin.Builder workflows(List<? extends Object> workflows) Contains the workflows that run for the image pipeline.- Parameters:
workflows- Contains the workflows that run for the image pipeline. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnImagePipelinePropsMixin>- Returns:
- a newly built instance of
CfnImagePipelinePropsMixin.
-