aws.imagebuilder.ContainerRecipe
Explore with Pulumi AI
Manages an Image Builder Container Recipe.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.imagebuilder.ContainerRecipe("example", {
    name: "example",
    version: "1.0.0",
    containerType: "DOCKER",
    parentImage: "arn:aws:imagebuilder:eu-central-1:aws:image/amazon-linux-x86-latest/x.x.x",
    targetRepository: {
        repositoryName: exampleAwsEcrRepository.name,
        service: "ECR",
    },
    components: [{
        componentArn: exampleAwsImagebuilderComponent.arn,
        parameters: [
            {
                name: "Parameter1",
                value: "Value1",
            },
            {
                name: "Parameter2",
                value: "Value2",
            },
        ],
    }],
    dockerfileTemplateData: `FROM {{{ imagebuilder:parentImage }}}
{{{ imagebuilder:environments }}}
{{{ imagebuilder:components }}}
`,
});
import pulumi
import pulumi_aws as aws
example = aws.imagebuilder.ContainerRecipe("example",
    name="example",
    version="1.0.0",
    container_type="DOCKER",
    parent_image="arn:aws:imagebuilder:eu-central-1:aws:image/amazon-linux-x86-latest/x.x.x",
    target_repository={
        "repository_name": example_aws_ecr_repository["name"],
        "service": "ECR",
    },
    components=[{
        "component_arn": example_aws_imagebuilder_component["arn"],
        "parameters": [
            {
                "name": "Parameter1",
                "value": "Value1",
            },
            {
                "name": "Parameter2",
                "value": "Value2",
            },
        ],
    }],
    dockerfile_template_data="""FROM {{{ imagebuilder:parentImage }}}
{{{ imagebuilder:environments }}}
{{{ imagebuilder:components }}}
""")
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.NewContainerRecipe(ctx, "example", &imagebuilder.ContainerRecipeArgs{
			Name:          pulumi.String("example"),
			Version:       pulumi.String("1.0.0"),
			ContainerType: pulumi.String("DOCKER"),
			ParentImage:   pulumi.String("arn:aws:imagebuilder:eu-central-1:aws:image/amazon-linux-x86-latest/x.x.x"),
			TargetRepository: &imagebuilder.ContainerRecipeTargetRepositoryArgs{
				RepositoryName: pulumi.Any(exampleAwsEcrRepository.Name),
				Service:        pulumi.String("ECR"),
			},
			Components: imagebuilder.ContainerRecipeComponentArray{
				&imagebuilder.ContainerRecipeComponentArgs{
					ComponentArn: pulumi.Any(exampleAwsImagebuilderComponent.Arn),
					Parameters: imagebuilder.ContainerRecipeComponentParameterArray{
						&imagebuilder.ContainerRecipeComponentParameterArgs{
							Name:  pulumi.String("Parameter1"),
							Value: pulumi.String("Value1"),
						},
						&imagebuilder.ContainerRecipeComponentParameterArgs{
							Name:  pulumi.String("Parameter2"),
							Value: pulumi.String("Value2"),
						},
					},
				},
			},
			DockerfileTemplateData: pulumi.String("FROM {{{ imagebuilder:parentImage }}}\n{{{ imagebuilder:environments }}}\n{{{ imagebuilder:components }}}\n"),
		})
		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.ContainerRecipe("example", new()
    {
        Name = "example",
        Version = "1.0.0",
        ContainerType = "DOCKER",
        ParentImage = "arn:aws:imagebuilder:eu-central-1:aws:image/amazon-linux-x86-latest/x.x.x",
        TargetRepository = new Aws.ImageBuilder.Inputs.ContainerRecipeTargetRepositoryArgs
        {
            RepositoryName = exampleAwsEcrRepository.Name,
            Service = "ECR",
        },
        Components = new[]
        {
            new Aws.ImageBuilder.Inputs.ContainerRecipeComponentArgs
            {
                ComponentArn = exampleAwsImagebuilderComponent.Arn,
                Parameters = new[]
                {
                    new Aws.ImageBuilder.Inputs.ContainerRecipeComponentParameterArgs
                    {
                        Name = "Parameter1",
                        Value = "Value1",
                    },
                    new Aws.ImageBuilder.Inputs.ContainerRecipeComponentParameterArgs
                    {
                        Name = "Parameter2",
                        Value = "Value2",
                    },
                },
            },
        },
        DockerfileTemplateData = @"FROM {{{ imagebuilder:parentImage }}}
{{{ imagebuilder:environments }}}
{{{ imagebuilder:components }}}
",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.imagebuilder.ContainerRecipe;
import com.pulumi.aws.imagebuilder.ContainerRecipeArgs;
import com.pulumi.aws.imagebuilder.inputs.ContainerRecipeTargetRepositoryArgs;
import com.pulumi.aws.imagebuilder.inputs.ContainerRecipeComponentArgs;
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 ContainerRecipe("example", ContainerRecipeArgs.builder()
            .name("example")
            .version("1.0.0")
            .containerType("DOCKER")
            .parentImage("arn:aws:imagebuilder:eu-central-1:aws:image/amazon-linux-x86-latest/x.x.x")
            .targetRepository(ContainerRecipeTargetRepositoryArgs.builder()
                .repositoryName(exampleAwsEcrRepository.name())
                .service("ECR")
                .build())
            .components(ContainerRecipeComponentArgs.builder()
                .componentArn(exampleAwsImagebuilderComponent.arn())
                .parameters(                
                    ContainerRecipeComponentParameterArgs.builder()
                        .name("Parameter1")
                        .value("Value1")
                        .build(),
                    ContainerRecipeComponentParameterArgs.builder()
                        .name("Parameter2")
                        .value("Value2")
                        .build())
                .build())
            .dockerfileTemplateData("""
FROM {{{ imagebuilder:parentImage }}}
{{{ imagebuilder:environments }}}
{{{ imagebuilder:components }}}
            """)
            .build());
    }
}
resources:
  example:
    type: aws:imagebuilder:ContainerRecipe
    properties:
      name: example
      version: 1.0.0
      containerType: DOCKER
      parentImage: arn:aws:imagebuilder:eu-central-1:aws:image/amazon-linux-x86-latest/x.x.x
      targetRepository:
        repositoryName: ${exampleAwsEcrRepository.name}
        service: ECR
      components:
        - componentArn: ${exampleAwsImagebuilderComponent.arn}
          parameters:
            - name: Parameter1
              value: Value1
            - name: Parameter2
              value: Value2
      dockerfileTemplateData: |
        FROM {{{ imagebuilder:parentImage }}}
        {{{ imagebuilder:environments }}}
        {{{ imagebuilder:components }}}        
Create ContainerRecipe Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContainerRecipe(name: string, args: ContainerRecipeArgs, opts?: CustomResourceOptions);@overload
def ContainerRecipe(resource_name: str,
                    args: ContainerRecipeArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def ContainerRecipe(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    components: Optional[Sequence[ContainerRecipeComponentArgs]] = None,
                    container_type: Optional[str] = None,
                    version: Optional[str] = None,
                    target_repository: Optional[ContainerRecipeTargetRepositoryArgs] = None,
                    parent_image: Optional[str] = None,
                    kms_key_id: Optional[str] = None,
                    instance_configuration: Optional[ContainerRecipeInstanceConfigurationArgs] = None,
                    name: Optional[str] = None,
                    dockerfile_template_uri: Optional[str] = None,
                    platform_override: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    dockerfile_template_data: Optional[str] = None,
                    description: Optional[str] = None,
                    working_directory: Optional[str] = None)func NewContainerRecipe(ctx *Context, name string, args ContainerRecipeArgs, opts ...ResourceOption) (*ContainerRecipe, error)public ContainerRecipe(string name, ContainerRecipeArgs args, CustomResourceOptions? opts = null)
public ContainerRecipe(String name, ContainerRecipeArgs args)
public ContainerRecipe(String name, ContainerRecipeArgs args, CustomResourceOptions options)
type: aws:imagebuilder:ContainerRecipe
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 ContainerRecipeArgs
- 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 ContainerRecipeArgs
- 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 ContainerRecipeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerRecipeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerRecipeArgs
- 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 containerRecipeResource = new Aws.ImageBuilder.ContainerRecipe("containerRecipeResource", new()
{
    Components = new[]
    {
        new Aws.ImageBuilder.Inputs.ContainerRecipeComponentArgs
        {
            ComponentArn = "string",
            Parameters = new[]
            {
                new Aws.ImageBuilder.Inputs.ContainerRecipeComponentParameterArgs
                {
                    Name = "string",
                    Value = "string",
                },
            },
        },
    },
    ContainerType = "string",
    Version = "string",
    TargetRepository = new Aws.ImageBuilder.Inputs.ContainerRecipeTargetRepositoryArgs
    {
        RepositoryName = "string",
        Service = "string",
    },
    ParentImage = "string",
    KmsKeyId = "string",
    InstanceConfiguration = new Aws.ImageBuilder.Inputs.ContainerRecipeInstanceConfigurationArgs
    {
        BlockDeviceMappings = new[]
        {
            new Aws.ImageBuilder.Inputs.ContainerRecipeInstanceConfigurationBlockDeviceMappingArgs
            {
                DeviceName = "string",
                Ebs = new Aws.ImageBuilder.Inputs.ContainerRecipeInstanceConfigurationBlockDeviceMappingEbsArgs
                {
                    DeleteOnTermination = "string",
                    Encrypted = "string",
                    Iops = 0,
                    KmsKeyId = "string",
                    SnapshotId = "string",
                    Throughput = 0,
                    VolumeSize = 0,
                    VolumeType = "string",
                },
                NoDevice = false,
                VirtualName = "string",
            },
        },
        Image = "string",
    },
    Name = "string",
    DockerfileTemplateUri = "string",
    PlatformOverride = "string",
    Tags = 
    {
        { "string", "string" },
    },
    DockerfileTemplateData = "string",
    Description = "string",
    WorkingDirectory = "string",
});
example, err := imagebuilder.NewContainerRecipe(ctx, "containerRecipeResource", &imagebuilder.ContainerRecipeArgs{
	Components: imagebuilder.ContainerRecipeComponentArray{
		&imagebuilder.ContainerRecipeComponentArgs{
			ComponentArn: pulumi.String("string"),
			Parameters: imagebuilder.ContainerRecipeComponentParameterArray{
				&imagebuilder.ContainerRecipeComponentParameterArgs{
					Name:  pulumi.String("string"),
					Value: pulumi.String("string"),
				},
			},
		},
	},
	ContainerType: pulumi.String("string"),
	Version:       pulumi.String("string"),
	TargetRepository: &imagebuilder.ContainerRecipeTargetRepositoryArgs{
		RepositoryName: pulumi.String("string"),
		Service:        pulumi.String("string"),
	},
	ParentImage: pulumi.String("string"),
	KmsKeyId:    pulumi.String("string"),
	InstanceConfiguration: &imagebuilder.ContainerRecipeInstanceConfigurationArgs{
		BlockDeviceMappings: imagebuilder.ContainerRecipeInstanceConfigurationBlockDeviceMappingArray{
			&imagebuilder.ContainerRecipeInstanceConfigurationBlockDeviceMappingArgs{
				DeviceName: pulumi.String("string"),
				Ebs: &imagebuilder.ContainerRecipeInstanceConfigurationBlockDeviceMappingEbsArgs{
					DeleteOnTermination: pulumi.String("string"),
					Encrypted:           pulumi.String("string"),
					Iops:                pulumi.Int(0),
					KmsKeyId:            pulumi.String("string"),
					SnapshotId:          pulumi.String("string"),
					Throughput:          pulumi.Int(0),
					VolumeSize:          pulumi.Int(0),
					VolumeType:          pulumi.String("string"),
				},
				NoDevice:    pulumi.Bool(false),
				VirtualName: pulumi.String("string"),
			},
		},
		Image: pulumi.String("string"),
	},
	Name:                  pulumi.String("string"),
	DockerfileTemplateUri: pulumi.String("string"),
	PlatformOverride:      pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DockerfileTemplateData: pulumi.String("string"),
	Description:            pulumi.String("string"),
	WorkingDirectory:       pulumi.String("string"),
})
var containerRecipeResource = new ContainerRecipe("containerRecipeResource", ContainerRecipeArgs.builder()
    .components(ContainerRecipeComponentArgs.builder()
        .componentArn("string")
        .parameters(ContainerRecipeComponentParameterArgs.builder()
            .name("string")
            .value("string")
            .build())
        .build())
    .containerType("string")
    .version("string")
    .targetRepository(ContainerRecipeTargetRepositoryArgs.builder()
        .repositoryName("string")
        .service("string")
        .build())
    .parentImage("string")
    .kmsKeyId("string")
    .instanceConfiguration(ContainerRecipeInstanceConfigurationArgs.builder()
        .blockDeviceMappings(ContainerRecipeInstanceConfigurationBlockDeviceMappingArgs.builder()
            .deviceName("string")
            .ebs(ContainerRecipeInstanceConfigurationBlockDeviceMappingEbsArgs.builder()
                .deleteOnTermination("string")
                .encrypted("string")
                .iops(0)
                .kmsKeyId("string")
                .snapshotId("string")
                .throughput(0)
                .volumeSize(0)
                .volumeType("string")
                .build())
            .noDevice(false)
            .virtualName("string")
            .build())
        .image("string")
        .build())
    .name("string")
    .dockerfileTemplateUri("string")
    .platformOverride("string")
    .tags(Map.of("string", "string"))
    .dockerfileTemplateData("string")
    .description("string")
    .workingDirectory("string")
    .build());
container_recipe_resource = aws.imagebuilder.ContainerRecipe("containerRecipeResource",
    components=[{
        "component_arn": "string",
        "parameters": [{
            "name": "string",
            "value": "string",
        }],
    }],
    container_type="string",
    version="string",
    target_repository={
        "repository_name": "string",
        "service": "string",
    },
    parent_image="string",
    kms_key_id="string",
    instance_configuration={
        "block_device_mappings": [{
            "device_name": "string",
            "ebs": {
                "delete_on_termination": "string",
                "encrypted": "string",
                "iops": 0,
                "kms_key_id": "string",
                "snapshot_id": "string",
                "throughput": 0,
                "volume_size": 0,
                "volume_type": "string",
            },
            "no_device": False,
            "virtual_name": "string",
        }],
        "image": "string",
    },
    name="string",
    dockerfile_template_uri="string",
    platform_override="string",
    tags={
        "string": "string",
    },
    dockerfile_template_data="string",
    description="string",
    working_directory="string")
const containerRecipeResource = new aws.imagebuilder.ContainerRecipe("containerRecipeResource", {
    components: [{
        componentArn: "string",
        parameters: [{
            name: "string",
            value: "string",
        }],
    }],
    containerType: "string",
    version: "string",
    targetRepository: {
        repositoryName: "string",
        service: "string",
    },
    parentImage: "string",
    kmsKeyId: "string",
    instanceConfiguration: {
        blockDeviceMappings: [{
            deviceName: "string",
            ebs: {
                deleteOnTermination: "string",
                encrypted: "string",
                iops: 0,
                kmsKeyId: "string",
                snapshotId: "string",
                throughput: 0,
                volumeSize: 0,
                volumeType: "string",
            },
            noDevice: false,
            virtualName: "string",
        }],
        image: "string",
    },
    name: "string",
    dockerfileTemplateUri: "string",
    platformOverride: "string",
    tags: {
        string: "string",
    },
    dockerfileTemplateData: "string",
    description: "string",
    workingDirectory: "string",
});
type: aws:imagebuilder:ContainerRecipe
properties:
    components:
        - componentArn: string
          parameters:
            - name: string
              value: string
    containerType: string
    description: string
    dockerfileTemplateData: string
    dockerfileTemplateUri: string
    instanceConfiguration:
        blockDeviceMappings:
            - deviceName: string
              ebs:
                deleteOnTermination: string
                encrypted: string
                iops: 0
                kmsKeyId: string
                snapshotId: string
                throughput: 0
                volumeSize: 0
                volumeType: string
              noDevice: false
              virtualName: string
        image: string
    kmsKeyId: string
    name: string
    parentImage: string
    platformOverride: string
    tags:
        string: string
    targetRepository:
        repositoryName: string
        service: string
    version: string
    workingDirectory: string
ContainerRecipe 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 ContainerRecipe resource accepts the following input properties:
- Components
List<ContainerRecipe Component> 
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- ContainerType string
- The type of the container to create. Valid values: DOCKER.
- ParentImage string
- The base image for the container recipe.
- TargetRepository ContainerRecipe Target Repository 
- The destination repository for the container image. Detailed below.
- Version string
- Version of the container recipe. - The following attributes are optional: 
- Description string
- The description of the container recipe.
- DockerfileTemplate stringData 
- The Dockerfile template used to build the image as an inline data blob.
- DockerfileTemplate stringUri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- InstanceConfiguration ContainerRecipe Instance Configuration 
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- KmsKey stringId 
- The KMS key used to encrypt the container image.
- Name string
- The name of the container recipe.
- PlatformOverride string
- Specifies the operating system platform when you use a custom base image.
- Dictionary<string, string>
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- WorkingDirectory string
- The working directory to be used during build and test workflows.
- Components
[]ContainerRecipe Component Args 
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- ContainerType string
- The type of the container to create. Valid values: DOCKER.
- ParentImage string
- The base image for the container recipe.
- TargetRepository ContainerRecipe Target Repository Args 
- The destination repository for the container image. Detailed below.
- Version string
- Version of the container recipe. - The following attributes are optional: 
- Description string
- The description of the container recipe.
- DockerfileTemplate stringData 
- The Dockerfile template used to build the image as an inline data blob.
- DockerfileTemplate stringUri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- InstanceConfiguration ContainerRecipe Instance Configuration Args 
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- KmsKey stringId 
- The KMS key used to encrypt the container image.
- Name string
- The name of the container recipe.
- PlatformOverride string
- Specifies the operating system platform when you use a custom base image.
- map[string]string
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- WorkingDirectory string
- The working directory to be used during build and test workflows.
- components
List<ContainerRecipe Component> 
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- containerType String
- The type of the container to create. Valid values: DOCKER.
- parentImage String
- The base image for the container recipe.
- targetRepository ContainerRecipe Target Repository 
- The destination repository for the container image. Detailed below.
- version String
- Version of the container recipe. - The following attributes are optional: 
- description String
- The description of the container recipe.
- dockerfileTemplate StringData 
- The Dockerfile template used to build the image as an inline data blob.
- dockerfileTemplate StringUri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- instanceConfiguration ContainerRecipe Instance Configuration 
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- kmsKey StringId 
- The KMS key used to encrypt the container image.
- name String
- The name of the container recipe.
- platformOverride String
- Specifies the operating system platform when you use a custom base image.
- Map<String,String>
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- workingDirectory String
- The working directory to be used during build and test workflows.
- components
ContainerRecipe Component[] 
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- containerType string
- The type of the container to create. Valid values: DOCKER.
- parentImage string
- The base image for the container recipe.
- targetRepository ContainerRecipe Target Repository 
- The destination repository for the container image. Detailed below.
- version string
- Version of the container recipe. - The following attributes are optional: 
- description string
- The description of the container recipe.
- dockerfileTemplate stringData 
- The Dockerfile template used to build the image as an inline data blob.
- dockerfileTemplate stringUri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- instanceConfiguration ContainerRecipe Instance Configuration 
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- kmsKey stringId 
- The KMS key used to encrypt the container image.
- name string
- The name of the container recipe.
- platformOverride string
- Specifies the operating system platform when you use a custom base image.
- {[key: string]: string}
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- workingDirectory string
- The working directory to be used during build and test workflows.
- components
Sequence[ContainerRecipe Component Args] 
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- container_type str
- The type of the container to create. Valid values: DOCKER.
- parent_image str
- The base image for the container recipe.
- target_repository ContainerRecipe Target Repository Args 
- The destination repository for the container image. Detailed below.
- version str
- Version of the container recipe. - The following attributes are optional: 
- description str
- The description of the container recipe.
- dockerfile_template_ strdata 
- The Dockerfile template used to build the image as an inline data blob.
- dockerfile_template_ struri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- instance_configuration ContainerRecipe Instance Configuration Args 
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- kms_key_ strid 
- The KMS key used to encrypt the container image.
- name str
- The name of the container recipe.
- platform_override str
- Specifies the operating system platform when you use a custom base image.
- Mapping[str, str]
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- working_directory str
- The working directory to be used during build and test workflows.
- components List<Property Map>
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- containerType String
- The type of the container to create. Valid values: DOCKER.
- parentImage String
- The base image for the container recipe.
- targetRepository Property Map
- The destination repository for the container image. Detailed below.
- version String
- Version of the container recipe. - The following attributes are optional: 
- description String
- The description of the container recipe.
- dockerfileTemplate StringData 
- The Dockerfile template used to build the image as an inline data blob.
- dockerfileTemplate StringUri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- instanceConfiguration Property Map
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- kmsKey StringId 
- The KMS key used to encrypt the container image.
- name String
- The name of the container recipe.
- platformOverride String
- Specifies the operating system platform when you use a custom base image.
- Map<String>
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- workingDirectory String
- The working directory to be used during build and test workflows.
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerRecipe resource produces the following output properties:
- Arn string
- (Required) Amazon Resource Name (ARN) of the container recipe.
- DateCreated string
- Date the container recipe was created.
- Encrypted bool
- A flag that indicates if the target container is encrypted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner string
- Owner of the container recipe.
- Platform string
- Platform of the container recipe.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- (Required) Amazon Resource Name (ARN) of the container recipe.
- DateCreated string
- Date the container recipe was created.
- Encrypted bool
- A flag that indicates if the target container is encrypted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner string
- Owner of the container recipe.
- Platform string
- Platform of the container recipe.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- (Required) Amazon Resource Name (ARN) of the container recipe.
- dateCreated String
- Date the container recipe was created.
- encrypted Boolean
- A flag that indicates if the target container is encrypted.
- id String
- The provider-assigned unique ID for this managed resource.
- owner String
- Owner of the container recipe.
- platform String
- Platform of the container recipe.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- (Required) Amazon Resource Name (ARN) of the container recipe.
- dateCreated string
- Date the container recipe was created.
- encrypted boolean
- A flag that indicates if the target container is encrypted.
- id string
- The provider-assigned unique ID for this managed resource.
- owner string
- Owner of the container recipe.
- platform string
- Platform of the container recipe.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- (Required) Amazon Resource Name (ARN) of the container recipe.
- date_created str
- Date the container recipe was created.
- encrypted bool
- A flag that indicates if the target container is encrypted.
- id str
- The provider-assigned unique ID for this managed resource.
- owner str
- Owner of the container recipe.
- platform str
- Platform of the container recipe.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- (Required) Amazon Resource Name (ARN) of the container recipe.
- dateCreated String
- Date the container recipe was created.
- encrypted Boolean
- A flag that indicates if the target container is encrypted.
- id String
- The provider-assigned unique ID for this managed resource.
- owner String
- Owner of the container recipe.
- platform String
- Platform of the container recipe.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Look up Existing ContainerRecipe Resource
Get an existing ContainerRecipe 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?: ContainerRecipeState, opts?: CustomResourceOptions): ContainerRecipe@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        components: Optional[Sequence[ContainerRecipeComponentArgs]] = None,
        container_type: Optional[str] = None,
        date_created: Optional[str] = None,
        description: Optional[str] = None,
        dockerfile_template_data: Optional[str] = None,
        dockerfile_template_uri: Optional[str] = None,
        encrypted: Optional[bool] = None,
        instance_configuration: Optional[ContainerRecipeInstanceConfigurationArgs] = None,
        kms_key_id: Optional[str] = None,
        name: Optional[str] = None,
        owner: Optional[str] = None,
        parent_image: Optional[str] = None,
        platform: Optional[str] = None,
        platform_override: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        target_repository: Optional[ContainerRecipeTargetRepositoryArgs] = None,
        version: Optional[str] = None,
        working_directory: Optional[str] = None) -> ContainerRecipefunc GetContainerRecipe(ctx *Context, name string, id IDInput, state *ContainerRecipeState, opts ...ResourceOption) (*ContainerRecipe, error)public static ContainerRecipe Get(string name, Input<string> id, ContainerRecipeState? state, CustomResourceOptions? opts = null)public static ContainerRecipe get(String name, Output<String> id, ContainerRecipeState state, CustomResourceOptions options)resources:  _:    type: aws:imagebuilder:ContainerRecipe    get:      id: ${id}- 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
- (Required) Amazon Resource Name (ARN) of the container recipe.
- Components
List<ContainerRecipe Component> 
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- ContainerType string
- The type of the container to create. Valid values: DOCKER.
- DateCreated string
- Date the container recipe was created.
- Description string
- The description of the container recipe.
- DockerfileTemplate stringData 
- The Dockerfile template used to build the image as an inline data blob.
- DockerfileTemplate stringUri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- Encrypted bool
- A flag that indicates if the target container is encrypted.
- InstanceConfiguration ContainerRecipe Instance Configuration 
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- KmsKey stringId 
- The KMS key used to encrypt the container image.
- Name string
- The name of the container recipe.
- Owner string
- Owner of the container recipe.
- ParentImage string
- The base image for the container recipe.
- Platform string
- Platform of the container recipe.
- PlatformOverride string
- Specifies the operating system platform when you use a custom base image.
- Dictionary<string, string>
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- TargetRepository ContainerRecipe Target Repository 
- The destination repository for the container image. Detailed below.
- Version string
- Version of the container recipe. - The following attributes are optional: 
- WorkingDirectory string
- The working directory to be used during build and test workflows.
- Arn string
- (Required) Amazon Resource Name (ARN) of the container recipe.
- Components
[]ContainerRecipe Component Args 
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- ContainerType string
- The type of the container to create. Valid values: DOCKER.
- DateCreated string
- Date the container recipe was created.
- Description string
- The description of the container recipe.
- DockerfileTemplate stringData 
- The Dockerfile template used to build the image as an inline data blob.
- DockerfileTemplate stringUri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- Encrypted bool
- A flag that indicates if the target container is encrypted.
- InstanceConfiguration ContainerRecipe Instance Configuration Args 
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- KmsKey stringId 
- The KMS key used to encrypt the container image.
- Name string
- The name of the container recipe.
- Owner string
- Owner of the container recipe.
- ParentImage string
- The base image for the container recipe.
- Platform string
- Platform of the container recipe.
- PlatformOverride string
- Specifies the operating system platform when you use a custom base image.
- map[string]string
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- TargetRepository ContainerRecipe Target Repository Args 
- The destination repository for the container image. Detailed below.
- Version string
- Version of the container recipe. - The following attributes are optional: 
- WorkingDirectory string
- The working directory to be used during build and test workflows.
- arn String
- (Required) Amazon Resource Name (ARN) of the container recipe.
- components
List<ContainerRecipe Component> 
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- containerType String
- The type of the container to create. Valid values: DOCKER.
- dateCreated String
- Date the container recipe was created.
- description String
- The description of the container recipe.
- dockerfileTemplate StringData 
- The Dockerfile template used to build the image as an inline data blob.
- dockerfileTemplate StringUri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- encrypted Boolean
- A flag that indicates if the target container is encrypted.
- instanceConfiguration ContainerRecipe Instance Configuration 
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- kmsKey StringId 
- The KMS key used to encrypt the container image.
- name String
- The name of the container recipe.
- owner String
- Owner of the container recipe.
- parentImage String
- The base image for the container recipe.
- platform String
- Platform of the container recipe.
- platformOverride String
- Specifies the operating system platform when you use a custom base image.
- Map<String,String>
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- targetRepository ContainerRecipe Target Repository 
- The destination repository for the container image. Detailed below.
- version String
- Version of the container recipe. - The following attributes are optional: 
- workingDirectory String
- The working directory to be used during build and test workflows.
- arn string
- (Required) Amazon Resource Name (ARN) of the container recipe.
- components
ContainerRecipe Component[] 
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- containerType string
- The type of the container to create. Valid values: DOCKER.
- dateCreated string
- Date the container recipe was created.
- description string
- The description of the container recipe.
- dockerfileTemplate stringData 
- The Dockerfile template used to build the image as an inline data blob.
- dockerfileTemplate stringUri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- encrypted boolean
- A flag that indicates if the target container is encrypted.
- instanceConfiguration ContainerRecipe Instance Configuration 
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- kmsKey stringId 
- The KMS key used to encrypt the container image.
- name string
- The name of the container recipe.
- owner string
- Owner of the container recipe.
- parentImage string
- The base image for the container recipe.
- platform string
- Platform of the container recipe.
- platformOverride string
- Specifies the operating system platform when you use a custom base image.
- {[key: string]: string}
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- targetRepository ContainerRecipe Target Repository 
- The destination repository for the container image. Detailed below.
- version string
- Version of the container recipe. - The following attributes are optional: 
- workingDirectory string
- The working directory to be used during build and test workflows.
- arn str
- (Required) Amazon Resource Name (ARN) of the container recipe.
- components
Sequence[ContainerRecipe Component Args] 
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- container_type str
- The type of the container to create. Valid values: DOCKER.
- date_created str
- Date the container recipe was created.
- description str
- The description of the container recipe.
- dockerfile_template_ strdata 
- The Dockerfile template used to build the image as an inline data blob.
- dockerfile_template_ struri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- encrypted bool
- A flag that indicates if the target container is encrypted.
- instance_configuration ContainerRecipe Instance Configuration Args 
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- kms_key_ strid 
- The KMS key used to encrypt the container image.
- name str
- The name of the container recipe.
- owner str
- Owner of the container recipe.
- parent_image str
- The base image for the container recipe.
- platform str
- Platform of the container recipe.
- platform_override str
- Specifies the operating system platform when you use a custom base image.
- Mapping[str, str]
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- target_repository ContainerRecipe Target Repository Args 
- The destination repository for the container image. Detailed below.
- version str
- Version of the container recipe. - The following attributes are optional: 
- working_directory str
- The working directory to be used during build and test workflows.
- arn String
- (Required) Amazon Resource Name (ARN) of the container recipe.
- components List<Property Map>
- Ordered configuration block(s) with components for the container recipe. Detailed below.
- containerType String
- The type of the container to create. Valid values: DOCKER.
- dateCreated String
- Date the container recipe was created.
- description String
- The description of the container recipe.
- dockerfileTemplate StringData 
- The Dockerfile template used to build the image as an inline data blob.
- dockerfileTemplate StringUri 
- The Amazon S3 URI for the Dockerfile that will be used to build the container image.
- encrypted Boolean
- A flag that indicates if the target container is encrypted.
- instanceConfiguration Property Map
- Configuration block used to configure an instance for building and testing container images. Detailed below.
- kmsKey StringId 
- The KMS key used to encrypt the container image.
- name String
- The name of the container recipe.
- owner String
- Owner of the container recipe.
- parentImage String
- The base image for the container recipe.
- platform String
- Platform of the container recipe.
- platformOverride String
- Specifies the operating system platform when you use a custom base image.
- Map<String>
- Key-value map of resource tags for the container recipe. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- targetRepository Property Map
- The destination repository for the container image. Detailed below.
- version String
- Version of the container recipe. - The following attributes are optional: 
- workingDirectory String
- The working directory to be used during build and test workflows.
Supporting Types
ContainerRecipeComponent, ContainerRecipeComponentArgs      
- ComponentArn string
- Amazon Resource Name (ARN) of the Image Builder Component to associate.
- Parameters
List<ContainerRecipe Component Parameter> 
- Configuration block(s) for parameters to configure the component. Detailed below.
- ComponentArn string
- Amazon Resource Name (ARN) of the Image Builder Component to associate.
- Parameters
[]ContainerRecipe Component Parameter 
- Configuration block(s) for parameters to configure the component. Detailed below.
- componentArn String
- Amazon Resource Name (ARN) of the Image Builder Component to associate.
- parameters
List<ContainerRecipe Component Parameter> 
- Configuration block(s) for parameters to configure the component. Detailed below.
- componentArn string
- Amazon Resource Name (ARN) of the Image Builder Component to associate.
- parameters
ContainerRecipe Component Parameter[] 
- Configuration block(s) for parameters to configure the component. Detailed below.
- component_arn str
- Amazon Resource Name (ARN) of the Image Builder Component to associate.
- parameters
Sequence[ContainerRecipe Component Parameter] 
- Configuration block(s) for parameters to configure the component. Detailed below.
- componentArn String
- Amazon Resource Name (ARN) of the Image Builder Component to associate.
- parameters List<Property Map>
- Configuration block(s) for parameters to configure the component. Detailed below.
ContainerRecipeComponentParameter, ContainerRecipeComponentParameterArgs        
ContainerRecipeInstanceConfiguration, ContainerRecipeInstanceConfigurationArgs        
- BlockDevice List<ContainerMappings Recipe Instance Configuration Block Device Mapping> 
- Configuration block(s) with block device mappings for the container recipe. Detailed below.
- Image string
- The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
- BlockDevice []ContainerMappings Recipe Instance Configuration Block Device Mapping 
- Configuration block(s) with block device mappings for the container recipe. Detailed below.
- Image string
- The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
- blockDevice List<ContainerMappings Recipe Instance Configuration Block Device Mapping> 
- Configuration block(s) with block device mappings for the container recipe. Detailed below.
- image String
- The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
- blockDevice ContainerMappings Recipe Instance Configuration Block Device Mapping[] 
- Configuration block(s) with block device mappings for the container recipe. Detailed below.
- image string
- The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
- block_device_ Sequence[Containermappings Recipe Instance Configuration Block Device Mapping] 
- Configuration block(s) with block device mappings for the container recipe. Detailed below.
- image str
- The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
- blockDevice List<Property Map>Mappings 
- Configuration block(s) with block device mappings for the container recipe. Detailed below.
- image String
- The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
ContainerRecipeInstanceConfigurationBlockDeviceMapping, ContainerRecipeInstanceConfigurationBlockDeviceMappingArgs              
- DeviceName string
- Name of the device. For example, /dev/sdaor/dev/xvdb.
- Ebs
ContainerRecipe Instance Configuration Block Device Mapping Ebs 
- Configuration block with Elastic Block Storage (EBS) block device mapping settings. Detailed below.
- NoDevice bool
- Set to trueto remove a mapping from the parent image.
- VirtualName string
- Virtual device name. For example, ephemeral0. Instance store volumes are numbered starting from 0.
- DeviceName string
- Name of the device. For example, /dev/sdaor/dev/xvdb.
- Ebs
ContainerRecipe Instance Configuration Block Device Mapping Ebs 
- Configuration block with Elastic Block Storage (EBS) block device mapping settings. Detailed below.
- NoDevice bool
- Set to trueto remove a mapping from the parent image.
- VirtualName string
- Virtual device name. For example, ephemeral0. Instance store volumes are numbered starting from 0.
- deviceName String
- Name of the device. For example, /dev/sdaor/dev/xvdb.
- ebs
ContainerRecipe Instance Configuration Block Device Mapping Ebs 
- Configuration block with Elastic Block Storage (EBS) block device mapping settings. Detailed below.
- noDevice Boolean
- Set to trueto remove a mapping from the parent image.
- virtualName String
- Virtual device name. For example, ephemeral0. Instance store volumes are numbered starting from 0.
- deviceName string
- Name of the device. For example, /dev/sdaor/dev/xvdb.
- ebs
ContainerRecipe Instance Configuration Block Device Mapping Ebs 
- Configuration block with Elastic Block Storage (EBS) block device mapping settings. Detailed below.
- noDevice boolean
- Set to trueto remove a mapping from the parent image.
- virtualName string
- Virtual device name. For example, ephemeral0. Instance store volumes are numbered starting from 0.
- device_name str
- Name of the device. For example, /dev/sdaor/dev/xvdb.
- ebs
ContainerRecipe Instance Configuration Block Device Mapping Ebs 
- Configuration block with Elastic Block Storage (EBS) block device mapping settings. Detailed below.
- no_device bool
- Set to trueto remove a mapping from the parent image.
- virtual_name str
- Virtual device name. For example, ephemeral0. Instance store volumes are numbered starting from 0.
- deviceName String
- Name of the device. For example, /dev/sdaor/dev/xvdb.
- ebs Property Map
- Configuration block with Elastic Block Storage (EBS) block device mapping settings. Detailed below.
- noDevice Boolean
- Set to trueto remove a mapping from the parent image.
- virtualName String
- Virtual device name. For example, ephemeral0. Instance store volumes are numbered starting from 0.
ContainerRecipeInstanceConfigurationBlockDeviceMappingEbs, ContainerRecipeInstanceConfigurationBlockDeviceMappingEbsArgs                
- DeleteOn stringTermination 
- Whether to delete the volume on termination. Defaults to unset, which is the value inherited from the parent image.
- Encrypted string
- Whether to encrypt the volume. Defaults to unset, which is the value inherited from the parent image.
- Iops int
- Number of Input/Output (I/O) operations per second to provision for an io1orio2volume.
- KmsKey stringId 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key for encryption.
- SnapshotId string
- Identifier of the EC2 Volume Snapshot.
- Throughput int
- For GP3 volumes only. The throughput in MiB/s that the volume supports.
- VolumeSize int
- Size of the volume, in GiB.
- VolumeType string
- Type of the volume. For example, gp2orio2.
- DeleteOn stringTermination 
- Whether to delete the volume on termination. Defaults to unset, which is the value inherited from the parent image.
- Encrypted string
- Whether to encrypt the volume. Defaults to unset, which is the value inherited from the parent image.
- Iops int
- Number of Input/Output (I/O) operations per second to provision for an io1orio2volume.
- KmsKey stringId 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key for encryption.
- SnapshotId string
- Identifier of the EC2 Volume Snapshot.
- Throughput int
- For GP3 volumes only. The throughput in MiB/s that the volume supports.
- VolumeSize int
- Size of the volume, in GiB.
- VolumeType string
- Type of the volume. For example, gp2orio2.
- deleteOn StringTermination 
- Whether to delete the volume on termination. Defaults to unset, which is the value inherited from the parent image.
- encrypted String
- Whether to encrypt the volume. Defaults to unset, which is the value inherited from the parent image.
- iops Integer
- Number of Input/Output (I/O) operations per second to provision for an io1orio2volume.
- kmsKey StringId 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key for encryption.
- snapshotId String
- Identifier of the EC2 Volume Snapshot.
- throughput Integer
- For GP3 volumes only. The throughput in MiB/s that the volume supports.
- volumeSize Integer
- Size of the volume, in GiB.
- volumeType String
- Type of the volume. For example, gp2orio2.
- deleteOn stringTermination 
- Whether to delete the volume on termination. Defaults to unset, which is the value inherited from the parent image.
- encrypted string
- Whether to encrypt the volume. Defaults to unset, which is the value inherited from the parent image.
- iops number
- Number of Input/Output (I/O) operations per second to provision for an io1orio2volume.
- kmsKey stringId 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key for encryption.
- snapshotId string
- Identifier of the EC2 Volume Snapshot.
- throughput number
- For GP3 volumes only. The throughput in MiB/s that the volume supports.
- volumeSize number
- Size of the volume, in GiB.
- volumeType string
- Type of the volume. For example, gp2orio2.
- delete_on_ strtermination 
- Whether to delete the volume on termination. Defaults to unset, which is the value inherited from the parent image.
- encrypted str
- Whether to encrypt the volume. Defaults to unset, which is the value inherited from the parent image.
- iops int
- Number of Input/Output (I/O) operations per second to provision for an io1orio2volume.
- kms_key_ strid 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key for encryption.
- snapshot_id str
- Identifier of the EC2 Volume Snapshot.
- throughput int
- For GP3 volumes only. The throughput in MiB/s that the volume supports.
- volume_size int
- Size of the volume, in GiB.
- volume_type str
- Type of the volume. For example, gp2orio2.
- deleteOn StringTermination 
- Whether to delete the volume on termination. Defaults to unset, which is the value inherited from the parent image.
- encrypted String
- Whether to encrypt the volume. Defaults to unset, which is the value inherited from the parent image.
- iops Number
- Number of Input/Output (I/O) operations per second to provision for an io1orio2volume.
- kmsKey StringId 
- Amazon Resource Name (ARN) of the Key Management Service (KMS) Key for encryption.
- snapshotId String
- Identifier of the EC2 Volume Snapshot.
- throughput Number
- For GP3 volumes only. The throughput in MiB/s that the volume supports.
- volumeSize Number
- Size of the volume, in GiB.
- volumeType String
- Type of the volume. For example, gp2orio2.
ContainerRecipeTargetRepository, ContainerRecipeTargetRepositoryArgs        
- RepositoryName string
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- Service string
- The service in which this image is registered. Valid values: ECR.
- RepositoryName string
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- Service string
- The service in which this image is registered. Valid values: ECR.
- repositoryName String
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- service String
- The service in which this image is registered. Valid values: ECR.
- repositoryName string
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- service string
- The service in which this image is registered. Valid values: ECR.
- repository_name str
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- service str
- The service in which this image is registered. Valid values: ECR.
- repositoryName String
- The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
- service String
- The service in which this image is registered. Valid values: ECR.
Import
Using pulumi import, import aws_imagebuilder_container_recipe resources using the Amazon Resource Name (ARN). For example:
$ pulumi import aws:imagebuilder/containerRecipe:ContainerRecipe example arn:aws:imagebuilder:us-east-1:123456789012:container-recipe/example/1.0.0
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 awsTerraform Provider.