import * as pulumi from "@pulumi/pulumi";
/**
 * Provides a resource to manage rds postgresql instance ssl
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const example = new volcengine.rds_postgresql.InstanceSsl("example", {
 *     forceEncryption: true,
 *     instanceId: "postgres-72715e0d9f58",
 *     sslEnable: true,
 * });
 * ```
 *
 * ## Import
 *
 * RdsPostgresqlInstanceSsl can be imported using the id, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:rds_postgresql/instanceSsl:InstanceSsl default resource_id
 * ```
 */
export declare class InstanceSsl extends pulumi.CustomResource {
    /**
     * Get an existing InstanceSsl 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<pulumi.ID>, state?: InstanceSslState, opts?: pulumi.CustomResourceOptions): InstanceSsl;
    /**
     * Returns true if the given object is an instance of InstanceSsl.  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 InstanceSsl;
    /**
     * Whether to enable force encryption. This only takes effect when the SSL encryption function of the instance is enabled.
     */
    readonly forceEncryption: pulumi.Output<boolean | undefined>;
    /**
     * The id of the postgresql Instance.
     */
    readonly instanceId: pulumi.Output<string>;
    /**
     * Update the validity period of the SSL certificate. This only takes effect when the SSL encryption function of the instance is enabled. It is not supported to pass in reloadSslCertificate and sslEnable at the same time.
     */
    readonly reloadSslCertificate: pulumi.Output<boolean | undefined>;
    /**
     * Whether to enable SSL.
     */
    readonly sslEnable: pulumi.Output<boolean | undefined>;
    /**
     * Create a InstanceSsl 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: InstanceSslArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering InstanceSsl resources.
 */
export interface InstanceSslState {
    /**
     * Whether to enable force encryption. This only takes effect when the SSL encryption function of the instance is enabled.
     */
    forceEncryption?: pulumi.Input<boolean>;
    /**
     * The id of the postgresql Instance.
     */
    instanceId?: pulumi.Input<string>;
    /**
     * Update the validity period of the SSL certificate. This only takes effect when the SSL encryption function of the instance is enabled. It is not supported to pass in reloadSslCertificate and sslEnable at the same time.
     */
    reloadSslCertificate?: pulumi.Input<boolean>;
    /**
     * Whether to enable SSL.
     */
    sslEnable?: pulumi.Input<boolean>;
}
/**
 * The set of arguments for constructing a InstanceSsl resource.
 */
export interface InstanceSslArgs {
    /**
     * Whether to enable force encryption. This only takes effect when the SSL encryption function of the instance is enabled.
     */
    forceEncryption?: pulumi.Input<boolean>;
    /**
     * The id of the postgresql Instance.
     */
    instanceId: pulumi.Input<string>;
    /**
     * Update the validity period of the SSL certificate. This only takes effect when the SSL encryption function of the instance is enabled. It is not supported to pass in reloadSslCertificate and sslEnable at the same time.
     */
    reloadSslCertificate?: pulumi.Input<boolean>;
    /**
     * Whether to enable SSL.
     */
    sslEnable?: pulumi.Input<boolean>;
}
