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:
- Container
Recipe stringArn - The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- Distribution
Configuration stringArn - 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 string - The execution role name/ARN for the image build, if provided
- Image
Recipe stringArn - The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- Image
Scanning Pulumi.Configuration Aws Native. Image Builder. Inputs. Image Scanning Configuration - Contains settings for vulnerability scans.
- Image
Tests Pulumi.Configuration Aws Native. Image Builder. Inputs. Image Tests Configuration - The image tests configuration used when creating this image.
- Infrastructure
Configuration 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
- Container
Recipe stringArn - The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- Distribution
Configuration stringArn - 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 string - The execution role name/ARN for the image build, if provided
- Image
Recipe stringArn - 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 stringArn - The Amazon Resource Name (ARN) of the infrastructure configuration.
- map[string]string
- The tags associated with the image.
- Workflows
[]Image
Workflow Configuration Args - Workflows to define the image build process
- container
Recipe StringArn - The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- distribution
Configuration StringArn - The Amazon Resource Name (ARN) of the distribution configuration.
- enhanced
Image BooleanMetadata Enabled - Collects additional information about the image being created, including the operating system (OS) version and package list.
- execution
Role String - The execution role name/ARN for the image build, if provided
- image
Recipe StringArn - The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- image
Scanning ImageConfiguration Scanning Configuration - Contains settings for vulnerability scans.
- image
Tests ImageConfiguration Tests Configuration - The image tests configuration used when creating this image.
- infrastructure
Configuration StringArn - The Amazon Resource Name (ARN) of the infrastructure configuration.
- Map<String,String>
- The tags associated with the image.
- workflows
List<Image
Workflow Configuration> - Workflows to define the image build process
- container
Recipe stringArn - The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- distribution
Configuration stringArn - The Amazon Resource Name (ARN) of the distribution configuration.
- enhanced
Image booleanMetadata Enabled - Collects additional information about the image being created, including the operating system (OS) version and package list.
- execution
Role string - The execution role name/ARN for the image build, if provided
- image
Recipe stringArn - The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- image
Scanning ImageConfiguration Scanning Configuration - Contains settings for vulnerability scans.
- image
Tests ImageConfiguration Tests Configuration - The image tests configuration used when creating this image.
- infrastructure
Configuration stringArn - The Amazon Resource Name (ARN) of the infrastructure configuration.
- {[key: string]: string}
- The tags associated with the image.
- workflows
Image
Workflow 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[Image
Workflow Configuration Args] - Workflows to define the image build process
- container
Recipe StringArn - The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
- distribution
Configuration StringArn - The Amazon Resource Name (ARN) of the distribution configuration.
- enhanced
Image BooleanMetadata Enabled - Collects additional information about the image being created, including the operating system (OS) version and package list.
- execution
Role String - The execution role name/ARN for the image build, if provided
- image
Recipe StringArn - The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
- image
Scanning Property MapConfiguration - Contains settings for vulnerability scans.
- image
Tests Property MapConfiguration - The image tests configuration used when creating this image.
- infrastructure
Configuration 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.
- Repository
Name 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.
- Repository
Name 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.
- repository
Name 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.
- repository
Name 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.
- repository
Name 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
- Ecr
Configuration Pulumi.Aws Native. Image Builder. Inputs. Image Ecr 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.
- 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.
- ecr
Configuration ImageEcr Configuration - Contains ECR settings for vulnerability scans.
- image
Scanning 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 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.
- ecr
Configuration Property Map - Contains ECR settings for vulnerability scans.
- image
Scanning 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
- Image
Tests boolEnabled - ImageTestsEnabled
- Timeout
Minutes int - TimeoutMinutes
- Image
Tests boolEnabled - ImageTestsEnabled
- Timeout
Minutes int - TimeoutMinutes
- image
Tests BooleanEnabled - ImageTestsEnabled
- timeout
Minutes Integer - TimeoutMinutes
- image
Tests booleanEnabled - ImageTestsEnabled
- timeout
Minutes number - TimeoutMinutes
- image_
tests_ boolenabled - ImageTestsEnabled
- timeout_
minutes int - TimeoutMinutes
- image
Tests BooleanEnabled - ImageTestsEnabled
- timeout
Minutes Number - TimeoutMinutes
ImageWorkflowConfiguration, ImageWorkflowConfigurationArgs
- On
Failure Pulumi.Aws Native. Image Builder. Image Workflow Configuration On Failure - Define execution decision in case of workflow failure
- Parallel
Group string - The parallel group name
- Parameters
List<Pulumi.
Aws Native. Image Builder. Inputs. Image Workflow Parameter> - The parameters associated with the workflow
- Workflow
Arn 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 string - The parallel group name
- Parameters
[]Image
Workflow Parameter - The parameters associated with the workflow
- Workflow
Arn 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 String - The parallel group name
- parameters
List<Image
Workflow Parameter> - The parameters associated with the workflow
- workflow
Arn 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 string - The parallel group name
- parameters
Image
Workflow Parameter[] - The parameters associated with the workflow
- workflow
Arn 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[Image
Workflow Parameter] - The parameters associated with the workflow
- workflow_
arn str - The Amazon Resource Name (ARN) of the workflow
- on
Failure "CONTINUE" | "ABORT" - Define execution decision in case of workflow failure
- parallel
Group String - The parallel group name
- parameters List<Property Map>
- The parameters associated with the workflow
- workflow
Arn String - The Amazon Resource Name (ARN) of the workflow
ImageWorkflowConfigurationOnFailure, ImageWorkflowConfigurationOnFailureArgs
- Continue
- CONTINUE
- Abort
- ABORT
- Image
Workflow Configuration On Failure Continue - CONTINUE
- Image
Workflow 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.