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 Details

    • create

      @Stability(Stable) public static CfnImage.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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
    • containerRecipeArn

      @Stability(Stable) public CfnImage.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
    • 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

      @Stability(Stable) public CfnImage.Builder imageRecipeArn(String 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

      @Stability(Stable) public CfnImage.Builder tags(Map<String,String> tags)
      The tags of the image.

      Parameters:
      tags - The tags of the image. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnImage build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnImage>
      Returns:
      a newly built instance of CfnImage.