import * as pulumi from "@pulumi/pulumi"; /** * Cloudflare Access can replace traditional SSH key models with short-lived * certificates issued to your users based on the token generated by their Access * login. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * // account level * const example = new cloudflare.AccessCaCertificate("example", { * accountId: "1d5fdc9e88c8a8c4518b068cd94331fe", * applicationId: "6cd6cea3-3ef2-4542-9aea-85a0bbcd5414", * }); * // zone level * const anotherExample = new cloudflare.AccessCaCertificate("another_example", { * applicationId: "fe2be0ff-7f13-4350-8c8e-a9b9795fe3c2", * zoneId: "b6bc7eb6027c792a6bca3dc91fd2d7e0", * }); * ``` * * ## Import * * Access CA certificates can be imported using a composite ID formed of identifer ("account" or "zone"), identifier ID and the CA certificate ID. * * ```sh * $ pulumi import cloudflare:index/accessCaCertificate:AccessCaCertificate example account/1d5fdc9e88c8a8c4518b068cd94331fe/edc1e4e24567217764b4322669c44df985dddffdf03ac781 * ``` */ export declare class AccessCaCertificate extends pulumi.CustomResource { /** * Get an existing AccessCaCertificate 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?: AccessCaCertificateState, opts?: pulumi.CustomResourceOptions): AccessCaCertificate; /** * Returns true if the given object is an instance of AccessCaCertificate. 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 AccessCaCertificate; /** * The account to which the Access CA certificate should be added. Conflicts with `zoneId`. */ readonly accountId: pulumi.Output; /** * The Access Application ID to associate with the CA certificate. */ readonly applicationId: pulumi.Output; /** * Application Audience (AUD) Tag of the CA certificate */ readonly aud: pulumi.Output; /** * Cryptographic public key of the generated CA certificate */ readonly publicKey: pulumi.Output; /** * The DNS zone to which the Access CA certificate should be added. Conflicts with `accountId`. */ readonly zoneId: pulumi.Output; /** * Create a AccessCaCertificate 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: AccessCaCertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccessCaCertificate resources. */ export interface AccessCaCertificateState { /** * The account to which the Access CA certificate should be added. Conflicts with `zoneId`. */ accountId?: pulumi.Input; /** * The Access Application ID to associate with the CA certificate. */ applicationId?: pulumi.Input; /** * Application Audience (AUD) Tag of the CA certificate */ aud?: pulumi.Input; /** * Cryptographic public key of the generated CA certificate */ publicKey?: pulumi.Input; /** * The DNS zone to which the Access CA certificate should be added. Conflicts with `accountId`. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a AccessCaCertificate resource. */ export interface AccessCaCertificateArgs { /** * The account to which the Access CA certificate should be added. Conflicts with `zoneId`. */ accountId?: pulumi.Input; /** * The Access Application ID to associate with the CA certificate. */ applicationId: pulumi.Input; /** * The DNS zone to which the Access CA certificate should be added. Conflicts with `accountId`. */ zoneId?: pulumi.Input; }