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 Details

    • create

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

      @Stability(Stable) public CfnImagePipeline.Builder name(String name)
      The name of the image pipeline.

      Parameters:
      name - The name of the image pipeline. This parameter is required.
      Returns:
      this
    • containerRecipeArn

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

      @Stability(Stable) public CfnImagePipeline.Builder description(String description)
      The description of this image pipeline.

      Parameters:
      description - The description of this image pipeline. This parameter is required.
      Returns:
      this
    • 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
    • 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
    • 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
    • imageRecipeArn

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

      @Stability(Stable) public CfnImagePipeline.Builder imageScanningConfiguration(IResolvable imageScanningConfiguration)
      AWS::ImageBuilder::ImagePipeline.ImageScanningConfiguration.

      Parameters:
      imageScanningConfiguration - AWS::ImageBuilder::ImagePipeline.ImageScanningConfiguration. This parameter is required.
      Returns:
      this
    • imageScanningConfiguration

      @Stability(Stable) public CfnImagePipeline.Builder imageScanningConfiguration(CfnImagePipeline.ImageScanningConfigurationProperty imageScanningConfiguration)
      AWS::ImageBuilder::ImagePipeline.ImageScanningConfiguration.

      Parameters:
      imageScanningConfiguration - AWS::ImageBuilder::ImagePipeline.ImageScanningConfiguration. This parameter is required.
      Returns:
      this
    • 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
    • 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
    • schedule

      @Stability(Stable) public CfnImagePipeline.Builder schedule(IResolvable 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
    • 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
    • status

      @Stability(Stable) public CfnImagePipeline.Builder status(String status)
      The status of the image pipeline.

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

      @Stability(Stable) public CfnImagePipeline.Builder tags(Map<String,String> tags)
      The tags of this image pipeline.

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

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