CfnImageMixinProps
- class aws_cdk.mixins_preview.aws_imagebuilder.mixins.CfnImageMixinProps(*, container_recipe_arn=None, deletion_settings=None, distribution_configuration_arn=None, enhanced_image_metadata_enabled=None, execution_role=None, image_pipeline_execution_settings=None, image_recipe_arn=None, image_scanning_configuration=None, image_tests_configuration=None, infrastructure_configuration_arn=None, logging_configuration=None, tags=None, workflows=None)
Bases:
objectProperties for CfnImagePropsMixin.
- Parameters:
container_recipe_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.deletion_settings (
Union[IResolvable,DeletionSettingsProperty,Dict[str,Any],None]) – The deletion settings of the image, indicating whether to delete the underlying resources in addition to the image.distribution_configuration_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.enhanced_image_metadata_enabled (
Union[bool,IResolvable,None]) – 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.execution_role (
Optional[str]) – The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.image_pipeline_execution_settings (
Union[IResolvable,ImagePipelineExecutionSettingsProperty,Dict[str,Any],None]) – The settings for starting an image pipeline execution.image_recipe_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.image_scanning_configuration (
Union[IResolvable,ImageScanningConfigurationProperty,Dict[str,Any],None]) – Contains settings for vulnerability scans.image_tests_configuration (
Union[IResolvable,ImageTestsConfigurationProperty,Dict[str,Any],None]) – The image tests configuration of the image.infrastructure_configuration_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.logging_configuration (
Union[IResolvable,ImageLoggingConfigurationProperty,Dict[str,Any],None]) – The logging configuration that’s defined for the image. Image Builder uses the defined settings to direct execution log output during image creation.tags (
Optional[Mapping[str,str]]) – The tags of the image.workflows (
Union[IResolvable,Sequence[Union[IResolvable,WorkflowConfigurationProperty,Dict[str,Any]]],None]) – Contains an array of workflow configuration objects.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_imagebuilder import mixins as imagebuilder_mixins cfn_image_mixin_props = imagebuilder_mixins.CfnImageMixinProps( container_recipe_arn="containerRecipeArn", deletion_settings=imagebuilder_mixins.CfnImagePropsMixin.DeletionSettingsProperty( execution_role="executionRole" ), distribution_configuration_arn="distributionConfigurationArn", enhanced_image_metadata_enabled=False, execution_role="executionRole", image_pipeline_execution_settings=imagebuilder_mixins.CfnImagePropsMixin.ImagePipelineExecutionSettingsProperty( deployment_id="deploymentId", on_update=False ), image_recipe_arn="imageRecipeArn", image_scanning_configuration=imagebuilder_mixins.CfnImagePropsMixin.ImageScanningConfigurationProperty( ecr_configuration=imagebuilder_mixins.CfnImagePropsMixin.EcrConfigurationProperty( container_tags=["containerTags"], repository_name="repositoryName" ), image_scanning_enabled=False ), image_tests_configuration=imagebuilder_mixins.CfnImagePropsMixin.ImageTestsConfigurationProperty( image_tests_enabled=False, timeout_minutes=123 ), infrastructure_configuration_arn="infrastructureConfigurationArn", logging_configuration=imagebuilder_mixins.CfnImagePropsMixin.ImageLoggingConfigurationProperty( log_group_name="logGroupName" ), tags={ "tags_key": "tags" }, workflows=[imagebuilder_mixins.CfnImagePropsMixin.WorkflowConfigurationProperty( on_failure="onFailure", parallel_group="parallelGroup", parameters=[imagebuilder_mixins.CfnImagePropsMixin.WorkflowParameterProperty( name="name", value=["value"] )], workflow_arn="workflowArn" )] )
Attributes
- container_recipe_arn
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- deletion_settings
The deletion settings of the image, indicating whether to delete the underlying resources in addition to the image.
- distribution_configuration_arn
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
- enhanced_image_metadata_enabled
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.
- execution_role
The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
- image_pipeline_execution_settings
The settings for starting an image pipeline execution.
- image_recipe_arn
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- image_scanning_configuration
Contains settings for vulnerability scans.
- image_tests_configuration
The image tests configuration of the image.
- infrastructure_configuration_arn
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
- logging_configuration
The logging configuration that’s defined for the image.
Image Builder uses the defined settings to direct execution log output during image creation.
- tags
The tags of the image.
- workflows
Contains an array of workflow configuration objects.