@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)
37 lines (36 loc) • 1.11 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::Lambda::Version
*/
export declare function getVersion(args: GetVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetVersionResult>;
export interface GetVersionArgs {
/**
* The ARN of the version.
*/
functionArn: string;
}
export interface GetVersionResult {
/**
* The ARN of the version.
*/
readonly functionArn?: string;
/**
* The scaling configuration to apply to the function, including minimum and maximum execution environment limits.
*/
readonly functionScalingConfig?: outputs.lambda.VersionFunctionScalingConfig;
/**
* The version number.
*/
readonly version?: string;
}
/**
* Resource Type definition for AWS::Lambda::Version
*/
export declare function getVersionOutput(args: GetVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVersionResult>;
export interface GetVersionOutputArgs {
/**
* The ARN of the version.
*/
functionArn: pulumi.Input<string>;
}