@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)
32 lines (31 loc) • 846 B
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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 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>;
}