Class CfnImage.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnImage.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImage>
- Enclosing class:
CfnImage
@Stability(Stable)
public static final class CfnImage.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImage>
A fluent builder for
CfnImage
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
containerRecipeArn
(String containerRecipeArn) The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.static CfnImage.Builder
distributionConfigurationArn
(String distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration.enhancedImageMetadataEnabled
(Boolean enhancedImageMetadataEnabled) Indicates whether Image Builder collects additional information about the image, such as the operating system (OS) version and package list.enhancedImageMetadataEnabled
(IResolvable enhancedImageMetadataEnabled) Indicates whether Image Builder collects additional information about the image, such as the operating system (OS) version and package list.imageRecipeArn
(String imageRecipeArn) The Amazon Resource Name (ARN) of the image recipe.imageScanningConfiguration
(IResolvable imageScanningConfiguration) AWS::ImageBuilder::Image.ImageScanningConfiguration
.imageScanningConfiguration
(CfnImage.ImageScanningConfigurationProperty imageScanningConfiguration) AWS::ImageBuilder::Image.ImageScanningConfiguration
.imageTestsConfiguration
(IResolvable imageTestsConfiguration) The configuration settings for your image test components, which includes a toggle that allows you to turn off tests, and a timeout setting.imageTestsConfiguration
(CfnImage.ImageTestsConfigurationProperty imageTestsConfiguration) The configuration settings for your image test components, which includes a toggle that allows you to turn off tests, and a timeout setting.infrastructureConfigurationArn
(String infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.The tags of the image.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnImage.Builder
.
-
infrastructureConfigurationArn
@Stability(Stable) public CfnImage.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
-
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
-
distributionConfigurationArn
@Stability(Stable) public CfnImage.Builder distributionConfigurationArn(String distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration.- Parameters:
distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration. This parameter is required.- Returns:
this
-
enhancedImageMetadataEnabled
@Stability(Stable) public CfnImage.Builder enhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled) Indicates whether Image Builder collects additional information about the image, such as the operating system (OS) version and package list.- Parameters:
enhancedImageMetadataEnabled
- Indicates whether Image Builder collects additional information about the image, such as the operating system (OS) version and package list. This parameter is required.- Returns:
this
-
enhancedImageMetadataEnabled
@Stability(Stable) public CfnImage.Builder enhancedImageMetadataEnabled(IResolvable enhancedImageMetadataEnabled) Indicates whether Image Builder collects additional information about the image, such as the operating system (OS) version and package list.- Parameters:
enhancedImageMetadataEnabled
- Indicates whether Image Builder collects additional information about the image, such as the operating system (OS) version and package list. This parameter is required.- Returns:
this
-
imageRecipeArn
The Amazon Resource Name (ARN) of the image recipe.- Parameters:
imageRecipeArn
- The Amazon Resource Name (ARN) of the image recipe. This parameter is required.- Returns:
this
-
imageScanningConfiguration
@Stability(Stable) public CfnImage.Builder imageScanningConfiguration(IResolvable imageScanningConfiguration) AWS::ImageBuilder::Image.ImageScanningConfiguration
.- Parameters:
imageScanningConfiguration
-AWS::ImageBuilder::Image.ImageScanningConfiguration
. This parameter is required.- Returns:
this
-
imageScanningConfiguration
@Stability(Stable) public CfnImage.Builder imageScanningConfiguration(CfnImage.ImageScanningConfigurationProperty imageScanningConfiguration) AWS::ImageBuilder::Image.ImageScanningConfiguration
.- Parameters:
imageScanningConfiguration
-AWS::ImageBuilder::Image.ImageScanningConfiguration
. This parameter is required.- Returns:
this
-
imageTestsConfiguration
@Stability(Stable) public CfnImage.Builder imageTestsConfiguration(IResolvable imageTestsConfiguration) The configuration settings for your image test components, which includes a toggle that allows you to turn off tests, and a timeout setting.- Parameters:
imageTestsConfiguration
- The configuration settings for your image test components, which includes a toggle that allows you to turn off tests, and a timeout setting. This parameter is required.- Returns:
this
-
imageTestsConfiguration
@Stability(Stable) public CfnImage.Builder imageTestsConfiguration(CfnImage.ImageTestsConfigurationProperty imageTestsConfiguration) The configuration settings for your image test components, which includes a toggle that allows you to turn off tests, and a timeout setting.- Parameters:
imageTestsConfiguration
- The configuration settings for your image test components, which includes a toggle that allows you to turn off tests, and a timeout setting. This parameter is required.- Returns:
this
-
tags
The tags of the image.- Parameters:
tags
- The tags of the image. This parameter is required.- Returns:
this
-
build
-