aws.imagebuilder.getImagePipeline
Provides details about an Image Builder Image Pipeline.
Example Usage
using System.Collections.Generic;
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",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/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
})
}
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());
}
}
import pulumi
import pulumi_aws as aws
example = aws.imagebuilder.get_image_pipeline(arn="arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example")
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",
});
variables:
example:
fn::invoke:
Function: aws:imagebuilder:getImagePipeline
Arguments:
arn: arn:aws:imagebuilder:us-west-2:aws:image-pipeline/example
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>
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]
func LookupImagePipeline(ctx *Context, args *LookupImagePipelineArgs, opts ...InvokeOption) (*LookupImagePipelineResult, error)
func LookupImagePipelineOutput(ctx *Context, args *LookupImagePipelineOutputArgs, opts ...InvokeOption) LookupImagePipelineResultOutput
> 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)
}
public static CompletableFuture<GetImagePipelineResult> getImagePipeline(GetImagePipelineArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:imagebuilder/getImagePipeline:getImagePipeline
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
ARN of the image pipeline.
- Dictionary<string, string>
Key-value map of resource tags for the image pipeline.
- Arn string
ARN of the image pipeline.
- map[string]string
Key-value map of resource tags for the image pipeline.
- arn String
ARN of the image pipeline.
- Map<String,String>
Key-value map of resource tags for the image pipeline.
- arn string
ARN of the image pipeline.
- {[key: string]: string}
Key-value map of resource tags for the image pipeline.
- arn str
ARN of the image pipeline.
- Mapping[str, str]
Key-value map of resource tags for the image pipeline.
- arn String
ARN of the image pipeline.
- Map<String>
Key-value map of resource tags for the image pipeline.
getImagePipeline Result
The following output properties are available:
- Arn string
- Container
Recipe stringArn ARN of the container recipe.
- Date
Created string Date the image pipeline was created.
- Date
Last stringRun Date the image pipeline was last run.
- Date
Next stringRun Date the image pipeline will run next.
- Date
Updated string Date the image pipeline was updated.
- Description string
Description of the image pipeline.
- Distribution
Configuration stringArn ARN of the Image Builder Distribution Configuration.
- Enhanced
Image boolMetadata Enabled Whether additional information about the image being created is collected.
- Id string
The provider-assigned unique ID for this managed resource.
- Image
Recipe stringArn ARN of the image recipe.
- Image
Tests List<GetConfigurations Image Pipeline Image Tests Configuration> List of an object with image tests configuration.
- Infrastructure
Configuration stringArn ARN of the Image Builder Infrastructure Configuration.
- Name string
Name of the image pipeline.
- Platform string
Platform of the image pipeline.
- Schedules
List<Get
Image Pipeline Schedule> List of an object with schedule settings.
- Status string
Status of the image pipeline.
- Dictionary<string, string>
Key-value map of resource tags for the image pipeline.
- Arn string
- Container
Recipe stringArn ARN of the container recipe.
- Date
Created string Date the image pipeline was created.
- Date
Last stringRun Date the image pipeline was last run.
- Date
Next stringRun Date the image pipeline will run next.
- Date
Updated string Date the image pipeline was updated.
- Description string
Description of the image pipeline.
- Distribution
Configuration stringArn ARN of the Image Builder Distribution Configuration.
- Enhanced
Image boolMetadata Enabled Whether additional information about the image being created is collected.
- Id string
The provider-assigned unique ID for this managed resource.
- Image
Recipe stringArn ARN of the image recipe.
- Image
Tests []GetConfigurations Image Pipeline Image Tests Configuration List of an object with image tests configuration.
- Infrastructure
Configuration stringArn ARN of the Image Builder Infrastructure Configuration.
- Name string
Name of the image pipeline.
- Platform string
Platform of the image pipeline.
- Schedules
[]Get
Image Pipeline Schedule List of an object with schedule settings.
- Status string
Status of the image pipeline.
- map[string]string
Key-value map of resource tags for the image pipeline.
- arn String
- container
Recipe StringArn ARN of the container recipe.
- date
Created String Date the image pipeline was created.
- date
Last StringRun Date the image pipeline was last run.
- date
Next StringRun Date the image pipeline will run next.
- date
Updated String Date the image pipeline was updated.
- description String
Description of the image pipeline.
- distribution
Configuration StringArn ARN of the Image Builder Distribution Configuration.
- enhanced
Image BooleanMetadata Enabled Whether additional information about the image being created is collected.
- id String
The provider-assigned unique ID for this managed resource.
- image
Recipe StringArn ARN of the image recipe.
- image
Tests List<GetConfigurations Image Pipeline Image Tests Configuration> List of an object with image tests configuration.
- infrastructure
Configuration StringArn ARN of the Image Builder Infrastructure Configuration.
- name String
Name of the image pipeline.
- platform String
Platform of the image pipeline.
- schedules
List<Get
Image Pipeline Schedule> List of an object with schedule settings.
- status String
Status of the image pipeline.
- Map<String,String>
Key-value map of resource tags for the image pipeline.
- arn string
- container
Recipe stringArn ARN of the container recipe.
- date
Created string Date the image pipeline was created.
- date
Last stringRun Date the image pipeline was last run.
- date
Next stringRun Date the image pipeline will run next.
- date
Updated string Date the image pipeline was updated.
- description string
Description of the image pipeline.
- distribution
Configuration stringArn ARN of the Image Builder Distribution Configuration.
- enhanced
Image booleanMetadata Enabled Whether additional information about the image being created is collected.
- id string
The provider-assigned unique ID for this managed resource.
- image
Recipe stringArn ARN of the image recipe.
- image
Tests GetConfigurations Image Pipeline Image Tests Configuration[] List of an object with image tests configuration.
- infrastructure
Configuration stringArn ARN of the Image Builder Infrastructure Configuration.
- name string
Name of the image pipeline.
- platform string
Platform of the image pipeline.
- schedules
Get
Image Pipeline Schedule[] List of an object with schedule settings.
- status string
Status of the image pipeline.
- {[key: string]: string}
Key-value map of resource tags for the image pipeline.
- arn str
- container_
recipe_ strarn ARN of the container recipe.
- date_
created str Date the image pipeline was created.
- date_
last_ strrun Date the image pipeline was last run.
- date_
next_ strrun 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_ strarn ARN of the Image Builder Distribution Configuration.
- enhanced_
image_ boolmetadata_ enabled Whether additional information about the image being created is collected.
- id str
The provider-assigned unique ID for this managed resource.
- image_
recipe_ strarn ARN of the image recipe.
- image_
tests_ Sequence[Getconfigurations Image Pipeline Image Tests Configuration] List of an object with image tests configuration.
- infrastructure_
configuration_ strarn ARN of the Image Builder Infrastructure Configuration.
- name str
Name of the image pipeline.
- platform str
Platform of the image pipeline.
- schedules
Sequence[Get
Image Pipeline Schedule] List of an object with schedule settings.
- status str
Status of the image pipeline.
- Mapping[str, str]
Key-value map of resource tags for the image pipeline.
- arn String
- container
Recipe StringArn ARN of the container recipe.
- date
Created String Date the image pipeline was created.
- date
Last StringRun Date the image pipeline was last run.
- date
Next StringRun Date the image pipeline will run next.
- date
Updated String Date the image pipeline was updated.
- description String
Description of the image pipeline.
- distribution
Configuration StringArn ARN of the Image Builder Distribution Configuration.
- enhanced
Image BooleanMetadata Enabled Whether additional information about the image being created is collected.
- id String
The provider-assigned unique ID for this managed resource.
- image
Recipe StringArn ARN of the image recipe.
- image
Tests List<Property Map>Configurations List of an object with image tests configuration.
- infrastructure
Configuration StringArn 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.
- Map<String>
Key-value map of resource tags for the image pipeline.
Supporting Types
GetImagePipelineImageTestsConfiguration
- Image
Tests boolEnabled Whether image tests are enabled.
- Timeout
Minutes int Number of minutes before image tests time out.
- Image
Tests boolEnabled Whether image tests are enabled.
- Timeout
Minutes int Number of minutes before image tests time out.
- image
Tests BooleanEnabled Whether image tests are enabled.
- timeout
Minutes Integer Number of minutes before image tests time out.
- image
Tests booleanEnabled Whether image tests are enabled.
- timeout
Minutes number Number of minutes before image tests time out.
- image_
tests_ boolenabled Whether image tests are enabled.
- timeout_
minutes int Number of minutes before image tests time out.
- image
Tests BooleanEnabled Whether image tests are enabled.
- timeout
Minutes Number Number of minutes before image tests time out.
GetImagePipelineSchedule
- Pipeline
Execution stringStart Condition Condition when the pipeline should trigger a new image build.
- Schedule
Expression string Cron expression of how often the pipeline start condition is evaluated.
- Pipeline
Execution stringStart Condition Condition when the pipeline should trigger a new image build.
- Schedule
Expression string Cron expression of how often the pipeline start condition is evaluated.
- pipeline
Execution StringStart Condition Condition when the pipeline should trigger a new image build.
- schedule
Expression String Cron expression of how often the pipeline start condition is evaluated.
- pipeline
Execution stringStart Condition Condition when the pipeline should trigger a new image build.
- schedule
Expression string Cron expression of how often the pipeline start condition is evaluated.
- pipeline_
execution_ strstart_ condition Condition when the pipeline should trigger a new image build.
- schedule_
expression str Cron expression of how often the pipeline start condition is evaluated.
- pipeline
Execution StringStart Condition Condition when the pipeline should trigger a new image build.
- schedule
Expression 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.