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
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 dictionaryThe 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.
- Execution
Role string - The execution role name/ARN for the image build, if provided
- Image
Id string - The AMI ID of the EC2 AMI in current region.
- Image
Uri string - URI for containers created in current Region with default ECR image tag
- Latest
Version Pulumi.Aws Native. Image Builder. Outputs. Image Latest Version - The latest version references of the image.
- Logging
Configuration Pulumi.Aws Native. Image Builder. Outputs. Image Logging Configuration - The logging configuration settings for the image.
- Name string
- The name of the image.
- Dictionary<string, string>
- The tags associated with the image.
- Arn string
- The Amazon Resource Name (ARN) of the image.
- Execution
Role string - The execution role name/ARN for the image build, if provided
- Image
Id string - The AMI ID of the EC2 AMI in current region.
- Image
Uri string - URI for containers created in current Region with default ECR image tag
- Latest
Version ImageLatest Version - The latest version references of the image.
- Logging
Configuration ImageLogging Configuration - The logging configuration settings for the image.
- Name string
- The name of the image.
- map[string]string
- The tags associated with the image.
- arn String
- The Amazon Resource Name (ARN) of the image.
- execution
Role String - The execution role name/ARN for the image build, if provided
- image
Id String - The AMI ID of the EC2 AMI in current region.
- image
Uri String - URI for containers created in current Region with default ECR image tag
- latest
Version ImageLatest Version - The latest version references of the image.
- logging
Configuration ImageLogging Configuration - The logging configuration settings for the image.
- name String
- The name of the image.
- Map<String,String>
- The tags associated with the image.
- arn string
- The Amazon Resource Name (ARN) of the image.
- execution
Role string - The execution role name/ARN for the image build, if provided
- image
Id string - The AMI ID of the EC2 AMI in current region.
- image
Uri string - URI for containers created in current Region with default ECR image tag
- latest
Version ImageLatest Version - The latest version references of the image.
- logging
Configuration ImageLogging Configuration - The logging configuration settings for the image.
- name string
- The name of the image.
- {[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 ImageLatest Version - The latest version references of the image.
- logging_
configuration ImageLogging Configuration - The logging configuration settings for the image.
- name str
- The name of the image.
- Mapping[str, str]
- The tags associated with the image.
- arn String
- The Amazon Resource Name (ARN) of the image.
- execution
Role String - The execution role name/ARN for the image build, if provided
- image
Id String - The AMI ID of the EC2 AMI in current region.
- image
Uri String - URI for containers created in current Region with default ECR image tag
- latest
Version Property Map - The latest version references of the image.
- logging
Configuration Property Map - The logging configuration settings for the image.
- name String
- The name of the image.
- 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 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
- Log
Group stringName - The name of the log group for image build logs.
- Log
Group stringName - The name of the log group for image build logs.
- log
Group StringName - The name of the log group for image build logs.
- log
Group stringName - The name of the log group for image build logs.
- log_
group_ strname - The name of the log group for image build logs.
- log
Group StringName - The name of the log group for image build logs.
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.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
