Struct aws_sdk_imagebuilder::model::image_recipe::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }Expand description
A builder for ImageRecipe
Implementations
The Amazon Resource Name (ARN) of the image recipe.
The Amazon Resource Name (ARN) of the image recipe.
Specifies which type of image is created by the recipe - an AMI or a container image.
Specifies which type of image is created by the recipe - an AMI or a container image.
The description of the image recipe.
The description of the image recipe.
The platform of the image recipe.
The version of the image recipe.
Appends an item to components.
To override the contents of this collection use set_components.
The components of the image recipe.
The components of the image recipe.
The base image of the image recipe.
The base image of the image recipe.
Appends an item to block_device_mappings.
To override the contents of this collection use set_block_device_mappings.
The block device mappings to apply when creating images from this recipe.
pub fn set_block_device_mappings(
self,
input: Option<Vec<InstanceBlockDeviceMapping>>
) -> Self
pub fn set_block_device_mappings(
self,
input: Option<Vec<InstanceBlockDeviceMapping>>
) -> Self
The block device mappings to apply when creating images from this recipe.
The date on which this image recipe was created.
The date on which this image recipe was created.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags of the image recipe.
The tags of the image recipe.
The working directory to be used during build and test workflows.
The working directory to be used during build and test workflows.
pub fn additional_instance_configuration(
self,
input: AdditionalInstanceConfiguration
) -> Self
pub fn additional_instance_configuration(
self,
input: AdditionalInstanceConfiguration
) -> Self
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.
pub fn set_additional_instance_configuration(
self,
input: Option<AdditionalInstanceConfiguration>
) -> Self
pub fn set_additional_instance_configuration(
self,
input: Option<AdditionalInstanceConfiguration>
) -> Self
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.
Consumes the builder and constructs a ImageRecipe
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more