pub struct CreateImageRecipeRequest {
pub block_device_mappings: Option<Vec<InstanceBlockDeviceMapping>>,
pub client_token: String,
pub components: Vec<ComponentConfiguration>,
pub description: Option<String>,
pub name: String,
pub parent_image: String,
pub semantic_version: String,
pub tags: Option<HashMap<String, String>>,
pub working_directory: Option<String>,
}
Fields§
§block_device_mappings: Option<Vec<InstanceBlockDeviceMapping>>
The block device mappings of the image recipe.
client_token: String
The idempotency token used to make this request idempotent.
components: Vec<ComponentConfiguration>
The components of the image recipe.
description: Option<String>
The description of the image recipe.
name: String
The name of the image recipe.
parent_image: String
The parent image of the image recipe. The value of the string can be the ARN of the parent image or an AMI ID. The format for the ARN follows this example: arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/2019.x.x
. The ARN ends with /20xx.x.x
, which communicates to EC2 Image Builder that you want to use the latest AMI created in 20xx (year). You can provide the specific version that you want to use, or you can use a wildcard in all of the fields. If you enter an AMI ID for the string value, you must have access to the AMI, and the AMI must be in the same Region in which you are using Image Builder.
semantic_version: String
The semantic version of the image recipe.
The tags of the image recipe.
working_directory: Option<String>
The working directory to be used during build and test workflows.
Trait Implementations§
Source§impl Clone for CreateImageRecipeRequest
impl Clone for CreateImageRecipeRequest
Source§fn clone(&self) -> CreateImageRecipeRequest
fn clone(&self) -> CreateImageRecipeRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more