ImagePipeline

class ImagePipeline : KotlinCustomResource

Manages an Image Builder Image Pipeline.

Example Usage

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(aws_imagebuilder_image_recipe.example().arn())
.infrastructureConfigurationArn(aws_imagebuilder_infrastructure_configuration.example().arn())
.schedule(ImagePipelineScheduleArgs.builder()
.scheduleExpression("cron(0 0 * * ? *)")
.build())
.build());
}
}

Import

aws_imagebuilder_image_pipeline resources can be imported using the Amazon Resource Name (ARN), e.g.,

$ pulumi import aws:imagebuilder/imagePipeline:ImagePipeline example arn:aws:imagebuilder:us-east-1:123456789012:image-pipeline/example

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of the image pipeline.

Link copied to clipboard

Amazon Resource Name (ARN) of the container recipe.

Link copied to clipboard
val dateCreated: Output<String>

Date the image pipeline was created.

Link copied to clipboard
val dateLastRun: Output<String>

Date the image pipeline was last run.

Link copied to clipboard
val dateNextRun: Output<String>

Date the image pipeline will run next.

Link copied to clipboard
val dateUpdated: Output<String>

Date the image pipeline was updated.

Link copied to clipboard
val description: Output<String>?

Description of the image pipeline.

Link copied to clipboard

Amazon Resource Name (ARN) of the Image Builder Distribution Configuration.

Link copied to clipboard

Whether additional information about the image being created is collected. Defaults to true.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val imageRecipeArn: Output<String>?

Amazon Resource Name (ARN) of the image recipe.

Link copied to clipboard

Configuration block with image tests configuration. Detailed below.

Link copied to clipboard

Amazon Resource Name (ARN) of the Image Builder Infrastructure Configuration.

Link copied to clipboard
val name: Output<String>

Name of the image pipeline. The following arguments are optional:

Link copied to clipboard
val platform: Output<String>

Platform of the image pipeline.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Configuration block with schedule settings. Detailed below.

Link copied to clipboard
val status: Output<String>?

Status of the image pipeline. Valid values are DISABLED and ENABLED. Defaults to ENABLED.

Link copied to clipboard
val tags: Output<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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>