deleteContainerRecipe
abstract suspend fun deleteContainerRecipe(input: DeleteContainerRecipeRequest): DeleteContainerRecipeResponse
Deletes a container recipe. The request fails with ResourceDependencyException if the recipe is shared with other accounts, or if an image pipeline references it.
Samples
// The following example deletes the specified container recipe.
val resp = imagebuilderClient.deleteContainerRecipe {
containerRecipeArn = "arn:aws:imagebuilder:us-west-2:111122223333:container-recipe/my-example-container-recipe/1.0.0"
}Content copied to clipboard