@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)
28 lines (27 loc) • 1.1 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The ``AWS::ApiGateway::UsagePlanKey`` resource associates an API key with a usage plan. This association determines which users the usage plan is applied to.
*/
export declare function getUsagePlanKey(args: GetUsagePlanKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetUsagePlanKeyResult>;
export interface GetUsagePlanKeyArgs {
/**
* The ID for the usage plan key. For example: `abc123` .
*/
id: string;
}
export interface GetUsagePlanKeyResult {
/**
* The ID for the usage plan key. For example: `abc123` .
*/
readonly id?: string;
}
/**
* The ``AWS::ApiGateway::UsagePlanKey`` resource associates an API key with a usage plan. This association determines which users the usage plan is applied to.
*/
export declare function getUsagePlanKeyOutput(args: GetUsagePlanKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUsagePlanKeyResult>;
export interface GetUsagePlanKeyOutputArgs {
/**
* The ID for the usage plan key. For example: `abc123` .
*/
id: pulumi.Input<string>;
}