Struct aws_sdk_imagebuilder::client::fluent_builders::CreateContainerRecipe [−][src]
pub struct CreateContainerRecipe<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateContainerRecipe
.
Creates a new container recipe. Container recipes define how images are configured, tested, and assessed.
Implementations
impl<C, M, R> CreateContainerRecipe<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateContainerRecipe<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateContainerRecipeOutput, SdkError<CreateContainerRecipeError>> where
R::Policy: SmithyRetryPolicy<CreateContainerRecipeInputOperationOutputAlias, CreateContainerRecipeOutput, CreateContainerRecipeError, CreateContainerRecipeInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateContainerRecipeOutput, SdkError<CreateContainerRecipeError>> where
R::Policy: SmithyRetryPolicy<CreateContainerRecipeInputOperationOutputAlias, CreateContainerRecipeOutput, CreateContainerRecipeError, CreateContainerRecipeInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The type of container to create.
The type of container to create.
The description of the container recipe.
The description of the container recipe.
The semantic version of the container recipe. This version follows the semantic version syntax.
The semantic version has four nodes:
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
The semantic version of the container recipe. This version follows the semantic version syntax.
The semantic version has four nodes:
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
Appends an item to components
.
To override the contents of this collection use set_components
.
Components for build and test that are included in the container recipe.
Components for build and test that are included in the container recipe.
A group of options that can be used to configure an instance for building and testing container images.
A group of options that can be used to configure an instance for building and testing container images.
The Dockerfile template used to build your image as an inline data blob.
The Dockerfile template used to build your image as an inline data blob.
The Amazon S3 URI for the Dockerfile that will be used to build your container image.
The Amazon S3 URI for the Dockerfile that will be used to build your container image.
Specifies the operating system platform when you use a custom base image.
Specifies the operating system platform when you use a custom base image.
Specifies the operating system version for the base image.
Specifies the operating system version for the base image.
The base image for the container recipe.
The base image for the container recipe.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tags that are attached to the container recipe.
Tags that are attached to the container recipe.
The working directory for use during build and test workflows.
The working directory for use during build and test workflows.
The destination repository for the container image.
The destination repository for the container image.
Identifies which KMS key is used to encrypt the container image.
Identifies which KMS key is used to encrypt the container image.
The client token used to make this request idempotent.
The client token used to make this request idempotent.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateContainerRecipe<C, M, R>
impl<C, M, R> Send for CreateContainerRecipe<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateContainerRecipe<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateContainerRecipe<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateContainerRecipe<C, M, R>
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