import * as pulumi from "@pulumi/pulumi"; /** * Instance SSL configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const rDSPostgreSQLInstanceSSLDemo = new volcenginecc.rdspostgresql.InstanceSsl("RDSPostgreSQLInstanceSSLDemo", { * reloadSslCertificate: true, * instanceId: "postgres-60xxxx5ed9", * forceEncryption: true, * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:rdspostgresql/instanceSsl:InstanceSsl example "instance_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, 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; /** * Protected address. */ readonly addresses: pulumi.Output; /** * Is force encryption enabled? Value: true: Yes. false: No. */ readonly forceEncryption: pulumi.Output; /** * Instance ID. */ readonly instanceId: pulumi.Output; /** * Is the SSL certificate valid? Value: true: Yes. false: No. */ readonly isValid: pulumi.Output; /** * If set to true, the SSL certificate validity period will be updated. */ readonly reloadSslCertificate: pulumi.Output; /** * Is SSL functionality enabled? Value: true: Yes. false: No. */ readonly sslEnable: pulumi.Output; /** * SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC). */ readonly sslExpireTime: pulumi.Output; /** * Supported TLS versions. */ readonly tlsVersions: pulumi.Output; /** * 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 { /** * Protected address. */ addresses?: pulumi.Input[]>; /** * Is force encryption enabled? Value: true: Yes. false: No. */ forceEncryption?: pulumi.Input; /** * Instance ID. */ instanceId?: pulumi.Input; /** * Is the SSL certificate valid? Value: true: Yes. false: No. */ isValid?: pulumi.Input; /** * If set to true, the SSL certificate validity period will be updated. */ reloadSslCertificate?: pulumi.Input; /** * Is SSL functionality enabled? Value: true: Yes. false: No. */ sslEnable?: pulumi.Input; /** * SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC). */ sslExpireTime?: pulumi.Input; /** * Supported TLS versions. */ tlsVersions?: pulumi.Input[]>; } /** * The set of arguments for constructing a InstanceSsl resource. */ export interface InstanceSslArgs { /** * Is force encryption enabled? Value: true: Yes. false: No. */ forceEncryption?: pulumi.Input; /** * Instance ID. */ instanceId: pulumi.Input; /** * If set to true, the SSL certificate validity period will be updated. */ reloadSslCertificate?: pulumi.Input; }