import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a new WorkforcePoolProviderKey in a WorkforcePoolProvider. * Auto-naming is currently not supported for this resource. */ export declare class WorkforcePoolKey extends pulumi.CustomResource { /** * Get an existing WorkforcePoolKey resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WorkforcePoolKey; /** * Returns true if the given object is an instance of WorkforcePoolKey. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is WorkforcePoolKey; /** * The time after which the key will be permanently deleted and cannot be recovered. Note that the key may get purged before this time if the total limit of keys per provider is exceeded. */ readonly expireTime: pulumi.Output; /** * Immutable. Public half of the asymmetric key. */ readonly keyData: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the key. */ readonly name: pulumi.Output; readonly providerId: pulumi.Output; /** * The state of the key. */ readonly state: pulumi.Output; /** * The purpose of the key. */ readonly use: pulumi.Output; readonly workforcePoolId: pulumi.Output; /** * Required. The ID to use for the key, which becomes the final component of the resource name. This value must be 4-32 characters, and may contain the characters [a-z0-9-]. */ readonly workforcePoolProviderKeyId: pulumi.Output; /** * Create a WorkforcePoolKey resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WorkforcePoolKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a WorkforcePoolKey resource. */ export interface WorkforcePoolKeyArgs { /** * Immutable. Public half of the asymmetric key. */ keyData?: pulumi.Input; location?: pulumi.Input; providerId: pulumi.Input; /** * The purpose of the key. */ use: pulumi.Input; workforcePoolId: pulumi.Input; /** * Required. The ID to use for the key, which becomes the final component of the resource name. This value must be 4-32 characters, and may contain the characters [a-z0-9-]. */ workforcePoolProviderKeyId: pulumi.Input; }