AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.imagebuilder.ImageRecipe
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
Resource schema for AWS::ImageBuilder::ImageRecipe
Create ImageRecipe Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ImageRecipe(name: string, args: ImageRecipeArgs, opts?: CustomResourceOptions);
@overload
def ImageRecipe(resource_name: str,
args: ImageRecipeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ImageRecipe(resource_name: str,
opts: Optional[ResourceOptions] = None,
components: Optional[Sequence[ImageRecipeComponentConfigurationArgs]] = None,
parent_image: Optional[str] = None,
version: Optional[str] = None,
additional_instance_configuration: Optional[ImageRecipeAdditionalInstanceConfigurationArgs] = None,
block_device_mappings: Optional[Sequence[ImageRecipeInstanceBlockDeviceMappingArgs]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
working_directory: Optional[str] = None)
func NewImageRecipe(ctx *Context, name string, args ImageRecipeArgs, opts ...ResourceOption) (*ImageRecipe, error)
public ImageRecipe(string name, ImageRecipeArgs args, CustomResourceOptions? opts = null)
public ImageRecipe(String name, ImageRecipeArgs args)
public ImageRecipe(String name, ImageRecipeArgs args, CustomResourceOptions options)
type: aws-native:imagebuilder:ImageRecipe
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 ImageRecipeArgs
- 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 ImageRecipeArgs
- 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 ImageRecipeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImageRecipeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImageRecipeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ImageRecipe 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 ImageRecipe resource accepts the following input properties:
- Components
List<Pulumi.
Aws Native. Image Builder. Inputs. Image Recipe Component Configuration> - The components of the image recipe.
- Parent
Image string - The parent image of the image recipe.
- Version string
- The version of the image recipe.
- Additional
Instance Pulumi.Configuration Aws Native. Image Builder. Inputs. Image Recipe Additional Instance Configuration - Specify additional settings and launch scripts for your build instances.
- Block
Device List<Pulumi.Mappings Aws Native. Image Builder. Inputs. Image Recipe Instance Block Device Mapping> - The block device mappings to apply when creating images from this recipe.
- Description string
- The description of the image recipe.
- Name string
- The name of the image recipe.
- Dictionary<string, string>
- The tags of the image recipe.
- Working
Directory string - The working directory to be used during build and test workflows.
- Components
[]Image
Recipe Component Configuration Args - The components of the image recipe.
- Parent
Image string - The parent image of the image recipe.
- Version string
- The version of the image recipe.
- Additional
Instance ImageConfiguration Recipe Additional Instance Configuration Args - Specify additional settings and launch scripts for your build instances.
- Block
Device []ImageMappings Recipe Instance Block Device Mapping Args - The block device mappings to apply when creating images from this recipe.
- Description string
- The description of the image recipe.
- Name string
- The name of the image recipe.
- map[string]string
- The tags of the image recipe.
- Working
Directory string - The working directory to be used during build and test workflows.
- components
List<Image
Recipe Component Configuration> - The components of the image recipe.
- parent
Image String - The parent image of the image recipe.
- version String
- The version of the image recipe.
- additional
Instance ImageConfiguration Recipe Additional Instance Configuration - Specify additional settings and launch scripts for your build instances.
- block
Device List<ImageMappings Recipe Instance Block Device Mapping> - The block device mappings to apply when creating images from this recipe.
- description String
- The description of the image recipe.
- name String
- The name of the image recipe.
- Map<String,String>
- The tags of the image recipe.
- working
Directory String - The working directory to be used during build and test workflows.
- components
Image
Recipe Component Configuration[] - The components of the image recipe.
- parent
Image string - The parent image of the image recipe.
- version string
- The version of the image recipe.
- additional
Instance ImageConfiguration Recipe Additional Instance Configuration - Specify additional settings and launch scripts for your build instances.
- block
Device ImageMappings Recipe Instance Block Device Mapping[] - The block device mappings to apply when creating images from this recipe.
- description string
- The description of the image recipe.
- name string
- The name of the image recipe.
- {[key: string]: string}
- The tags of the image recipe.
- working
Directory string - The working directory to be used during build and test workflows.
- components
Sequence[Image
Recipe Component Configuration Args] - The components of the image recipe.
- parent_
image str - The parent image of the image recipe.
- version str
- The version of the image recipe.
- additional_
instance_ Imageconfiguration Recipe Additional Instance Configuration Args - Specify additional settings and launch scripts for your build instances.
- block_
device_ Sequence[Imagemappings Recipe Instance Block Device Mapping Args] - The block device mappings to apply when creating images from this recipe.
- description str
- The description of the image recipe.
- name str
- The name of the image recipe.
- Mapping[str, str]
- The tags of the image recipe.
- working_
directory str - The working directory to be used during build and test workflows.
- components List<Property Map>
- The components of the image recipe.
- parent
Image String - The parent image of the image recipe.
- version String
- The version of the image recipe.
- additional
Instance Property MapConfiguration - Specify additional settings and launch scripts for your build instances.
- block
Device List<Property Map>Mappings - The block device mappings to apply when creating images from this recipe.
- description String
- The description of the image recipe.
- name String
- The name of the image recipe.
- Map<String>
- The tags of the image recipe.
- working
Directory String - The working directory to be used during build and test workflows.
Outputs
All input properties are implicitly available as output properties. Additionally, the ImageRecipe resource produces the following output properties:
Supporting Types
ImageRecipeAdditionalInstanceConfiguration, ImageRecipeAdditionalInstanceConfigurationArgs
- Systems
Manager Pulumi.Agent Aws Native. Image Builder. Inputs. Image Recipe Systems Manager Agent - Contains settings for the SSM agent on your build instance.
- User
Data stringOverride - Use this property to provide commands or a command script to run when you launch your build instance.
- Systems
Manager ImageAgent Recipe Systems Manager Agent - Contains settings for the SSM agent on your build instance.
- User
Data stringOverride - Use this property to provide commands or a command script to run when you launch your build instance.
- systems
Manager ImageAgent Recipe Systems Manager Agent - Contains settings for the SSM agent on your build instance.
- user
Data StringOverride - Use this property to provide commands or a command script to run when you launch your build instance.
- systems
Manager ImageAgent Recipe Systems Manager Agent - Contains settings for the SSM agent on your build instance.
- user
Data stringOverride - Use this property to provide commands or a command script to run when you launch your build instance.
- systems_
manager_ Imageagent Recipe Systems Manager Agent - Contains settings for the SSM agent on your build instance.
- user_
data_ stroverride - Use this property to provide commands or a command script to run when you launch your build instance.
- systems
Manager Property MapAgent - Contains settings for the SSM agent on your build instance.
- user
Data StringOverride - Use this property to provide commands or a command script to run when you launch your build instance.
ImageRecipeComponentConfiguration, ImageRecipeComponentConfigurationArgs
- Component
Arn string - The Amazon Resource Name (ARN) of the component.
- Parameters
List<Pulumi.
Aws Native. Image Builder. Inputs. Image Recipe Component Parameter> - A group of parameter settings that are used to configure the component for a specific recipe.
- Component
Arn string - The Amazon Resource Name (ARN) of the component.
- Parameters
[]Image
Recipe Component Parameter - A group of parameter settings that are used to configure the component for a specific recipe.
- component
Arn String - The Amazon Resource Name (ARN) of the component.
- parameters
List<Image
Recipe Component Parameter> - A group of parameter settings that are used to configure the component for a specific recipe.
- component
Arn string - The Amazon Resource Name (ARN) of the component.
- parameters
Image
Recipe Component Parameter[] - A group of parameter settings that are used to configure the component for a specific recipe.
- component_
arn str - The Amazon Resource Name (ARN) of the component.
- parameters
Sequence[Image
Recipe Component Parameter] - A group of parameter settings that are used to configure the component for a specific recipe.
- component
Arn String - The Amazon Resource Name (ARN) of the component.
- parameters List<Property Map>
- A group of parameter settings that are used to configure the component for a specific recipe.
ImageRecipeComponentParameter, ImageRecipeComponentParameterArgs
ImageRecipeEbsInstanceBlockDeviceSpecification, ImageRecipeEbsInstanceBlockDeviceSpecificationArgs
- Delete
On boolTermination - Use to configure delete on termination of the associated device.
- Encrypted bool
- Use to configure device encryption.
- Iops int
- Use to configure device IOPS.
- Kms
Key stringId - Use to configure the KMS key to use when encrypting the device.
- Snapshot
Id string - The snapshot that defines the device contents.
- Throughput int
- For GP3 volumes only - The throughput in MiB/s that the volume supports.
- Volume
Size int - Use to override the device's volume size.
- Volume
Type Pulumi.Aws Native. Image Builder. Image Recipe Ebs Instance Block Device Specification Volume Type - Use to override the device's volume type.
- Delete
On boolTermination - Use to configure delete on termination of the associated device.
- Encrypted bool
- Use to configure device encryption.
- Iops int
- Use to configure device IOPS.
- Kms
Key stringId - Use to configure the KMS key to use when encrypting the device.
- Snapshot
Id string - The snapshot that defines the device contents.
- Throughput int
- For GP3 volumes only - The throughput in MiB/s that the volume supports.
- Volume
Size int - Use to override the device's volume size.
- Volume
Type ImageRecipe Ebs Instance Block Device Specification Volume Type - Use to override the device's volume type.
- delete
On BooleanTermination - Use to configure delete on termination of the associated device.
- encrypted Boolean
- Use to configure device encryption.
- iops Integer
- Use to configure device IOPS.
- kms
Key StringId - Use to configure the KMS key to use when encrypting the device.
- snapshot
Id String - The snapshot that defines the device contents.
- throughput Integer
- For GP3 volumes only - The throughput in MiB/s that the volume supports.
- volume
Size Integer - Use to override the device's volume size.
- volume
Type ImageRecipe Ebs Instance Block Device Specification Volume Type - Use to override the device's volume type.
- delete
On booleanTermination - Use to configure delete on termination of the associated device.
- encrypted boolean
- Use to configure device encryption.
- iops number
- Use to configure device IOPS.
- kms
Key stringId - Use to configure the KMS key to use when encrypting the device.
- snapshot
Id string - The snapshot that defines the device contents.
- throughput number
- For GP3 volumes only - The throughput in MiB/s that the volume supports.
- volume
Size number - Use to override the device's volume size.
- volume
Type ImageRecipe Ebs Instance Block Device Specification Volume Type - Use to override the device's volume type.
- delete_
on_ booltermination - Use to configure delete on termination of the associated device.
- encrypted bool
- Use to configure device encryption.
- iops int
- Use to configure device IOPS.
- kms_
key_ strid - Use to configure the KMS key to use when encrypting the device.
- snapshot_
id str - The snapshot that defines the device contents.
- throughput int
- For GP3 volumes only - The throughput in MiB/s that the volume supports.
- volume_
size int - Use to override the device's volume size.
- volume_
type ImageRecipe Ebs Instance Block Device Specification Volume Type - Use to override the device's volume type.
- delete
On BooleanTermination - Use to configure delete on termination of the associated device.
- encrypted Boolean
- Use to configure device encryption.
- iops Number
- Use to configure device IOPS.
- kms
Key StringId - Use to configure the KMS key to use when encrypting the device.
- snapshot
Id String - The snapshot that defines the device contents.
- throughput Number
- For GP3 volumes only - The throughput in MiB/s that the volume supports.
- volume
Size Number - Use to override the device's volume size.
- volume
Type "standard" | "io1" | "io2" | "gp2" | "gp3" | "sc1" | "st1" - Use to override the device's volume type.
ImageRecipeEbsInstanceBlockDeviceSpecificationVolumeType, ImageRecipeEbsInstanceBlockDeviceSpecificationVolumeTypeArgs
- Standard
- standard
- Io1
- io1
- Io2
- io2
- Gp2
- gp2
- Gp3
- gp3
- Sc1
- sc1
- St1
- st1
- Image
Recipe Ebs Instance Block Device Specification Volume Type Standard - standard
- Image
Recipe Ebs Instance Block Device Specification Volume Type Io1 - io1
- Image
Recipe Ebs Instance Block Device Specification Volume Type Io2 - io2
- Image
Recipe Ebs Instance Block Device Specification Volume Type Gp2 - gp2
- Image
Recipe Ebs Instance Block Device Specification Volume Type Gp3 - gp3
- Image
Recipe Ebs Instance Block Device Specification Volume Type Sc1 - sc1
- Image
Recipe Ebs Instance Block Device Specification Volume Type St1 - st1
- Standard
- standard
- Io1
- io1
- Io2
- io2
- Gp2
- gp2
- Gp3
- gp3
- Sc1
- sc1
- St1
- st1
- Standard
- standard
- Io1
- io1
- Io2
- io2
- Gp2
- gp2
- Gp3
- gp3
- Sc1
- sc1
- St1
- st1
- STANDARD
- standard
- IO1
- io1
- IO2
- io2
- GP2
- gp2
- GP3
- gp3
- SC1
- sc1
- ST1
- st1
- "standard"
- standard
- "io1"
- io1
- "io2"
- io2
- "gp2"
- gp2
- "gp3"
- gp3
- "sc1"
- sc1
- "st1"
- st1
ImageRecipeInstanceBlockDeviceMapping, ImageRecipeInstanceBlockDeviceMappingArgs
- Device
Name string - The device to which these mappings apply.
- Ebs
Pulumi.
Aws Native. Image Builder. Inputs. Image Recipe Ebs Instance Block Device Specification - Use to manage Amazon EBS-specific configuration for this mapping.
- No
Device string - Use to remove a mapping from the parent image.
- Virtual
Name string - Use to manage instance ephemeral devices.
- Device
Name string - The device to which these mappings apply.
- Ebs
Image
Recipe Ebs Instance Block Device Specification - Use to manage Amazon EBS-specific configuration for this mapping.
- No
Device string - Use to remove a mapping from the parent image.
- Virtual
Name string - Use to manage instance ephemeral devices.
- device
Name String - The device to which these mappings apply.
- ebs
Image
Recipe Ebs Instance Block Device Specification - Use to manage Amazon EBS-specific configuration for this mapping.
- no
Device String - Use to remove a mapping from the parent image.
- virtual
Name String - Use to manage instance ephemeral devices.
- device
Name string - The device to which these mappings apply.
- ebs
Image
Recipe Ebs Instance Block Device Specification - Use to manage Amazon EBS-specific configuration for this mapping.
- no
Device string - Use to remove a mapping from the parent image.
- virtual
Name string - Use to manage instance ephemeral devices.
- device_
name str - The device to which these mappings apply.
- ebs
Image
Recipe Ebs Instance Block Device Specification - Use to manage Amazon EBS-specific configuration for this mapping.
- no_
device str - Use to remove a mapping from the parent image.
- virtual_
name str - Use to manage instance ephemeral devices.
- device
Name String - The device to which these mappings apply.
- ebs Property Map
- Use to manage Amazon EBS-specific configuration for this mapping.
- no
Device String - Use to remove a mapping from the parent image.
- virtual
Name String - Use to manage instance ephemeral devices.
ImageRecipeSystemsManagerAgent, ImageRecipeSystemsManagerAgentArgs
- Uninstall
After boolBuild - Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
- Uninstall
After boolBuild - Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
- uninstall
After BooleanBuild - Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
- uninstall
After booleanBuild - Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
- uninstall_
after_ boolbuild - Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
- uninstall
After BooleanBuild - Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi