1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. imagebuilder
  5. getImage

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi

aws-native.imagebuilder.getImage

Get Started
aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi

    Resource schema for AWS::ImageBuilder::Image

    Using getImage

    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 getImage(args: GetImageArgs, opts?: InvokeOptions): Promise<GetImageResult>
    function getImageOutput(args: GetImageOutputArgs, opts?: InvokeOptions): Output<GetImageResult>
    def get_image(arn: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetImageResult
    def get_image_output(arn: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetImageResult]
    func LookupImage(ctx *Context, args *LookupImageArgs, opts ...InvokeOption) (*LookupImageResult, error)
    func LookupImageOutput(ctx *Context, args *LookupImageOutputArgs, opts ...InvokeOption) LookupImageResultOutput

    > Note: This function is named LookupImage in the Go SDK.

    public static class GetImage 
    {
        public static Task<GetImageResult> InvokeAsync(GetImageArgs args, InvokeOptions? opts = null)
        public static Output<GetImageResult> Invoke(GetImageInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
    public static Output<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:imagebuilder:getImage
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the image.
    Arn string
    The Amazon Resource Name (ARN) of the image.
    arn String
    The Amazon Resource Name (ARN) of the image.
    arn string
    The Amazon Resource Name (ARN) of the image.
    arn str
    The Amazon Resource Name (ARN) of the image.
    arn String
    The Amazon Resource Name (ARN) of the image.

    getImage Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the image.
    ExecutionRole string
    The execution role name/ARN for the image build, if provided
    ImageId string
    The AMI ID of the EC2 AMI in current region.
    ImageUri string
    URI for containers created in current Region with default ECR image tag
    LatestVersion Pulumi.AwsNative.ImageBuilder.Outputs.ImageLatestVersion
    The latest version references of the image.
    LoggingConfiguration Pulumi.AwsNative.ImageBuilder.Outputs.ImageLoggingConfiguration
    The logging configuration settings for the image.
    Name string
    The name of the image.
    Tags Dictionary<string, string>
    The tags associated with the image.
    Arn string
    The Amazon Resource Name (ARN) of the image.
    ExecutionRole string
    The execution role name/ARN for the image build, if provided
    ImageId string
    The AMI ID of the EC2 AMI in current region.
    ImageUri string
    URI for containers created in current Region with default ECR image tag
    LatestVersion ImageLatestVersion
    The latest version references of the image.
    LoggingConfiguration ImageLoggingConfiguration
    The logging configuration settings for the image.
    Name string
    The name of the image.
    Tags map[string]string
    The tags associated with the image.
    arn String
    The Amazon Resource Name (ARN) of the image.
    executionRole String
    The execution role name/ARN for the image build, if provided
    imageId String
    The AMI ID of the EC2 AMI in current region.
    imageUri String
    URI for containers created in current Region with default ECR image tag
    latestVersion ImageLatestVersion
    The latest version references of the image.
    loggingConfiguration ImageLoggingConfiguration
    The logging configuration settings for the image.
    name String
    The name of the image.
    tags Map<String,String>
    The tags associated with the image.
    arn string
    The Amazon Resource Name (ARN) of the image.
    executionRole string
    The execution role name/ARN for the image build, if provided
    imageId string
    The AMI ID of the EC2 AMI in current region.
    imageUri string
    URI for containers created in current Region with default ECR image tag
    latestVersion ImageLatestVersion
    The latest version references of the image.
    loggingConfiguration ImageLoggingConfiguration
    The logging configuration settings for the image.
    name string
    The name of the image.
    tags {[key: string]: string}
    The tags associated with the image.
    arn str
    The Amazon Resource Name (ARN) of the image.
    execution_role str
    The execution role name/ARN for the image build, if provided
    image_id str
    The AMI ID of the EC2 AMI in current region.
    image_uri str
    URI for containers created in current Region with default ECR image tag
    latest_version ImageLatestVersion
    The latest version references of the image.
    logging_configuration ImageLoggingConfiguration
    The logging configuration settings for the image.
    name str
    The name of the image.
    tags Mapping[str, str]
    The tags associated with the image.
    arn String
    The Amazon Resource Name (ARN) of the image.
    executionRole String
    The execution role name/ARN for the image build, if provided
    imageId String
    The AMI ID of the EC2 AMI in current region.
    imageUri String
    URI for containers created in current Region with default ECR image tag
    latestVersion Property Map
    The latest version references of the image.
    loggingConfiguration Property Map
    The logging configuration settings for the image.
    name String
    The name of the image.
    tags Map<String>
    The tags associated with the image.

    Supporting Types

    ImageLatestVersion

    Arn string
    The latest version ARN of the created image.
    Major string
    The latest version ARN of the created image, with the same major version.
    Minor string
    The latest version ARN of the created image, with the same minor version.
    Patch string
    The latest version ARN of the created image, with the same patch version.
    Arn string
    The latest version ARN of the created image.
    Major string
    The latest version ARN of the created image, with the same major version.
    Minor string
    The latest version ARN of the created image, with the same minor version.
    Patch string
    The latest version ARN of the created image, with the same patch version.
    arn String
    The latest version ARN of the created image.
    major String
    The latest version ARN of the created image, with the same major version.
    minor String
    The latest version ARN of the created image, with the same minor version.
    patch String
    The latest version ARN of the created image, with the same patch version.
    arn string
    The latest version ARN of the created image.
    major string
    The latest version ARN of the created image, with the same major version.
    minor string
    The latest version ARN of the created image, with the same minor version.
    patch string
    The latest version ARN of the created image, with the same patch version.
    arn str
    The latest version ARN of the created image.
    major str
    The latest version ARN of the created image, with the same major version.
    minor str
    The latest version ARN of the created image, with the same minor version.
    patch str
    The latest version ARN of the created image, with the same patch version.
    arn String
    The latest version ARN of the created image.
    major String
    The latest version ARN of the created image, with the same major version.
    minor String
    The latest version ARN of the created image, with the same minor version.
    patch String
    The latest version ARN of the created image, with the same patch version.

    ImageLoggingConfiguration

    LogGroupName string
    The name of the log group for image build logs.
    LogGroupName string
    The name of the log group for image build logs.
    logGroupName String
    The name of the log group for image build logs.
    logGroupName string
    The name of the log group for image build logs.
    log_group_name str
    The name of the log group for image build logs.
    logGroupName String
    The name of the log group for image build logs.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate