Struct aws_sdk_imagebuilder::types::ImageRecipe
source · #[non_exhaustive]pub struct ImageRecipe { /* private fields */ }
Expand description
An image recipe.
Implementations§
source§impl ImageRecipe
impl ImageRecipe
sourcepub fn type(&self) -> Option<&ImageType>
pub fn type(&self) -> Option<&ImageType>
Specifies which type of image is created by the recipe - an AMI or a container image.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the image recipe.
sourcepub fn components(&self) -> Option<&[ComponentConfiguration]>
pub fn components(&self) -> Option<&[ComponentConfiguration]>
The components that are included in the image recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
sourcepub fn parent_image(&self) -> Option<&str>
pub fn parent_image(&self) -> Option<&str>
The base image of the image recipe.
sourcepub fn block_device_mappings(&self) -> Option<&[InstanceBlockDeviceMapping]>
pub fn block_device_mappings(&self) -> Option<&[InstanceBlockDeviceMapping]>
The block device mappings to apply when creating images from this recipe.
sourcepub fn date_created(&self) -> Option<&str>
pub fn date_created(&self) -> Option<&str>
The date on which this image recipe was created.
The tags of the image recipe.
sourcepub fn working_directory(&self) -> Option<&str>
pub fn working_directory(&self) -> Option<&str>
The working directory to be used during build and test workflows.
sourcepub fn additional_instance_configuration(
&self
) -> Option<&AdditionalInstanceConfiguration>
pub fn additional_instance_configuration( &self ) -> Option<&AdditionalInstanceConfiguration>
Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.
source§impl ImageRecipe
impl ImageRecipe
sourcepub fn builder() -> ImageRecipeBuilder
pub fn builder() -> ImageRecipeBuilder
Creates a new builder-style object to manufacture ImageRecipe
.
Trait Implementations§
source§impl Clone for ImageRecipe
impl Clone for ImageRecipe
source§fn clone(&self) -> ImageRecipe
fn clone(&self) -> ImageRecipe
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageRecipe
impl Debug for ImageRecipe
source§impl PartialEq<ImageRecipe> for ImageRecipe
impl PartialEq<ImageRecipe> for ImageRecipe
source§fn eq(&self, other: &ImageRecipe) -> bool
fn eq(&self, other: &ImageRecipe) -> bool
self
and other
values to be equal, and is used
by ==
.