We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.imagebuilder.getImageRecipe
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Resource schema for AWS::ImageBuilder::ImageRecipe
Using getImageRecipe
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getImageRecipe(args: GetImageRecipeArgs, opts?: InvokeOptions): Promise<GetImageRecipeResult>
function getImageRecipeOutput(args: GetImageRecipeOutputArgs, opts?: InvokeOptions): Output<GetImageRecipeResult>def get_image_recipe(arn: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetImageRecipeResult
def get_image_recipe_output(arn: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetImageRecipeResult]func LookupImageRecipe(ctx *Context, args *LookupImageRecipeArgs, opts ...InvokeOption) (*LookupImageRecipeResult, error)
func LookupImageRecipeOutput(ctx *Context, args *LookupImageRecipeOutputArgs, opts ...InvokeOption) LookupImageRecipeResultOutput> Note: This function is named LookupImageRecipe in the Go SDK.
public static class GetImageRecipe 
{
    public static Task<GetImageRecipeResult> InvokeAsync(GetImageRecipeArgs args, InvokeOptions? opts = null)
    public static Output<GetImageRecipeResult> Invoke(GetImageRecipeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetImageRecipeResult> getImageRecipe(GetImageRecipeArgs args, InvokeOptions options)
public static Output<GetImageRecipeResult> getImageRecipe(GetImageRecipeArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:imagebuilder:getImageRecipe
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the image recipe.
- Arn string
- The Amazon Resource Name (ARN) of the image recipe.
- arn String
- The Amazon Resource Name (ARN) of the image recipe.
- arn string
- The Amazon Resource Name (ARN) of the image recipe.
- arn str
- The Amazon Resource Name (ARN) of the image recipe.
- arn String
- The Amazon Resource Name (ARN) of the image recipe.
getImageRecipe Result
The following output properties are available:
- AdditionalInstance Pulumi.Configuration Aws Native. Image Builder. Outputs. Image Recipe Additional Instance Configuration 
- Specify additional settings and launch scripts for your build instances.
- Arn string
- The Amazon Resource Name (ARN) of the image recipe.
- AdditionalInstance ImageConfiguration Recipe Additional Instance Configuration 
- Specify additional settings and launch scripts for your build instances.
- Arn string
- The Amazon Resource Name (ARN) of the image recipe.
- additionalInstance ImageConfiguration Recipe Additional Instance Configuration 
- Specify additional settings and launch scripts for your build instances.
- arn String
- The Amazon Resource Name (ARN) of the image recipe.
- additionalInstance ImageConfiguration Recipe Additional Instance Configuration 
- Specify additional settings and launch scripts for your build instances.
- arn string
- The Amazon Resource Name (ARN) of the image recipe.
- additional_instance_ Imageconfiguration Recipe Additional Instance Configuration 
- Specify additional settings and launch scripts for your build instances.
- arn str
- The Amazon Resource Name (ARN) of the image recipe.
- additionalInstance Property MapConfiguration 
- Specify additional settings and launch scripts for your build instances.
- arn String
- The Amazon Resource Name (ARN) of the image recipe.
Supporting Types
ImageRecipeAdditionalInstanceConfiguration    
- SystemsManager Pulumi.Agent Aws Native. Image Builder. Inputs. Image Recipe Systems Manager Agent 
- Contains settings for the SSM agent on your build instance.
- UserData stringOverride 
- Use this property to provide commands or a command script to run when you launch your build instance.
- SystemsManager ImageAgent Recipe Systems Manager Agent 
- Contains settings for the SSM agent on your build instance.
- UserData stringOverride 
- Use this property to provide commands or a command script to run when you launch your build instance.
- systemsManager ImageAgent Recipe Systems Manager Agent 
- Contains settings for the SSM agent on your build instance.
- userData StringOverride 
- Use this property to provide commands or a command script to run when you launch your build instance.
- systemsManager ImageAgent Recipe Systems Manager Agent 
- Contains settings for the SSM agent on your build instance.
- userData stringOverride 
- Use this property to provide commands or a command script to run when you launch your build instance.
- systems_manager_ Imageagent Recipe Systems Manager Agent 
- Contains settings for the SSM agent on your build instance.
- user_data_ stroverride 
- Use this property to provide commands or a command script to run when you launch your build instance.
- systemsManager Property MapAgent 
- Contains settings for the SSM agent on your build instance.
- userData StringOverride 
- Use this property to provide commands or a command script to run when you launch your build instance.
ImageRecipeSystemsManagerAgent    
- UninstallAfter boolBuild 
- Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
- UninstallAfter boolBuild 
- Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
- uninstallAfter BooleanBuild 
- Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
- uninstallAfter booleanBuild 
- Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
- uninstall_after_ boolbuild 
- Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
- uninstallAfter BooleanBuild 
- Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi