import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides details about an AWS Lambda MicroVMs Image Version. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.lambdamicrovms.getImageVersion({ * imageIdentifier: exampleAwsLambdamicrovmsImage.arn, * imageVersion: exampleAwsLambdamicrovmsImage.imageVersion, * }); * ``` */ export declare function getImageVersion(args: GetImageVersionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getImageVersion. */ export interface GetImageVersionArgs { /** * ARN or ID of the MicroVM image. */ imageIdentifier: string; /** * Version of the MicroVM image. * * The following arguments are optional: */ imageVersion: string; /** * Region where this data source will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; } /** * A collection of values returned by getImageVersion. */ export interface GetImageVersionResult { /** * Additional OS capabilities granted to the MicroVM runtime environment. */ readonly additionalOsCapabilities: string[]; /** * ARN of the base MicroVM image used. */ readonly baseImageArn: string; /** * Version of the base MicroVM image used. */ readonly baseImageVersion: string; /** * ARN of the IAM role used to build the image version. */ readonly buildRoleArn: string; /** * Code artifact for this version. See `codeArtifact` below. */ readonly codeArtifacts: outputs.lambdamicrovms.GetImageVersionCodeArtifact[]; /** * List of supported CPU configurations. See `cpuConfiguration` below. */ readonly cpuConfigurations: outputs.lambdamicrovms.GetImageVersionCpuConfiguration[]; /** * Timestamp when the version was created. */ readonly createdAt: string; /** * Description of the version. */ readonly description: string; /** * List of egress network connectors available to the MicroVM at runtime. */ readonly egressNetworkConnectors: string[]; /** * Environment variables set in the MicroVM runtime environment. */ readonly environmentVariables: { [key: string]: string; }; /** * Lifecycle hook configuration. See `hooks` below. */ readonly hooks: outputs.lambdamicrovms.GetImageVersionHook[]; /** * ARN of the MicroVM image. */ readonly imageArn: string; readonly imageIdentifier: string; readonly imageVersion: string; /** * Logging configuration for this version. See `logging` below. */ readonly loggings: outputs.lambdamicrovms.GetImageVersionLogging[]; readonly region: string; /** * Resource requirements for the MicroVM. See `resources` below. */ readonly resources: outputs.lambdamicrovms.GetImageVersionResource[]; /** * Current state of the version. */ readonly state: string; /** * Reason for the current state. */ readonly stateReason: string; /** * Availability status of the version. `ACTIVE` versions can launch new MicroVMs; `INACTIVE` versions cannot. */ readonly status: string; /** * Map of tags assigned to the version. */ readonly tags: { [key: string]: string; }; /** * Timestamp when the version was last updated. */ readonly updatedAt: string; } /** * Provides details about an AWS Lambda MicroVMs Image Version. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.lambdamicrovms.getImageVersion({ * imageIdentifier: exampleAwsLambdamicrovmsImage.arn, * imageVersion: exampleAwsLambdamicrovmsImage.imageVersion, * }); * ``` */ export declare function getImageVersionOutput(args: GetImageVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getImageVersion. */ export interface GetImageVersionOutputArgs { /** * ARN or ID of the MicroVM image. */ imageIdentifier: pulumi.Input; /** * Version of the MicroVM image. * * The following arguments are optional: */ imageVersion: pulumi.Input; /** * Region where this data source will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; } //# sourceMappingURL=getImageVersion.d.ts.map