Class CfnImagePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnImagePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImagePropsMixin>
- Enclosing class:
CfnImagePropsMixin
@Stability(Stable)
public static final class CfnImagePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImagePropsMixin>
A fluent builder for
CfnImagePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()containerRecipeArn(String containerRecipeArn) The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.static CfnImagePropsMixin.Buildercreate()static CfnImagePropsMixin.Buildercreate(CfnPropertyMixinOptions options) deletionSettings(CfnImagePropsMixin.DeletionSettingsProperty deletionSettings) Enables deletion of underlying resources of an image when it is replaced or deleted, including its Amazon Machine Images (AMIs), snapshots, or containers.deletionSettings(IResolvable deletionSettings) Enables deletion of underlying resources of an image when it is replaced or deleted, including its Amazon Machine Images (AMIs), snapshots, or containers.distributionConfigurationArn(String distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.distributionConfigurationArn(IDistributionConfigurationRef distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your 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.imagePipelineExecutionSettings(CfnImagePropsMixin.ImagePipelineExecutionSettingsProperty imagePipelineExecutionSettings) The image pipeline execution settings of the image.imagePipelineExecutionSettings(IResolvable imagePipelineExecutionSettings) The image pipeline execution settings of the image.imageRecipeArn(String imageRecipeArn) The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.imageRecipeArn(IImageRecipeRef imageRecipeArn) The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.imageScanningConfiguration(CfnImagePropsMixin.ImageScanningConfigurationProperty imageScanningConfiguration) Contains settings for vulnerability scans.imageScanningConfiguration(IResolvable imageScanningConfiguration) Contains settings for vulnerability scans.imageTestsConfiguration(CfnImagePropsMixin.ImageTestsConfigurationProperty imageTestsConfiguration) The image tests configuration of the image.imageTestsConfiguration(IResolvable imageTestsConfiguration) The image tests configuration of the image.infrastructureConfigurationArn(String infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.infrastructureConfigurationArn(IInfrastructureConfigurationRef infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.loggingConfiguration(CfnImagePropsMixin.ImageLoggingConfigurationProperty loggingConfiguration) The logging configuration that's defined for the image.loggingConfiguration(IResolvable loggingConfiguration) The logging configuration that's defined for the image.The tags of the image.Contains an array of workflow configuration objects.workflows(IResolvable workflows) Contains an array of workflow configuration objects.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnImagePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnImagePropsMixin.Builder.
-
containerRecipeArn
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.- Parameters:
containerRecipeArn- The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested. This parameter is required.- Returns:
this- See Also:
-
deletionSettings
Enables deletion of underlying resources of an image when it is replaced or deleted, including its Amazon Machine Images (AMIs), snapshots, or containers.- Parameters:
deletionSettings- Enables deletion of underlying resources of an image when it is replaced or deleted, including its Amazon Machine Images (AMIs), snapshots, or containers. This parameter is required.- Returns:
this- See Also:
-
deletionSettings
@Stability(Stable) public CfnImagePropsMixin.Builder deletionSettings(CfnImagePropsMixin.DeletionSettingsProperty deletionSettings) Enables deletion of underlying resources of an image when it is replaced or deleted, including its Amazon Machine Images (AMIs), snapshots, or containers.- Parameters:
deletionSettings- Enables deletion of underlying resources of an image when it is replaced or deleted, including its Amazon Machine Images (AMIs), snapshots, or containers. This parameter is required.- Returns:
this- See Also:
-
distributionConfigurationArn
@Stability(Stable) public CfnImagePropsMixin.Builder distributionConfigurationArn(String distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.- Parameters:
distributionConfigurationArn- The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline. This parameter is required.- Returns:
this- See Also:
-
distributionConfigurationArn
@Stability(Stable) public CfnImagePropsMixin.Builder distributionConfigurationArn(IDistributionConfigurationRef distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.- Parameters:
distributionConfigurationArn- The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline. This parameter is required.- Returns:
this- See Also:
-
enhancedImageMetadataEnabled
@Stability(Stable) public CfnImagePropsMixin.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 CfnImagePropsMixin.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:
-
imagePipelineExecutionSettings
@Stability(Stable) public CfnImagePropsMixin.Builder imagePipelineExecutionSettings(IResolvable imagePipelineExecutionSettings) The image pipeline execution settings of the image.- Parameters:
imagePipelineExecutionSettings- The image pipeline execution settings of the image. This parameter is required.- Returns:
this- See Also:
-
imagePipelineExecutionSettings
@Stability(Stable) public CfnImagePropsMixin.Builder imagePipelineExecutionSettings(CfnImagePropsMixin.ImagePipelineExecutionSettingsProperty imagePipelineExecutionSettings) The image pipeline execution settings of the image.- Parameters:
imagePipelineExecutionSettings- The image pipeline execution settings of the image. This parameter is required.- Returns:
this- See Also:
-
imageRecipeArn
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.- Parameters:
imageRecipeArn- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed. This parameter is required.- Returns:
this- See Also:
-
imageRecipeArn
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.- Parameters:
imageRecipeArn- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed. This parameter is required.- Returns:
this- See Also:
-
imageScanningConfiguration
@Stability(Stable) public CfnImagePropsMixin.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 CfnImagePropsMixin.Builder imageScanningConfiguration(CfnImagePropsMixin.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 CfnImagePropsMixin.Builder imageTestsConfiguration(IResolvable imageTestsConfiguration) The image tests configuration of the image.- Parameters:
imageTestsConfiguration- The image tests configuration of the image. This parameter is required.- Returns:
this- See Also:
-
imageTestsConfiguration
@Stability(Stable) public CfnImagePropsMixin.Builder imageTestsConfiguration(CfnImagePropsMixin.ImageTestsConfigurationProperty imageTestsConfiguration) The image tests configuration of the image.- Parameters:
imageTestsConfiguration- The image tests configuration of the image. This parameter is required.- Returns:
this- See Also:
-
infrastructureConfigurationArn
@Stability(Stable) public CfnImagePropsMixin.Builder infrastructureConfigurationArn(String infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.- Parameters:
infrastructureConfigurationArn- The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested. This parameter is required.- Returns:
this- See Also:
-
infrastructureConfigurationArn
@Stability(Stable) public CfnImagePropsMixin.Builder infrastructureConfigurationArn(IInfrastructureConfigurationRef infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.- Parameters:
infrastructureConfigurationArn- The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested. This parameter is required.- Returns:
this- See Also:
-
loggingConfiguration
@Stability(Stable) public CfnImagePropsMixin.Builder loggingConfiguration(IResolvable loggingConfiguration) The logging configuration that's defined for the image.Image Builder uses the defined settings to direct execution log output during image creation.
- Parameters:
loggingConfiguration- The logging configuration that's defined for the image. This parameter is required.- Returns:
this- See Also:
-
loggingConfiguration
@Stability(Stable) public CfnImagePropsMixin.Builder loggingConfiguration(CfnImagePropsMixin.ImageLoggingConfigurationProperty loggingConfiguration) The logging configuration that's defined for the image.Image Builder uses the defined settings to direct execution log output during image creation.
- Parameters:
loggingConfiguration- The logging configuration that's defined for the image. 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:
-
workflows
Contains an array of workflow configuration objects.- Parameters:
workflows- Contains an array of workflow configuration objects. This parameter is required.- Returns:
this- See Also:
-
workflows
Contains an array of workflow configuration objects.- Parameters:
workflows- Contains an array of workflow configuration objects. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnImagePropsMixin>- Returns:
- a newly built instance of
CfnImagePropsMixin.
-