1. Packages
  2. AWS
  3. API Docs
  4. imagebuilder
  5. getImagePipeline
AWS v6.75.0 published on Wednesday, Apr 2, 2025 by Pulumi

aws.imagebuilder.getImagePipeline

Explore with Pulumi AI

AWS v6.75.0 published on Wednesday, Apr 2, 2025 by Pulumi

Provides details about an Image Builder Image Pipeline.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.imagebuilder.getImagePipeline({
    arn: "arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example",
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.imagebuilder.get_image_pipeline(arn="arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/imagebuilder"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := imagebuilder.LookupImagePipeline(ctx, &imagebuilder.LookupImagePipelineArgs{
			Arn: "arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.ImageBuilder.GetImagePipeline.Invoke(new()
    {
        Arn = "arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.imagebuilder.ImagebuilderFunctions;
import com.pulumi.aws.imagebuilder.inputs.GetImagePipelineArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = ImagebuilderFunctions.getImagePipeline(GetImagePipelineArgs.builder()
            .arn("arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: aws:imagebuilder:getImagePipeline
      arguments:
        arn: arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example
Copy

Using getImagePipeline

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getImagePipeline(args: GetImagePipelineArgs, opts?: InvokeOptions): Promise<GetImagePipelineResult>
function getImagePipelineOutput(args: GetImagePipelineOutputArgs, opts?: InvokeOptions): Output<GetImagePipelineResult>
Copy
def get_image_pipeline(arn: Optional[str] = None,
                       tags: Optional[Mapping[str, str]] = None,
                       opts: Optional[InvokeOptions] = None) -> GetImagePipelineResult
def get_image_pipeline_output(arn: Optional[pulumi.Input[str]] = None,
                       tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetImagePipelineResult]
Copy
func LookupImagePipeline(ctx *Context, args *LookupImagePipelineArgs, opts ...InvokeOption) (*LookupImagePipelineResult, error)
func LookupImagePipelineOutput(ctx *Context, args *LookupImagePipelineOutputArgs, opts ...InvokeOption) LookupImagePipelineResultOutput
Copy

> Note: This function is named LookupImagePipeline in the Go SDK.

public static class GetImagePipeline 
{
    public static Task<GetImagePipelineResult> InvokeAsync(GetImagePipelineArgs args, InvokeOptions? opts = null)
    public static Output<GetImagePipelineResult> Invoke(GetImagePipelineInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetImagePipelineResult> getImagePipeline(GetImagePipelineArgs args, InvokeOptions options)
public static Output<GetImagePipelineResult> getImagePipeline(GetImagePipelineArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws:imagebuilder/getImagePipeline:getImagePipeline
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
ARN of the image pipeline.
Tags Dictionary<string, string>
Key-value map of resource tags for the image pipeline.
Arn This property is required. string
ARN of the image pipeline.
Tags map[string]string
Key-value map of resource tags for the image pipeline.
arn This property is required. String
ARN of the image pipeline.
tags Map<String,String>
Key-value map of resource tags for the image pipeline.
arn This property is required. string
ARN of the image pipeline.
tags {[key: string]: string}
Key-value map of resource tags for the image pipeline.
arn This property is required. str
ARN of the image pipeline.
tags Mapping[str, str]
Key-value map of resource tags for the image pipeline.
arn This property is required. String
ARN of the image pipeline.
tags Map<String>
Key-value map of resource tags for the image pipeline.

getImagePipeline Result

The following output properties are available:

Arn string
ContainerRecipeArn string
ARN of the container recipe.
DateCreated string
Date the image pipeline was created.
DateLastRun string
Date the image pipeline was last run.
DateNextRun string
Date the image pipeline will run next.
DateUpdated string
Date the image pipeline was updated.
Description string
Description of the image pipeline.
DistributionConfigurationArn string
ARN of the Image Builder Distribution Configuration.
EnhancedImageMetadataEnabled bool
Whether additional information about the image being created is collected.
Id string
The provider-assigned unique ID for this managed resource.
ImageRecipeArn string
ARN of the image recipe.
ImageScanningConfigurations List<GetImagePipelineImageScanningConfiguration>
ImageTestsConfigurations List<GetImagePipelineImageTestsConfiguration>
List of an object with image tests configuration.
InfrastructureConfigurationArn string
ARN of the Image Builder Infrastructure Configuration.
Name string
Name of the image pipeline.
Platform string
Platform of the image pipeline.
Schedules List<GetImagePipelineSchedule>
List of an object with schedule settings.
Status string
Status of the image pipeline.
Tags Dictionary<string, string>
Key-value map of resource tags for the image pipeline.
Arn string
ContainerRecipeArn string
ARN of the container recipe.
DateCreated string
Date the image pipeline was created.
DateLastRun string
Date the image pipeline was last run.
DateNextRun string
Date the image pipeline will run next.
DateUpdated string
Date the image pipeline was updated.
Description string
Description of the image pipeline.
DistributionConfigurationArn string
ARN of the Image Builder Distribution Configuration.
EnhancedImageMetadataEnabled bool
Whether additional information about the image being created is collected.
Id string
The provider-assigned unique ID for this managed resource.
ImageRecipeArn string
ARN of the image recipe.
ImageScanningConfigurations []GetImagePipelineImageScanningConfiguration
ImageTestsConfigurations []GetImagePipelineImageTestsConfiguration
List of an object with image tests configuration.
InfrastructureConfigurationArn string
ARN of the Image Builder Infrastructure Configuration.
Name string
Name of the image pipeline.
Platform string
Platform of the image pipeline.
Schedules []GetImagePipelineSchedule
List of an object with schedule settings.
Status string
Status of the image pipeline.
Tags map[string]string
Key-value map of resource tags for the image pipeline.
arn String
containerRecipeArn String
ARN of the container recipe.
dateCreated String
Date the image pipeline was created.
dateLastRun String
Date the image pipeline was last run.
dateNextRun String
Date the image pipeline will run next.
dateUpdated String
Date the image pipeline was updated.
description String
Description of the image pipeline.
distributionConfigurationArn String
ARN of the Image Builder Distribution Configuration.
enhancedImageMetadataEnabled Boolean
Whether additional information about the image being created is collected.
id String
The provider-assigned unique ID for this managed resource.
imageRecipeArn String
ARN of the image recipe.
imageScanningConfigurations List<GetImagePipelineImageScanningConfiguration>
imageTestsConfigurations List<GetImagePipelineImageTestsConfiguration>
List of an object with image tests configuration.
infrastructureConfigurationArn String
ARN of the Image Builder Infrastructure Configuration.
name String
Name of the image pipeline.
platform String
Platform of the image pipeline.
schedules List<GetImagePipelineSchedule>
List of an object with schedule settings.
status String
Status of the image pipeline.
tags Map<String,String>
Key-value map of resource tags for the image pipeline.
arn string
containerRecipeArn string
ARN of the container recipe.
dateCreated string
Date the image pipeline was created.
dateLastRun string
Date the image pipeline was last run.
dateNextRun string
Date the image pipeline will run next.
dateUpdated string
Date the image pipeline was updated.
description string
Description of the image pipeline.
distributionConfigurationArn string
ARN of the Image Builder Distribution Configuration.
enhancedImageMetadataEnabled boolean
Whether additional information about the image being created is collected.
id string
The provider-assigned unique ID for this managed resource.
imageRecipeArn string
ARN of the image recipe.
imageScanningConfigurations GetImagePipelineImageScanningConfiguration[]
imageTestsConfigurations GetImagePipelineImageTestsConfiguration[]
List of an object with image tests configuration.
infrastructureConfigurationArn string
ARN of the Image Builder Infrastructure Configuration.
name string
Name of the image pipeline.
platform string
Platform of the image pipeline.
schedules GetImagePipelineSchedule[]
List of an object with schedule settings.
status string
Status of the image pipeline.
tags {[key: string]: string}
Key-value map of resource tags for the image pipeline.
arn str
container_recipe_arn str
ARN of the container recipe.
date_created str
Date the image pipeline was created.
date_last_run str
Date the image pipeline was last run.
date_next_run str
Date the image pipeline will run next.
date_updated str
Date the image pipeline was updated.
description str
Description of the image pipeline.
distribution_configuration_arn str
ARN of the Image Builder Distribution Configuration.
enhanced_image_metadata_enabled bool
Whether additional information about the image being created is collected.
id str
The provider-assigned unique ID for this managed resource.
image_recipe_arn str
ARN of the image recipe.
image_scanning_configurations Sequence[GetImagePipelineImageScanningConfiguration]
image_tests_configurations Sequence[GetImagePipelineImageTestsConfiguration]
List of an object with image tests configuration.
infrastructure_configuration_arn str
ARN of the Image Builder Infrastructure Configuration.
name str
Name of the image pipeline.
platform str
Platform of the image pipeline.
schedules Sequence[GetImagePipelineSchedule]
List of an object with schedule settings.
status str
Status of the image pipeline.
tags Mapping[str, str]
Key-value map of resource tags for the image pipeline.
arn String
containerRecipeArn String
ARN of the container recipe.
dateCreated String
Date the image pipeline was created.
dateLastRun String
Date the image pipeline was last run.
dateNextRun String
Date the image pipeline will run next.
dateUpdated String
Date the image pipeline was updated.
description String
Description of the image pipeline.
distributionConfigurationArn String
ARN of the Image Builder Distribution Configuration.
enhancedImageMetadataEnabled Boolean
Whether additional information about the image being created is collected.
id String
The provider-assigned unique ID for this managed resource.
imageRecipeArn String
ARN of the image recipe.
imageScanningConfigurations List<Property Map>
imageTestsConfigurations List<Property Map>
List of an object with image tests configuration.
infrastructureConfigurationArn String
ARN of the Image Builder Infrastructure Configuration.
name String
Name of the image pipeline.
platform String
Platform of the image pipeline.
schedules List<Property Map>
List of an object with schedule settings.
status String
Status of the image pipeline.
tags Map<String>
Key-value map of resource tags for the image pipeline.

Supporting Types

GetImagePipelineImageScanningConfiguration

EcrConfigurations This property is required. List<GetImagePipelineImageScanningConfigurationEcrConfiguration>
List if an object with ecr configuration for image scanning
ImageScanningEnabled This property is required. bool
Whether image scanning is enabled.
EcrConfigurations This property is required. []GetImagePipelineImageScanningConfigurationEcrConfiguration
List if an object with ecr configuration for image scanning
ImageScanningEnabled This property is required. bool
Whether image scanning is enabled.
ecrConfigurations This property is required. List<GetImagePipelineImageScanningConfigurationEcrConfiguration>
List if an object with ecr configuration for image scanning
imageScanningEnabled This property is required. Boolean
Whether image scanning is enabled.
ecrConfigurations This property is required. GetImagePipelineImageScanningConfigurationEcrConfiguration[]
List if an object with ecr configuration for image scanning
imageScanningEnabled This property is required. boolean
Whether image scanning is enabled.
ecr_configurations This property is required. Sequence[GetImagePipelineImageScanningConfigurationEcrConfiguration]
List if an object with ecr configuration for image scanning
image_scanning_enabled This property is required. bool
Whether image scanning is enabled.
ecrConfigurations This property is required. List<Property Map>
List if an object with ecr configuration for image scanning
imageScanningEnabled This property is required. Boolean
Whether image scanning is enabled.

GetImagePipelineImageScanningConfigurationEcrConfiguration

ContainerTags This property is required. List<string>
Tags that are added to the output containers that are scanned
RepositoryName This property is required. string
The name of the container repository that Amazon Inspector scans
ContainerTags This property is required. []string
Tags that are added to the output containers that are scanned
RepositoryName This property is required. string
The name of the container repository that Amazon Inspector scans
containerTags This property is required. List<String>
Tags that are added to the output containers that are scanned
repositoryName This property is required. String
The name of the container repository that Amazon Inspector scans
containerTags This property is required. string[]
Tags that are added to the output containers that are scanned
repositoryName This property is required. string
The name of the container repository that Amazon Inspector scans
container_tags This property is required. Sequence[str]
Tags that are added to the output containers that are scanned
repository_name This property is required. str
The name of the container repository that Amazon Inspector scans
containerTags This property is required. List<String>
Tags that are added to the output containers that are scanned
repositoryName This property is required. String
The name of the container repository that Amazon Inspector scans

GetImagePipelineImageTestsConfiguration

ImageTestsEnabled This property is required. bool
Whether image tests are enabled.
TimeoutMinutes This property is required. int
Number of minutes before image tests time out.
ImageTestsEnabled This property is required. bool
Whether image tests are enabled.
TimeoutMinutes This property is required. int
Number of minutes before image tests time out.
imageTestsEnabled This property is required. Boolean
Whether image tests are enabled.
timeoutMinutes This property is required. Integer
Number of minutes before image tests time out.
imageTestsEnabled This property is required. boolean
Whether image tests are enabled.
timeoutMinutes This property is required. number
Number of minutes before image tests time out.
image_tests_enabled This property is required. bool
Whether image tests are enabled.
timeout_minutes This property is required. int
Number of minutes before image tests time out.
imageTestsEnabled This property is required. Boolean
Whether image tests are enabled.
timeoutMinutes This property is required. Number
Number of minutes before image tests time out.

GetImagePipelineSchedule

PipelineExecutionStartCondition This property is required. string
Condition when the pipeline should trigger a new image build.
ScheduleExpression This property is required. string
Cron expression of how often the pipeline start condition is evaluated.
PipelineExecutionStartCondition This property is required. string
Condition when the pipeline should trigger a new image build.
ScheduleExpression This property is required. string
Cron expression of how often the pipeline start condition is evaluated.
pipelineExecutionStartCondition This property is required. String
Condition when the pipeline should trigger a new image build.
scheduleExpression This property is required. String
Cron expression of how often the pipeline start condition is evaluated.
pipelineExecutionStartCondition This property is required. string
Condition when the pipeline should trigger a new image build.
scheduleExpression This property is required. string
Cron expression of how often the pipeline start condition is evaluated.
pipeline_execution_start_condition This property is required. str
Condition when the pipeline should trigger a new image build.
schedule_expression This property is required. str
Cron expression of how often the pipeline start condition is evaluated.
pipelineExecutionStartCondition This property is required. String
Condition when the pipeline should trigger a new image build.
scheduleExpression This property is required. String
Cron expression of how often the pipeline start condition is evaluated.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.
AWS v6.75.0 published on Wednesday, Apr 2, 2025 by Pulumi