import * as pulumi from "@pulumi/pulumi"; /** * The Mutual TLS API allows for client-to-server authentication using client-side X.509 authentication. * * The main Mutual Authentication object represents the certificate bundle and other configurations which support Mutual TLS for your domains. * * Mutual TLS can be added to existing TLS activations to allow for client-to-server authentication. In order to use mutual TLS, you must already have active server-side TLS using either custom certificates or an enabled Fastly-managed subscription. * * The examples below demonstrate how to use Mutual Authentication along with a TLS Subscription. Refer to the `fastly.TlsSubscription` resource documentation for a deeper explanation of that code. */ export declare class TlsMutualAuthentication extends pulumi.CustomResource { /** * Get an existing TlsMutualAuthentication 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?: TlsMutualAuthenticationState, opts?: pulumi.CustomResourceOptions): TlsMutualAuthentication; /** * Returns true if the given object is an instance of TlsMutualAuthentication. 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 TlsMutualAuthentication; /** * List of TLS Activation IDs */ readonly activationIds: pulumi.Output; /** * One or more certificates. Enter each individual certificate blob on a new line. Must be PEM-formatted. */ readonly certBundle: pulumi.Output; /** * Date and time in ISO 8601 format. */ readonly createdAt: pulumi.Output; /** * Determines whether Mutual TLS will fail closed (enforced) or fail open. A true value will require a successful Mutual TLS handshake for the connection to continue and will fail closed if unsuccessful. A false value will fail open and allow the connection to proceed (if this attribute is not set we default to `false`). */ readonly enforced: pulumi.Output; /** * A comma-separated list used by the Terraform provider during a state refresh to return more data related to your mutual authentication from the Fastly API (permitted values: `tlsActivations`). */ readonly include: pulumi.Output; /** * A custom name for your mutual authentication. If name is not supplied we will auto-generate one. */ readonly name: pulumi.Output; /** * List of alphanumeric strings identifying TLS activations. */ readonly tlsActivations: pulumi.Output; /** * Date and time in ISO 8601 format. */ readonly updatedAt: pulumi.Output; /** * Create a TlsMutualAuthentication 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: TlsMutualAuthenticationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TlsMutualAuthentication resources. */ export interface TlsMutualAuthenticationState { /** * List of TLS Activation IDs */ activationIds?: pulumi.Input[] | undefined>; /** * One or more certificates. Enter each individual certificate blob on a new line. Must be PEM-formatted. */ certBundle?: pulumi.Input; /** * Date and time in ISO 8601 format. */ createdAt?: pulumi.Input; /** * Determines whether Mutual TLS will fail closed (enforced) or fail open. A true value will require a successful Mutual TLS handshake for the connection to continue and will fail closed if unsuccessful. A false value will fail open and allow the connection to proceed (if this attribute is not set we default to `false`). */ enforced?: pulumi.Input; /** * A comma-separated list used by the Terraform provider during a state refresh to return more data related to your mutual authentication from the Fastly API (permitted values: `tlsActivations`). */ include?: pulumi.Input; /** * A custom name for your mutual authentication. If name is not supplied we will auto-generate one. */ name?: pulumi.Input; /** * List of alphanumeric strings identifying TLS activations. */ tlsActivations?: pulumi.Input[] | undefined>; /** * Date and time in ISO 8601 format. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a TlsMutualAuthentication resource. */ export interface TlsMutualAuthenticationArgs { /** * List of TLS Activation IDs */ activationIds?: pulumi.Input[] | undefined>; /** * One or more certificates. Enter each individual certificate blob on a new line. Must be PEM-formatted. */ certBundle: pulumi.Input; /** * Determines whether Mutual TLS will fail closed (enforced) or fail open. A true value will require a successful Mutual TLS handshake for the connection to continue and will fail closed if unsuccessful. A false value will fail open and allow the connection to proceed (if this attribute is not set we default to `false`). */ enforced?: pulumi.Input; /** * A comma-separated list used by the Terraform provider during a state refresh to return more data related to your mutual authentication from the Fastly API (permitted values: `tlsActivations`). */ include?: pulumi.Input; /** * A custom name for your mutual authentication. If name is not supplied we will auto-generate one. */ name?: pulumi.Input; } //# sourceMappingURL=tlsMutualAuthentication.d.ts.map