Class CfnImagePipeline.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnImagePipeline.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImagePipeline>
- Enclosing class:
CfnImagePipeline
@Stability(Stable)
public static final class CfnImagePipeline.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImagePipeline>
A fluent builder for
CfnImagePipeline
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
containerRecipeArn
(String containerRecipeArn) The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.static CfnImagePipeline.Builder
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.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.imageScanningConfiguration
(IResolvable imageScanningConfiguration) Contains settings for vulnerability scans.imageScanningConfiguration
(CfnImagePipeline.ImageScanningConfigurationProperty imageScanningConfiguration) Contains settings for vulnerability scans.imageTestsConfiguration
(IResolvable imageTestsConfiguration) The configuration of the image tests that run after image creation to ensure the quality of the image that was created.imageTestsConfiguration
(CfnImagePipeline.ImageTestsConfigurationProperty 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.The name of the image pipeline.schedule
(IResolvable schedule) The schedule of the image pipeline.schedule
(CfnImagePipeline.ScheduleProperty 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 CfnImagePipeline.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnImagePipeline.Builder
.
-
infrastructureConfigurationArn
@Stability(Stable) public CfnImagePipeline.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:
-
name
The name of the image pipeline.- Parameters:
name
- The name of the image pipeline. This parameter is required.- Returns:
this
- See Also:
-
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 CfnImagePipeline.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:
-
enhancedImageMetadataEnabled
@Stability(Stable) public CfnImagePipeline.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 CfnImagePipeline.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:
-
imageScanningConfiguration
@Stability(Stable) public CfnImagePipeline.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 CfnImagePipeline.Builder imageScanningConfiguration(CfnImagePipeline.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 CfnImagePipeline.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 CfnImagePipeline.Builder imageTestsConfiguration(CfnImagePipeline.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:
-
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 CfnImagePipeline.Builder schedule(CfnImagePipeline.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
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnImagePipeline>
- Returns:
- a newly built instance of
CfnImagePipeline
.
-