@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
59 lines (58 loc) • 1.66 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource schema for AWS::ImageBuilder::Image
*/
export declare function getImage(args: GetImageArgs, opts?: pulumi.InvokeOptions): Promise<GetImageResult>;
export interface GetImageArgs {
/**
* The Amazon Resource Name (ARN) of the image.
*/
arn: string;
}
export interface GetImageResult {
/**
* The Amazon Resource Name (ARN) of the image.
*/
readonly arn?: string;
/**
* The execution role name/ARN for the image build, if provided
*/
readonly executionRole?: string;
/**
* The AMI ID of the EC2 AMI in current region.
*/
readonly imageId?: string;
/**
* URI for containers created in current Region with default ECR image tag
*/
readonly imageUri?: string;
/**
* The latest version references of the image.
*/
readonly latestVersion?: outputs.imagebuilder.ImageLatestVersion;
/**
* The logging configuration settings for the image.
*/
readonly loggingConfiguration?: outputs.imagebuilder.ImageLoggingConfiguration;
/**
* The name of the image.
*/
readonly name?: string;
/**
* The tags associated with the image.
*/
readonly tags?: {
[key: string]: string;
};
}
/**
* Resource schema for AWS::ImageBuilder::Image
*/
export declare function getImageOutput(args: GetImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImageResult>;
export interface GetImageOutputArgs {
/**
* The Amazon Resource Name (ARN) of the image.
*/
arn: pulumi.Input<string>;
}