import * as pulumi from "@pulumi/pulumi"; export declare class KmsKey extends pulumi.CustomResource { /** * Get an existing KmsKey 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: KmsKeyState, opts?: pulumi.CustomResourceOptions): KmsKey; /** * Returns true if the given object is an instance of KmsKey. 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 KmsKey; /** * The creation timestamp of the key. */ readonly createdAt: pulumi.Output; /** * The description of the KMS key. Maximum 500 characters. */ readonly description: pulumi.Output; /** * The encryption algorithm for the key. Options: aes-256-gcm, aes-128-gcm, RSA_4096, ECC_NIST_P256. Defaults to 'aes-256-gcm'. */ readonly encryptionAlgorithm: pulumi.Output; /** * Whether the key is disabled. Defaults to false. */ readonly isDisabled: pulumi.Output; /** * The usage of the key. Options: encrypt-decrypt, sign-verify. Defaults to 'encrypt-decrypt'. */ readonly keyUsage: pulumi.Output; /** * The name of the KMS key. Must be 1-32 characters. */ readonly name: pulumi.Output; /** * The ID of the organization. */ readonly orgId: pulumi.Output; /** * The ID of the project where the KMS key will be created. */ readonly projectId: pulumi.Output; /** * The last update timestamp of the key. */ readonly updatedAt: pulumi.Output; /** * The version of the key. */ readonly version: pulumi.Output; /** * Create a KmsKey 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: KmsKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering KmsKey resources. */ export interface KmsKeyState { /** * The creation timestamp of the key. */ createdAt?: pulumi.Input; /** * The description of the KMS key. Maximum 500 characters. */ description?: pulumi.Input; /** * The encryption algorithm for the key. Options: aes-256-gcm, aes-128-gcm, RSA_4096, ECC_NIST_P256. Defaults to 'aes-256-gcm'. */ encryptionAlgorithm?: pulumi.Input; /** * Whether the key is disabled. Defaults to false. */ isDisabled?: pulumi.Input; /** * The usage of the key. Options: encrypt-decrypt, sign-verify. Defaults to 'encrypt-decrypt'. */ keyUsage?: pulumi.Input; /** * The name of the KMS key. Must be 1-32 characters. */ name?: pulumi.Input; /** * The ID of the organization. */ orgId?: pulumi.Input; /** * The ID of the project where the KMS key will be created. */ projectId?: pulumi.Input; /** * The last update timestamp of the key. */ updatedAt?: pulumi.Input; /** * The version of the key. */ version?: pulumi.Input; } /** * The set of arguments for constructing a KmsKey resource. */ export interface KmsKeyArgs { /** * The description of the KMS key. Maximum 500 characters. */ description?: pulumi.Input; /** * The encryption algorithm for the key. Options: aes-256-gcm, aes-128-gcm, RSA_4096, ECC_NIST_P256. Defaults to 'aes-256-gcm'. */ encryptionAlgorithm?: pulumi.Input; /** * Whether the key is disabled. Defaults to false. */ isDisabled?: pulumi.Input; /** * The usage of the key. Options: encrypt-decrypt, sign-verify. Defaults to 'encrypt-decrypt'. */ keyUsage?: pulumi.Input; /** * The name of the KMS key. Must be 1-32 characters. */ name?: pulumi.Input; /** * The ID of the project where the KMS key will be created. */ projectId: pulumi.Input; } //# sourceMappingURL=kmsKey.d.ts.map