We recommend new projects start with resources from the AWS provider.
aws-native.imagebuilder.Image
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::ImageBuilder::Image
Create Image Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Image(name: string, args?: ImageArgs, opts?: CustomResourceOptions);@overload
def Image(resource_name: str,
          args: Optional[ImageArgs] = None,
          opts: Optional[ResourceOptions] = None)
@overload
def Image(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          container_recipe_arn: Optional[str] = None,
          distribution_configuration_arn: Optional[str] = None,
          enhanced_image_metadata_enabled: Optional[bool] = None,
          execution_role: Optional[str] = None,
          image_recipe_arn: Optional[str] = None,
          image_scanning_configuration: Optional[ImageScanningConfigurationArgs] = None,
          image_tests_configuration: Optional[ImageTestsConfigurationArgs] = None,
          infrastructure_configuration_arn: Optional[str] = None,
          tags: Optional[Mapping[str, str]] = None,
          workflows: Optional[Sequence[ImageWorkflowConfigurationArgs]] = None)func NewImage(ctx *Context, name string, args *ImageArgs, opts ...ResourceOption) (*Image, error)public Image(string name, ImageArgs? args = null, CustomResourceOptions? opts = null)type: aws-native:imagebuilder:Image
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ImageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ImageArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ImageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Image Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Image resource accepts the following input properties:
- ContainerRecipe stringArn 
- The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- DistributionConfiguration stringArn 
- The Amazon Resource Name (ARN) of the distribution configuration.
- EnhancedImage boolMetadata Enabled 
- Collects additional information about the image being created, including the operating system (OS) version and package list.
- ExecutionRole string
- The execution role name/ARN for the image build, if provided
- ImageRecipe stringArn 
- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- ImageScanning Pulumi.Configuration Aws Native. Image Builder. Inputs. Image Scanning Configuration 
- Contains settings for vulnerability scans.
- ImageTests Pulumi.Configuration Aws Native. Image Builder. Inputs. Image Tests Configuration 
- The image tests configuration used when creating this image.
- InfrastructureConfiguration stringArn 
- The Amazon Resource Name (ARN) of the infrastructure configuration.
- Dictionary<string, string>
- The tags associated with the image.
- Workflows
List<Pulumi.Aws Native. Image Builder. Inputs. Image Workflow Configuration> 
- Workflows to define the image build process
- ContainerRecipe stringArn 
- The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- DistributionConfiguration stringArn 
- The Amazon Resource Name (ARN) of the distribution configuration.
- EnhancedImage boolMetadata Enabled 
- Collects additional information about the image being created, including the operating system (OS) version and package list.
- ExecutionRole string
- The execution role name/ARN for the image build, if provided
- ImageRecipe stringArn 
- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- ImageScanning ImageConfiguration Scanning Configuration Args 
- Contains settings for vulnerability scans.
- ImageTests ImageConfiguration Tests Configuration Args 
- The image tests configuration used when creating this image.
- InfrastructureConfiguration stringArn 
- The Amazon Resource Name (ARN) of the infrastructure configuration.
- map[string]string
- The tags associated with the image.
- Workflows
[]ImageWorkflow Configuration Args 
- Workflows to define the image build process
- containerRecipe StringArn 
- The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- distributionConfiguration StringArn 
- The Amazon Resource Name (ARN) of the distribution configuration.
- enhancedImage BooleanMetadata Enabled 
- Collects additional information about the image being created, including the operating system (OS) version and package list.
- executionRole String
- The execution role name/ARN for the image build, if provided
- imageRecipe StringArn 
- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- imageScanning ImageConfiguration Scanning Configuration 
- Contains settings for vulnerability scans.
- imageTests ImageConfiguration Tests Configuration 
- The image tests configuration used when creating this image.
- infrastructureConfiguration StringArn 
- The Amazon Resource Name (ARN) of the infrastructure configuration.
- Map<String,String>
- The tags associated with the image.
- workflows
List<ImageWorkflow Configuration> 
- Workflows to define the image build process
- containerRecipe stringArn 
- The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- distributionConfiguration stringArn 
- The Amazon Resource Name (ARN) of the distribution configuration.
- enhancedImage booleanMetadata Enabled 
- Collects additional information about the image being created, including the operating system (OS) version and package list.
- executionRole string
- The execution role name/ARN for the image build, if provided
- imageRecipe stringArn 
- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- imageScanning ImageConfiguration Scanning Configuration 
- Contains settings for vulnerability scans.
- imageTests ImageConfiguration Tests Configuration 
- The image tests configuration used when creating this image.
- infrastructureConfiguration stringArn 
- The Amazon Resource Name (ARN) of the infrastructure configuration.
- {[key: string]: string}
- The tags associated with the image.
- workflows
ImageWorkflow Configuration[] 
- Workflows to define the image build process
- container_recipe_ strarn 
- The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- distribution_configuration_ strarn 
- The Amazon Resource Name (ARN) of the distribution configuration.
- enhanced_image_ boolmetadata_ enabled 
- Collects additional information about the image being created, including the operating system (OS) version and package list.
- execution_role str
- The execution role name/ARN for the image build, if provided
- image_recipe_ strarn 
- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- image_scanning_ Imageconfiguration Scanning Configuration Args 
- Contains settings for vulnerability scans.
- image_tests_ Imageconfiguration Tests Configuration Args 
- The image tests configuration used when creating this image.
- infrastructure_configuration_ strarn 
- The Amazon Resource Name (ARN) of the infrastructure configuration.
- Mapping[str, str]
- The tags associated with the image.
- workflows
Sequence[ImageWorkflow Configuration Args] 
- Workflows to define the image build process
- containerRecipe StringArn 
- The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- distributionConfiguration StringArn 
- The Amazon Resource Name (ARN) of the distribution configuration.
- enhancedImage BooleanMetadata Enabled 
- Collects additional information about the image being created, including the operating system (OS) version and package list.
- executionRole String
- The execution role name/ARN for the image build, if provided
- imageRecipe StringArn 
- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- imageScanning Property MapConfiguration 
- Contains settings for vulnerability scans.
- imageTests Property MapConfiguration 
- The image tests configuration used when creating this image.
- infrastructureConfiguration StringArn 
- The Amazon Resource Name (ARN) of the infrastructure configuration.
- Map<String>
- The tags associated with the image.
- workflows List<Property Map>
- Workflows to define the image build process
Outputs
All input properties are implicitly available as output properties. Additionally, the Image resource produces the following output properties:
Supporting Types
ImageEcrConfiguration, ImageEcrConfigurationArgs      
- List<string>
- Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
- RepositoryName string
- The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images.
- []string
- Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
- RepositoryName string
- The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images.
- List<String>
- Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
- repositoryName String
- The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images.
- string[]
- Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
- repositoryName string
- The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images.
- Sequence[str]
- Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
- repository_name str
- The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images.
- List<String>
- Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images.
- repositoryName String
- The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images.
ImageScanningConfiguration, ImageScanningConfigurationArgs      
- EcrConfiguration Pulumi.Aws Native. Image Builder. Inputs. Image Ecr Configuration 
- Contains ECR settings for vulnerability scans.
- ImageScanning boolEnabled 
- This sets whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
- EcrConfiguration ImageEcr Configuration 
- Contains ECR settings for vulnerability scans.
- ImageScanning boolEnabled 
- This sets whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
- ecrConfiguration ImageEcr Configuration 
- Contains ECR settings for vulnerability scans.
- imageScanning BooleanEnabled 
- This sets whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
- ecrConfiguration ImageEcr Configuration 
- Contains ECR settings for vulnerability scans.
- imageScanning booleanEnabled 
- This sets whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
- ecr_configuration ImageEcr Configuration 
- Contains ECR settings for vulnerability scans.
- image_scanning_ boolenabled 
- This sets whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
- ecrConfiguration Property Map
- Contains ECR settings for vulnerability scans.
- imageScanning BooleanEnabled 
- This sets whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
ImageTestsConfiguration, ImageTestsConfigurationArgs      
- ImageTests boolEnabled 
- ImageTestsEnabled
- TimeoutMinutes int
- TimeoutMinutes
- ImageTests boolEnabled 
- ImageTestsEnabled
- TimeoutMinutes int
- TimeoutMinutes
- imageTests BooleanEnabled 
- ImageTestsEnabled
- timeoutMinutes Integer
- TimeoutMinutes
- imageTests booleanEnabled 
- ImageTestsEnabled
- timeoutMinutes number
- TimeoutMinutes
- image_tests_ boolenabled 
- ImageTestsEnabled
- timeout_minutes int
- TimeoutMinutes
- imageTests BooleanEnabled 
- ImageTestsEnabled
- timeoutMinutes Number
- TimeoutMinutes
ImageWorkflowConfiguration, ImageWorkflowConfigurationArgs      
- OnFailure Pulumi.Aws Native. Image Builder. Image Workflow Configuration On Failure 
- Define execution decision in case of workflow failure
- ParallelGroup string
- The parallel group name
- Parameters
List<Pulumi.Aws Native. Image Builder. Inputs. Image Workflow Parameter> 
- The parameters associated with the workflow
- WorkflowArn string
- The Amazon Resource Name (ARN) of the workflow
- OnFailure ImageWorkflow Configuration On Failure 
- Define execution decision in case of workflow failure
- ParallelGroup string
- The parallel group name
- Parameters
[]ImageWorkflow Parameter 
- The parameters associated with the workflow
- WorkflowArn string
- The Amazon Resource Name (ARN) of the workflow
- onFailure ImageWorkflow Configuration On Failure 
- Define execution decision in case of workflow failure
- parallelGroup String
- The parallel group name
- parameters
List<ImageWorkflow Parameter> 
- The parameters associated with the workflow
- workflowArn String
- The Amazon Resource Name (ARN) of the workflow
- onFailure ImageWorkflow Configuration On Failure 
- Define execution decision in case of workflow failure
- parallelGroup string
- The parallel group name
- parameters
ImageWorkflow Parameter[] 
- The parameters associated with the workflow
- workflowArn string
- The Amazon Resource Name (ARN) of the workflow
- on_failure ImageWorkflow Configuration On Failure 
- Define execution decision in case of workflow failure
- parallel_group str
- The parallel group name
- parameters
Sequence[ImageWorkflow Parameter] 
- The parameters associated with the workflow
- workflow_arn str
- The Amazon Resource Name (ARN) of the workflow
- onFailure "CONTINUE" | "ABORT"
- Define execution decision in case of workflow failure
- parallelGroup String
- The parallel group name
- parameters List<Property Map>
- The parameters associated with the workflow
- workflowArn String
- The Amazon Resource Name (ARN) of the workflow
ImageWorkflowConfigurationOnFailure, ImageWorkflowConfigurationOnFailureArgs          
- Continue
- CONTINUE
- Abort
- ABORT
- ImageWorkflow Configuration On Failure Continue 
- CONTINUE
- ImageWorkflow Configuration On Failure Abort 
- ABORT
- Continue
- CONTINUE
- Abort
- ABORT
- Continue
- CONTINUE
- Abort
- ABORT
- CONTINUE_
- CONTINUE
- ABORT
- ABORT
- "CONTINUE"
- CONTINUE
- "ABORT"
- ABORT
ImageWorkflowParameter, ImageWorkflowParameterArgs      
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.