import * as pulumi from "@pulumi/pulumi"; /** * SSL encryption settings for the MongoDB instance, including whether the feature is enabled, SSL certificate expiration time, and other information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const mongoDBSSLStateDemo = new volcenginecc.mongodb.SslState("MongoDBSSLStateDemo", { * instanceId: "mongo-replica-d1****", * sslAction: "Open", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:mongodb/sslState:SslState example "instance_id" * ``` */ export declare class SslState extends pulumi.CustomResource { /** * Get an existing SslState 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?: SslStateState, opts?: pulumi.CustomResourceOptions): SslState; /** * Returns true if the given object is an instance of SslState. 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 SslState; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * Whether the SSL certificate is valid. Possible values: - true: Valid - false: Invalid */ readonly isValid: pulumi.Output; /** * Perform operations on the SSL encryption feature. Possible values: - Open (default): Enable SSL encryption - Close: Disable SSL encryption - Update: Update SSL certificate validity period. You can update the SSL certificate validity period only after SSL encryption is enabled. */ readonly sslAction: pulumi.Output; /** * Whether SSL encryption is enabled. Possible values: - true: Enabled - false: Disabled */ readonly sslEnable: pulumi.Output; /** * SSL certificate expiration time, formatted as yyyy-MM-ddTHH:mm:ssZ (UTC). This parameter is returned only when the SSL certificate is valid (that is, IsValid is true). */ readonly sslExpiredTime: pulumi.Output; /** * Create a SslState 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: SslStateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SslState resources. */ export interface SslStateState { /** * Instance ID */ instanceId?: pulumi.Input; /** * Whether the SSL certificate is valid. Possible values: - true: Valid - false: Invalid */ isValid?: pulumi.Input; /** * Perform operations on the SSL encryption feature. Possible values: - Open (default): Enable SSL encryption - Close: Disable SSL encryption - Update: Update SSL certificate validity period. You can update the SSL certificate validity period only after SSL encryption is enabled. */ sslAction?: pulumi.Input; /** * Whether SSL encryption is enabled. Possible values: - true: Enabled - false: Disabled */ sslEnable?: pulumi.Input; /** * SSL certificate expiration time, formatted as yyyy-MM-ddTHH:mm:ssZ (UTC). This parameter is returned only when the SSL certificate is valid (that is, IsValid is true). */ sslExpiredTime?: pulumi.Input; } /** * The set of arguments for constructing a SslState resource. */ export interface SslStateArgs { /** * Instance ID */ instanceId: pulumi.Input; /** * Perform operations on the SSL encryption feature. Possible values: - Open (default): Enable SSL encryption - Close: Disable SSL encryption - Update: Update SSL certificate validity period. You can update the SSL certificate validity period only after SSL encryption is enabled. */ sslAction?: pulumi.Input; }