Try AWS Native preview for resources not in the classic version.
aws.imagebuilder.ImagePipeline
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Manages an Image Builder Image Pipeline.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.imagebuilder.ImagePipeline("example", {
imageRecipeArn: exampleAwsImagebuilderImageRecipe.arn,
infrastructureConfigurationArn: exampleAwsImagebuilderInfrastructureConfiguration.arn,
name: "example",
schedule: {
scheduleExpression: "cron(0 0 * * ? *)",
},
});
import pulumi
import pulumi_aws as aws
example = aws.imagebuilder.ImagePipeline("example",
image_recipe_arn=example_aws_imagebuilder_image_recipe["arn"],
infrastructure_configuration_arn=example_aws_imagebuilder_infrastructure_configuration["arn"],
name="example",
schedule={
"scheduleExpression": "cron(0 0 * * ? *)",
})
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.NewImagePipeline(ctx, "example", &imagebuilder.ImagePipelineArgs{
ImageRecipeArn: pulumi.Any(exampleAwsImagebuilderImageRecipe.Arn),
InfrastructureConfigurationArn: pulumi.Any(exampleAwsImagebuilderInfrastructureConfiguration.Arn),
Name: pulumi.String("example"),
Schedule: &imagebuilder.ImagePipelineScheduleArgs{
ScheduleExpression: pulumi.String("cron(0 0 * * ? *)"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.ImageBuilder.ImagePipeline("example", new()
{
ImageRecipeArn = exampleAwsImagebuilderImageRecipe.Arn,
InfrastructureConfigurationArn = exampleAwsImagebuilderInfrastructureConfiguration.Arn,
Name = "example",
Schedule = new Aws.ImageBuilder.Inputs.ImagePipelineScheduleArgs
{
ScheduleExpression = "cron(0 0 * * ? *)",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.imagebuilder.ImagePipeline;
import com.pulumi.aws.imagebuilder.ImagePipelineArgs;
import com.pulumi.aws.imagebuilder.inputs.ImagePipelineScheduleArgs;
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) {
var example = new ImagePipeline("example", ImagePipelineArgs.builder()
.imageRecipeArn(exampleAwsImagebuilderImageRecipe.arn())
.infrastructureConfigurationArn(exampleAwsImagebuilderInfrastructureConfiguration.arn())
.name("example")
.schedule(ImagePipelineScheduleArgs.builder()
.scheduleExpression("cron(0 0 * * ? *)")
.build())
.build());
}
}
resources:
example:
type: aws:imagebuilder:ImagePipeline
properties:
imageRecipeArn: ${exampleAwsImagebuilderImageRecipe.arn}
infrastructureConfigurationArn: ${exampleAwsImagebuilderInfrastructureConfiguration.arn}
name: example
schedule:
scheduleExpression: cron(0 0 * * ? *)
Create ImagePipeline Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ImagePipeline(name: string, args: ImagePipelineArgs, opts?: CustomResourceOptions);
@overload
def ImagePipeline(resource_name: str,
args: ImagePipelineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ImagePipeline(resource_name: str,
opts: Optional[ResourceOptions] = None,
infrastructure_configuration_arn: Optional[str] = None,
container_recipe_arn: Optional[str] = None,
description: Optional[str] = None,
distribution_configuration_arn: Optional[str] = None,
enhanced_image_metadata_enabled: Optional[bool] = None,
image_recipe_arn: Optional[str] = None,
image_scanning_configuration: Optional[ImagePipelineImageScanningConfigurationArgs] = None,
image_tests_configuration: Optional[ImagePipelineImageTestsConfigurationArgs] = None,
name: Optional[str] = None,
schedule: Optional[ImagePipelineScheduleArgs] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewImagePipeline(ctx *Context, name string, args ImagePipelineArgs, opts ...ResourceOption) (*ImagePipeline, error)
public ImagePipeline(string name, ImagePipelineArgs args, CustomResourceOptions? opts = null)
public ImagePipeline(String name, ImagePipelineArgs args)
public ImagePipeline(String name, ImagePipelineArgs args, CustomResourceOptions options)
type: aws:imagebuilder:ImagePipeline
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 ImagePipelineArgs
- 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 ImagePipelineArgs
- 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 ImagePipelineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImagePipelineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImagePipelineArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var imagePipelineResource = new Aws.ImageBuilder.ImagePipeline("imagePipelineResource", new()
{
InfrastructureConfigurationArn = "string",
ContainerRecipeArn = "string",
Description = "string",
DistributionConfigurationArn = "string",
EnhancedImageMetadataEnabled = false,
ImageRecipeArn = "string",
ImageScanningConfiguration = new Aws.ImageBuilder.Inputs.ImagePipelineImageScanningConfigurationArgs
{
EcrConfiguration = new Aws.ImageBuilder.Inputs.ImagePipelineImageScanningConfigurationEcrConfigurationArgs
{
ContainerTags = new[]
{
"string",
},
RepositoryName = "string",
},
ImageScanningEnabled = false,
},
ImageTestsConfiguration = new Aws.ImageBuilder.Inputs.ImagePipelineImageTestsConfigurationArgs
{
ImageTestsEnabled = false,
TimeoutMinutes = 0,
},
Name = "string",
Schedule = new Aws.ImageBuilder.Inputs.ImagePipelineScheduleArgs
{
ScheduleExpression = "string",
PipelineExecutionStartCondition = "string",
Timezone = "string",
},
Status = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := imagebuilder.NewImagePipeline(ctx, "imagePipelineResource", &imagebuilder.ImagePipelineArgs{
InfrastructureConfigurationArn: pulumi.String("string"),
ContainerRecipeArn: pulumi.String("string"),
Description: pulumi.String("string"),
DistributionConfigurationArn: pulumi.String("string"),
EnhancedImageMetadataEnabled: pulumi.Bool(false),
ImageRecipeArn: pulumi.String("string"),
ImageScanningConfiguration: &imagebuilder.ImagePipelineImageScanningConfigurationArgs{
EcrConfiguration: &imagebuilder.ImagePipelineImageScanningConfigurationEcrConfigurationArgs{
ContainerTags: pulumi.StringArray{
pulumi.String("string"),
},
RepositoryName: pulumi.String("string"),
},
ImageScanningEnabled: pulumi.Bool(false),
},
ImageTestsConfiguration: &imagebuilder.ImagePipelineImageTestsConfigurationArgs{
ImageTestsEnabled: pulumi.Bool(false),
TimeoutMinutes: pulumi.Int(0),
},
Name: pulumi.String("string"),
Schedule: &imagebuilder.ImagePipelineScheduleArgs{
ScheduleExpression: pulumi.String("string"),
PipelineExecutionStartCondition: pulumi.String("string"),
Timezone: pulumi.String("string"),
},
Status: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var imagePipelineResource = new ImagePipeline("imagePipelineResource", ImagePipelineArgs.builder()
.infrastructureConfigurationArn("string")
.containerRecipeArn("string")
.description("string")
.distributionConfigurationArn("string")
.enhancedImageMetadataEnabled(false)
.imageRecipeArn("string")
.imageScanningConfiguration(ImagePipelineImageScanningConfigurationArgs.builder()
.ecrConfiguration(ImagePipelineImageScanningConfigurationEcrConfigurationArgs.builder()
.containerTags("string")
.repositoryName("string")
.build())
.imageScanningEnabled(false)
.build())
.imageTestsConfiguration(ImagePipelineImageTestsConfigurationArgs.builder()
.imageTestsEnabled(false)
.timeoutMinutes(0)
.build())
.name("string")
.schedule(ImagePipelineScheduleArgs.builder()
.scheduleExpression("string")
.pipelineExecutionStartCondition("string")
.timezone("string")
.build())
.status("string")
.tags(Map.of("string", "string"))
.build());
image_pipeline_resource = aws.imagebuilder.ImagePipeline("imagePipelineResource",
infrastructure_configuration_arn="string",
container_recipe_arn="string",
description="string",
distribution_configuration_arn="string",
enhanced_image_metadata_enabled=False,
image_recipe_arn="string",
image_scanning_configuration={
"ecrConfiguration": {
"containerTags": ["string"],
"repositoryName": "string",
},
"imageScanningEnabled": False,
},
image_tests_configuration={
"imageTestsEnabled": False,
"timeoutMinutes": 0,
},
name="string",
schedule={
"scheduleExpression": "string",
"pipelineExecutionStartCondition": "string",
"timezone": "string",
},
status="string",
tags={
"string": "string",
})
const imagePipelineResource = new aws.imagebuilder.ImagePipeline("imagePipelineResource", {
infrastructureConfigurationArn: "string",
containerRecipeArn: "string",
description: "string",
distributionConfigurationArn: "string",
enhancedImageMetadataEnabled: false,
imageRecipeArn: "string",
imageScanningConfiguration: {
ecrConfiguration: {
containerTags: ["string"],
repositoryName: "string",
},
imageScanningEnabled: false,
},
imageTestsConfiguration: {
imageTestsEnabled: false,
timeoutMinutes: 0,
},
name: "string",
schedule: {
scheduleExpression: "string",
pipelineExecutionStartCondition: "string",
timezone: "string",
},
status: "string",
tags: {
string: "string",
},
});
type: aws:imagebuilder:ImagePipeline
properties:
containerRecipeArn: string
description: string
distributionConfigurationArn: string
enhancedImageMetadataEnabled: false
imageRecipeArn: string
imageScanningConfiguration:
ecrConfiguration:
containerTags:
- string
repositoryName: string
imageScanningEnabled: false
imageTestsConfiguration:
imageTestsEnabled: false
timeoutMinutes: 0
infrastructureConfigurationArn: string
name: string
schedule:
pipelineExecutionStartCondition: string
scheduleExpression: string
timezone: string
status: string
tags:
string: string
ImagePipeline Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ImagePipeline resource accepts the following input properties:
- Infrastructure
Configuration stringArn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- Container
Recipe stringArn - Amazon Resource Name (ARN) of the container recipe.
- Description string
- Description of the image pipeline.
- Distribution
Configuration stringArn - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- Enhanced
Image boolMetadata Enabled - Whether additional information about the image being created is collected. Defaults to
true
. - Image
Recipe stringArn - Amazon Resource Name (ARN) of the image recipe.
- Image
Scanning ImageConfiguration Pipeline Image Scanning Configuration - Configuration block with image scanning configuration. Detailed below.
- Image
Tests ImageConfiguration Pipeline Image Tests Configuration - Configuration block with image tests configuration. Detailed below.
- Name string
Name of the image pipeline.
The following arguments are optional:
- Schedule
Image
Pipeline Schedule - Configuration block with schedule settings. Detailed below.
- Status string
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - Dictionary<string, string>
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Infrastructure
Configuration stringArn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- Container
Recipe stringArn - Amazon Resource Name (ARN) of the container recipe.
- Description string
- Description of the image pipeline.
- Distribution
Configuration stringArn - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- Enhanced
Image boolMetadata Enabled - Whether additional information about the image being created is collected. Defaults to
true
. - Image
Recipe stringArn - Amazon Resource Name (ARN) of the image recipe.
- Image
Scanning ImageConfiguration Pipeline Image Scanning Configuration Args - Configuration block with image scanning configuration. Detailed below.
- Image
Tests ImageConfiguration Pipeline Image Tests Configuration Args - Configuration block with image tests configuration. Detailed below.
- Name string
Name of the image pipeline.
The following arguments are optional:
- Schedule
Image
Pipeline Schedule Args - Configuration block with schedule settings. Detailed below.
- Status string
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - map[string]string
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- infrastructure
Configuration StringArn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- container
Recipe StringArn - Amazon Resource Name (ARN) of the container recipe.
- description String
- Description of the image pipeline.
- distribution
Configuration StringArn - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- enhanced
Image BooleanMetadata Enabled - Whether additional information about the image being created is collected. Defaults to
true
. - image
Recipe StringArn - Amazon Resource Name (ARN) of the image recipe.
- image
Scanning ImageConfiguration Pipeline Image Scanning Configuration - Configuration block with image scanning configuration. Detailed below.
- image
Tests ImageConfiguration Pipeline Image Tests Configuration - Configuration block with image tests configuration. Detailed below.
- name String
Name of the image pipeline.
The following arguments are optional:
- schedule
Image
Pipeline Schedule - Configuration block with schedule settings. Detailed below.
- status String
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - Map<String,String>
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- infrastructure
Configuration stringArn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- container
Recipe stringArn - Amazon Resource Name (ARN) of the container recipe.
- description string
- Description of the image pipeline.
- distribution
Configuration stringArn - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- enhanced
Image booleanMetadata Enabled - Whether additional information about the image being created is collected. Defaults to
true
. - image
Recipe stringArn - Amazon Resource Name (ARN) of the image recipe.
- image
Scanning ImageConfiguration Pipeline Image Scanning Configuration - Configuration block with image scanning configuration. Detailed below.
- image
Tests ImageConfiguration Pipeline Image Tests Configuration - Configuration block with image tests configuration. Detailed below.
- name string
Name of the image pipeline.
The following arguments are optional:
- schedule
Image
Pipeline Schedule - Configuration block with schedule settings. Detailed below.
- status string
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - {[key: string]: string}
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- infrastructure_
configuration_ strarn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- container_
recipe_ strarn - Amazon Resource Name (ARN) of the container recipe.
- description str
- Description of the image pipeline.
- distribution_
configuration_ strarn - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- enhanced_
image_ boolmetadata_ enabled - Whether additional information about the image being created is collected. Defaults to
true
. - image_
recipe_ strarn - Amazon Resource Name (ARN) of the image recipe.
- image_
scanning_ Imageconfiguration Pipeline Image Scanning Configuration Args - Configuration block with image scanning configuration. Detailed below.
- image_
tests_ Imageconfiguration Pipeline Image Tests Configuration Args - Configuration block with image tests configuration. Detailed below.
- name str
Name of the image pipeline.
The following arguments are optional:
- schedule
Image
Pipeline Schedule Args - Configuration block with schedule settings. Detailed below.
- status str
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - Mapping[str, str]
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- infrastructure
Configuration StringArn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- container
Recipe StringArn - Amazon Resource Name (ARN) of the container recipe.
- description String
- Description of the image pipeline.
- distribution
Configuration StringArn - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- enhanced
Image BooleanMetadata Enabled - Whether additional information about the image being created is collected. Defaults to
true
. - image
Recipe StringArn - Amazon Resource Name (ARN) of the image recipe.
- image
Scanning Property MapConfiguration - Configuration block with image scanning configuration. Detailed below.
- image
Tests Property MapConfiguration - Configuration block with image tests configuration. Detailed below.
- name String
Name of the image pipeline.
The following arguments are optional:
- schedule Property Map
- Configuration block with schedule settings. Detailed below.
- status String
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - Map<String>
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the ImagePipeline resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the image pipeline.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Platform string
- Platform of the image pipeline.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- Amazon Resource Name (ARN) of the image pipeline.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Platform string
- Platform of the image pipeline.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- Amazon Resource Name (ARN) of the image pipeline.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- platform String
- Platform of the image pipeline.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- Amazon Resource Name (ARN) of the image pipeline.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- platform string
- Platform of the image pipeline.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- Amazon Resource Name (ARN) of the image pipeline.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- platform str
- Platform of the image pipeline.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- Amazon Resource Name (ARN) of the image pipeline.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- platform String
- Platform of the image pipeline.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing ImagePipeline Resource
Get an existing ImagePipeline resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ImagePipelineState, opts?: CustomResourceOptions): ImagePipeline
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
container_recipe_arn: Optional[str] = None,
date_created: Optional[str] = None,
date_last_run: Optional[str] = None,
date_next_run: Optional[str] = None,
date_updated: Optional[str] = None,
description: Optional[str] = None,
distribution_configuration_arn: Optional[str] = None,
enhanced_image_metadata_enabled: Optional[bool] = None,
image_recipe_arn: Optional[str] = None,
image_scanning_configuration: Optional[ImagePipelineImageScanningConfigurationArgs] = None,
image_tests_configuration: Optional[ImagePipelineImageTestsConfigurationArgs] = None,
infrastructure_configuration_arn: Optional[str] = None,
name: Optional[str] = None,
platform: Optional[str] = None,
schedule: Optional[ImagePipelineScheduleArgs] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> ImagePipeline
func GetImagePipeline(ctx *Context, name string, id IDInput, state *ImagePipelineState, opts ...ResourceOption) (*ImagePipeline, error)
public static ImagePipeline Get(string name, Input<string> id, ImagePipelineState? state, CustomResourceOptions? opts = null)
public static ImagePipeline get(String name, Output<String> id, ImagePipelineState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- Amazon Resource Name (ARN) of the image pipeline.
- Container
Recipe stringArn - Amazon Resource Name (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 - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- Enhanced
Image boolMetadata Enabled - Whether additional information about the image being created is collected. Defaults to
true
. - Image
Recipe stringArn - Amazon Resource Name (ARN) of the image recipe.
- Image
Scanning ImageConfiguration Pipeline Image Scanning Configuration - Configuration block with image scanning configuration. Detailed below.
- Image
Tests ImageConfiguration Pipeline Image Tests Configuration - Configuration block with image tests configuration. Detailed below.
- Infrastructure
Configuration stringArn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- Name string
Name of the image pipeline.
The following arguments are optional:
- Platform string
- Platform of the image pipeline.
- Schedule
Image
Pipeline Schedule - Configuration block with schedule settings. Detailed below.
- Status string
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - Dictionary<string, string>
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- Amazon Resource Name (ARN) of the image pipeline.
- Container
Recipe stringArn - Amazon Resource Name (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 - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- Enhanced
Image boolMetadata Enabled - Whether additional information about the image being created is collected. Defaults to
true
. - Image
Recipe stringArn - Amazon Resource Name (ARN) of the image recipe.
- Image
Scanning ImageConfiguration Pipeline Image Scanning Configuration Args - Configuration block with image scanning configuration. Detailed below.
- Image
Tests ImageConfiguration Pipeline Image Tests Configuration Args - Configuration block with image tests configuration. Detailed below.
- Infrastructure
Configuration stringArn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- Name string
Name of the image pipeline.
The following arguments are optional:
- Platform string
- Platform of the image pipeline.
- Schedule
Image
Pipeline Schedule Args - Configuration block with schedule settings. Detailed below.
- Status string
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - map[string]string
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- Amazon Resource Name (ARN) of the image pipeline.
- container
Recipe StringArn - Amazon Resource Name (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 - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- enhanced
Image BooleanMetadata Enabled - Whether additional information about the image being created is collected. Defaults to
true
. - image
Recipe StringArn - Amazon Resource Name (ARN) of the image recipe.
- image
Scanning ImageConfiguration Pipeline Image Scanning Configuration - Configuration block with image scanning configuration. Detailed below.
- image
Tests ImageConfiguration Pipeline Image Tests Configuration - Configuration block with image tests configuration. Detailed below.
- infrastructure
Configuration StringArn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- name String
Name of the image pipeline.
The following arguments are optional:
- platform String
- Platform of the image pipeline.
- schedule
Image
Pipeline Schedule - Configuration block with schedule settings. Detailed below.
- status String
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - Map<String,String>
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- Amazon Resource Name (ARN) of the image pipeline.
- container
Recipe stringArn - Amazon Resource Name (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 - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- enhanced
Image booleanMetadata Enabled - Whether additional information about the image being created is collected. Defaults to
true
. - image
Recipe stringArn - Amazon Resource Name (ARN) of the image recipe.
- image
Scanning ImageConfiguration Pipeline Image Scanning Configuration - Configuration block with image scanning configuration. Detailed below.
- image
Tests ImageConfiguration Pipeline Image Tests Configuration - Configuration block with image tests configuration. Detailed below.
- infrastructure
Configuration stringArn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- name string
Name of the image pipeline.
The following arguments are optional:
- platform string
- Platform of the image pipeline.
- schedule
Image
Pipeline Schedule - Configuration block with schedule settings. Detailed below.
- status string
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - {[key: string]: string}
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- Amazon Resource Name (ARN) of the image pipeline.
- container_
recipe_ strarn - Amazon Resource Name (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 - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- enhanced_
image_ boolmetadata_ enabled - Whether additional information about the image being created is collected. Defaults to
true
. - image_
recipe_ strarn - Amazon Resource Name (ARN) of the image recipe.
- image_
scanning_ Imageconfiguration Pipeline Image Scanning Configuration Args - Configuration block with image scanning configuration. Detailed below.
- image_
tests_ Imageconfiguration Pipeline Image Tests Configuration Args - Configuration block with image tests configuration. Detailed below.
- infrastructure_
configuration_ strarn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- name str
Name of the image pipeline.
The following arguments are optional:
- platform str
- Platform of the image pipeline.
- schedule
Image
Pipeline Schedule Args - Configuration block with schedule settings. Detailed below.
- status str
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - Mapping[str, str]
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- Amazon Resource Name (ARN) of the image pipeline.
- container
Recipe StringArn - Amazon Resource Name (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 - Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.
- enhanced
Image BooleanMetadata Enabled - Whether additional information about the image being created is collected. Defaults to
true
. - image
Recipe StringArn - Amazon Resource Name (ARN) of the image recipe.
- image
Scanning Property MapConfiguration - Configuration block with image scanning configuration. Detailed below.
- image
Tests Property MapConfiguration - Configuration block with image tests configuration. Detailed below.
- infrastructure
Configuration StringArn - Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.
- name String
Name of the image pipeline.
The following arguments are optional:
- platform String
- Platform of the image pipeline.
- schedule Property Map
- Configuration block with schedule settings. Detailed below.
- status String
- Status of the image pipeline. Valid values are
DISABLED
andENABLED
. Defaults toENABLED
. - Map<String>
- Key-value map of resource tags for the image pipeline. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Supporting Types
ImagePipelineImageScanningConfiguration, ImagePipelineImageScanningConfigurationArgs
- Ecr
Configuration ImagePipeline Image Scanning Configuration Ecr Configuration - Configuration block with ECR configuration for image scanning. Detailed below.
- Image
Scanning boolEnabled - Whether image scans are enabled. Defaults to
false
.
- Ecr
Configuration ImagePipeline Image Scanning Configuration Ecr Configuration - Configuration block with ECR configuration for image scanning. Detailed below.
- Image
Scanning boolEnabled - Whether image scans are enabled. Defaults to
false
.
- ecr
Configuration ImagePipeline Image Scanning Configuration Ecr Configuration - Configuration block with ECR configuration for image scanning. Detailed below.
- image
Scanning BooleanEnabled - Whether image scans are enabled. Defaults to
false
.
- ecr
Configuration ImagePipeline Image Scanning Configuration Ecr Configuration - Configuration block with ECR configuration for image scanning. Detailed below.
- image
Scanning booleanEnabled - Whether image scans are enabled. Defaults to
false
.
- ecr_
configuration ImagePipeline Image Scanning Configuration Ecr Configuration - Configuration block with ECR configuration for image scanning. Detailed below.
- image_
scanning_ boolenabled - Whether image scans are enabled. Defaults to
false
.
- ecr
Configuration Property Map - Configuration block with ECR configuration for image scanning. Detailed below.
- image
Scanning BooleanEnabled - Whether image scans are enabled. Defaults to
false
.
ImagePipelineImageScanningConfigurationEcrConfiguration, ImagePipelineImageScanningConfigurationEcrConfigurationArgs
- List<string>
- Repository
Name string - The name of the repository to scan
- []string
- Repository
Name string - The name of the repository to scan
- List<String>
- repository
Name String - The name of the repository to scan
- string[]
- repository
Name string - The name of the repository to scan
- Sequence[str]
- repository_
name str - The name of the repository to scan
- List<String>
- repository
Name String - The name of the repository to scan
ImagePipelineImageTestsConfiguration, ImagePipelineImageTestsConfigurationArgs
- Image
Tests boolEnabled - Whether image tests are enabled. Defaults to
true
. - Timeout
Minutes int - Number of minutes before image tests time out. Valid values are between
60
and1440
. Defaults to720
.
- Image
Tests boolEnabled - Whether image tests are enabled. Defaults to
true
. - Timeout
Minutes int - Number of minutes before image tests time out. Valid values are between
60
and1440
. Defaults to720
.
- image
Tests BooleanEnabled - Whether image tests are enabled. Defaults to
true
. - timeout
Minutes Integer - Number of minutes before image tests time out. Valid values are between
60
and1440
. Defaults to720
.
- image
Tests booleanEnabled - Whether image tests are enabled. Defaults to
true
. - timeout
Minutes number - Number of minutes before image tests time out. Valid values are between
60
and1440
. Defaults to720
.
- image_
tests_ boolenabled - Whether image tests are enabled. Defaults to
true
. - timeout_
minutes int - Number of minutes before image tests time out. Valid values are between
60
and1440
. Defaults to720
.
- image
Tests BooleanEnabled - Whether image tests are enabled. Defaults to
true
. - timeout
Minutes Number - Number of minutes before image tests time out. Valid values are between
60
and1440
. Defaults to720
.
ImagePipelineSchedule, ImagePipelineScheduleArgs
- Schedule
Expression string Cron expression of how often the pipeline start condition is evaluated. For example,
cron(0 0 * * ? *)
is evaluated every day at midnight UTC. Configurations using the five field syntax that was previously accepted by the API, such ascron(0 0 * * *)
, must be updated to the six field syntax. For more information, see the Image Builder User Guide.The following arguments are optional:
- Pipeline
Execution stringStart Condition - Condition when the pipeline should trigger a new image build. Valid values are
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
andEXPRESSION_MATCH_ONLY
. Defaults toEXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
. - Timezone string
- The timezone that applies to the scheduling expression. For example, "Etc/UTC", "America/Los_Angeles" in the IANA timezone format. If not specified this defaults to UTC.
- Schedule
Expression string Cron expression of how often the pipeline start condition is evaluated. For example,
cron(0 0 * * ? *)
is evaluated every day at midnight UTC. Configurations using the five field syntax that was previously accepted by the API, such ascron(0 0 * * *)
, must be updated to the six field syntax. For more information, see the Image Builder User Guide.The following arguments are optional:
- Pipeline
Execution stringStart Condition - Condition when the pipeline should trigger a new image build. Valid values are
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
andEXPRESSION_MATCH_ONLY
. Defaults toEXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
. - Timezone string
- The timezone that applies to the scheduling expression. For example, "Etc/UTC", "America/Los_Angeles" in the IANA timezone format. If not specified this defaults to UTC.
- schedule
Expression String Cron expression of how often the pipeline start condition is evaluated. For example,
cron(0 0 * * ? *)
is evaluated every day at midnight UTC. Configurations using the five field syntax that was previously accepted by the API, such ascron(0 0 * * *)
, must be updated to the six field syntax. For more information, see the Image Builder User Guide.The following arguments are optional:
- pipeline
Execution StringStart Condition - Condition when the pipeline should trigger a new image build. Valid values are
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
andEXPRESSION_MATCH_ONLY
. Defaults toEXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
. - timezone String
- The timezone that applies to the scheduling expression. For example, "Etc/UTC", "America/Los_Angeles" in the IANA timezone format. If not specified this defaults to UTC.
- schedule
Expression string Cron expression of how often the pipeline start condition is evaluated. For example,
cron(0 0 * * ? *)
is evaluated every day at midnight UTC. Configurations using the five field syntax that was previously accepted by the API, such ascron(0 0 * * *)
, must be updated to the six field syntax. For more information, see the Image Builder User Guide.The following arguments are optional:
- pipeline
Execution stringStart Condition - Condition when the pipeline should trigger a new image build. Valid values are
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
andEXPRESSION_MATCH_ONLY
. Defaults toEXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
. - timezone string
- The timezone that applies to the scheduling expression. For example, "Etc/UTC", "America/Los_Angeles" in the IANA timezone format. If not specified this defaults to UTC.
- schedule_
expression str Cron expression of how often the pipeline start condition is evaluated. For example,
cron(0 0 * * ? *)
is evaluated every day at midnight UTC. Configurations using the five field syntax that was previously accepted by the API, such ascron(0 0 * * *)
, must be updated to the six field syntax. For more information, see the Image Builder User Guide.The following arguments are optional:
- pipeline_
execution_ strstart_ condition - Condition when the pipeline should trigger a new image build. Valid values are
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
andEXPRESSION_MATCH_ONLY
. Defaults toEXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
. - timezone str
- The timezone that applies to the scheduling expression. For example, "Etc/UTC", "America/Los_Angeles" in the IANA timezone format. If not specified this defaults to UTC.
- schedule
Expression String Cron expression of how often the pipeline start condition is evaluated. For example,
cron(0 0 * * ? *)
is evaluated every day at midnight UTC. Configurations using the five field syntax that was previously accepted by the API, such ascron(0 0 * * *)
, must be updated to the six field syntax. For more information, see the Image Builder User Guide.The following arguments are optional:
- pipeline
Execution StringStart Condition - Condition when the pipeline should trigger a new image build. Valid values are
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
andEXPRESSION_MATCH_ONLY
. Defaults toEXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
. - timezone String
- The timezone that applies to the scheduling expression. For example, "Etc/UTC", "America/Los_Angeles" in the IANA timezone format. If not specified this defaults to UTC.
Import
Using pulumi import
, import aws_imagebuilder_image_pipeline
resources using the Amazon Resource Name (ARN). For example:
$ pulumi import aws:imagebuilder/imagePipeline:ImagePipeline example arn:aws:imagebuilder:us-east-1:123456789012:image-pipeline/example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.