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.BuilderdistributionConfigurationArn(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) Contains settings for vulnerability scans.imageScanningConfiguration(CfnImage.ImageScanningConfigurationProperty imageScanningConfiguration) Contains settings for vulnerability scans.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
@Stability(Stable) public static CfnImage.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
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- 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:
-
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- See Also:
-
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- See Also:
-
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- See Also:
-
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- See Also:
-
imageScanningConfiguration
@Stability(Stable) public CfnImage.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 CfnImage.Builder imageScanningConfiguration(CfnImage.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 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- See Also:
-
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- See Also:
-
tags
The tags of the image.- Parameters:
tags- The tags of the image. This parameter is required.- Returns:
this- See Also:
-
build
-