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 EkmConnection in a given Project and Location. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class EkmConnection extends pulumi.CustomResource { /** * Get an existing EkmConnection 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): EkmConnection; /** * Returns true if the given object is an instance of EkmConnection. 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 EkmConnection; /** * The time at which the EkmConnection was created. */ readonly createTime: pulumi.Output; /** * Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS. */ readonly cryptoSpacePath: pulumi.Output; /** * Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. */ readonly ekmConnectionId: pulumi.Output; /** * Optional. Etag of the currently stored EkmConnection. */ readonly etag: pulumi.Output; /** * Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL. */ readonly keyManagementMode: pulumi.Output; readonly location: pulumi.Output; /** * The resource name for the EkmConnection in the format `projects/*/locations/*/ekmConnections/*`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported. */ readonly serviceResolvers: pulumi.Output; /** * Create a EkmConnection 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?: EkmConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a EkmConnection resource. */ export interface EkmConnectionArgs { /** * Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS. */ cryptoSpacePath?: pulumi.Input; /** * Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. */ ekmConnectionId?: pulumi.Input; /** * Optional. Etag of the currently stored EkmConnection. */ etag?: pulumi.Input; /** * Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL. */ keyManagementMode?: pulumi.Input; location?: pulumi.Input; project?: pulumi.Input; /** * A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported. */ serviceResolvers?: pulumi.Input[]>; }