published on Monday, Jun 15, 2026 by Byteplus
published on Monday, Jun 15, 2026 by Byteplus
Instance SSL configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const rDSPostgreSQLInstanceSSLDemo = new bytepluscc.rdspostgresql.InstanceSsl("RDSPostgreSQLInstanceSSLDemo", {
reloadSslCertificate: true,
instanceId: "postgres-60xxxx5ed9",
forceEncryption: true,
});
import pulumi
import pulumi_bytepluscc as bytepluscc
r_ds_postgre_sql_instance_ssl_demo = bytepluscc.rdspostgresql.InstanceSsl("RDSPostgreSQLInstanceSSLDemo",
reload_ssl_certificate=True,
instance_id="postgres-60xxxx5ed9",
force_encryption=True)
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/rdspostgresql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rdspostgresql.NewInstanceSsl(ctx, "RDSPostgreSQLInstanceSSLDemo", &rdspostgresql.InstanceSslArgs{
ReloadSslCertificate: pulumi.Bool(true),
InstanceId: pulumi.String("postgres-60xxxx5ed9"),
ForceEncryption: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var rDSPostgreSQLInstanceSSLDemo = new Bytepluscc.Rdspostgresql.InstanceSsl("RDSPostgreSQLInstanceSSLDemo", new()
{
ReloadSslCertificate = true,
InstanceId = "postgres-60xxxx5ed9",
ForceEncryption = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.rdspostgresql.InstanceSsl;
import com.byteplus.bytepluscc.rdspostgresql.InstanceSslArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var rDSPostgreSQLInstanceSSLDemo = new InstanceSsl("rDSPostgreSQLInstanceSSLDemo", InstanceSslArgs.builder()
.reloadSslCertificate(true)
.instanceId("postgres-60xxxx5ed9")
.forceEncryption(true)
.build());
}
}
resources:
rDSPostgreSQLInstanceSSLDemo:
type: bytepluscc:rdspostgresql:InstanceSsl
name: RDSPostgreSQLInstanceSSLDemo
properties:
reloadSslCertificate: true
instanceId: postgres-60xxxx5ed9
forceEncryption: true
Example coming soon!
Create InstanceSsl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InstanceSsl(name: string, args: InstanceSslArgs, opts?: CustomResourceOptions);@overload
def InstanceSsl(resource_name: str,
args: InstanceSslArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InstanceSsl(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
force_encryption: Optional[bool] = None,
reload_ssl_certificate: Optional[bool] = None)func NewInstanceSsl(ctx *Context, name string, args InstanceSslArgs, opts ...ResourceOption) (*InstanceSsl, error)public InstanceSsl(string name, InstanceSslArgs args, CustomResourceOptions? opts = null)
public InstanceSsl(String name, InstanceSslArgs args)
public InstanceSsl(String name, InstanceSslArgs args, CustomResourceOptions options)
type: bytepluscc:rdspostgresql:InstanceSsl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "bytepluscc_rdspostgresql_instancessl" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args InstanceSslArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InstanceSslArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InstanceSslArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceSslArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceSslArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var instanceSslResource = new Bytepluscc.Rdspostgresql.InstanceSsl("instanceSslResource", new()
{
InstanceId = "string",
ForceEncryption = false,
ReloadSslCertificate = false,
});
example, err := rdspostgresql.NewInstanceSsl(ctx, "instanceSslResource", &rdspostgresql.InstanceSslArgs{
InstanceId: pulumi.String("string"),
ForceEncryption: pulumi.Bool(false),
ReloadSslCertificate: pulumi.Bool(false),
})
resource "bytepluscc_rdspostgresql_instancessl" "instanceSslResource" {
instance_id = "string"
force_encryption = false
reload_ssl_certificate = false
}
var instanceSslResource = new InstanceSsl("instanceSslResource", InstanceSslArgs.builder()
.instanceId("string")
.forceEncryption(false)
.reloadSslCertificate(false)
.build());
instance_ssl_resource = bytepluscc.rdspostgresql.InstanceSsl("instanceSslResource",
instance_id="string",
force_encryption=False,
reload_ssl_certificate=False)
const instanceSslResource = new bytepluscc.rdspostgresql.InstanceSsl("instanceSslResource", {
instanceId: "string",
forceEncryption: false,
reloadSslCertificate: false,
});
type: bytepluscc:rdspostgresql:InstanceSsl
properties:
forceEncryption: false
instanceId: string
reloadSslCertificate: false
InstanceSsl Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The InstanceSsl resource accepts the following input properties:
- Instance
Id string - Instance ID.
- Force
Encryption bool - Is force encryption enabled? Value: true: Yes. false: No.
- Reload
Ssl boolCertificate - If set to true, the SSL certificate validity period will be updated.
- Instance
Id string - Instance ID.
- Force
Encryption bool - Is force encryption enabled? Value: true: Yes. false: No.
- Reload
Ssl boolCertificate - If set to true, the SSL certificate validity period will be updated.
- instance_
id string - Instance ID.
- force_
encryption bool - Is force encryption enabled? Value: true: Yes. false: No.
- reload_
ssl_ boolcertificate - If set to true, the SSL certificate validity period will be updated.
- instance
Id String - Instance ID.
- force
Encryption Boolean - Is force encryption enabled? Value: true: Yes. false: No.
- reload
Ssl BooleanCertificate - If set to true, the SSL certificate validity period will be updated.
- instance
Id string - Instance ID.
- force
Encryption boolean - Is force encryption enabled? Value: true: Yes. false: No.
- reload
Ssl booleanCertificate - If set to true, the SSL certificate validity period will be updated.
- instance_
id str - Instance ID.
- force_
encryption bool - Is force encryption enabled? Value: true: Yes. false: No.
- reload_
ssl_ boolcertificate - If set to true, the SSL certificate validity period will be updated.
- instance
Id String - Instance ID.
- force
Encryption Boolean - Is force encryption enabled? Value: true: Yes. false: No.
- reload
Ssl BooleanCertificate - If set to true, the SSL certificate validity period will be updated.
Outputs
All input properties are implicitly available as output properties. Additionally, the InstanceSsl resource produces the following output properties:
- Addresses List<string>
- Protected address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Valid bool - Is the SSL certificate valid? Value: true: Yes. false: No.
- Ssl
Enable bool - Is SSL functionality enabled? Value: true: Yes. false: No.
- Ssl
Expire stringTime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- Tls
Versions List<string> - Supported TLS versions.
- Addresses []string
- Protected address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Valid bool - Is the SSL certificate valid? Value: true: Yes. false: No.
- Ssl
Enable bool - Is SSL functionality enabled? Value: true: Yes. false: No.
- Ssl
Expire stringTime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- Tls
Versions []string - Supported TLS versions.
- addresses list(string)
- Protected address.
- id string
- The provider-assigned unique ID for this managed resource.
- is_
valid bool - Is the SSL certificate valid? Value: true: Yes. false: No.
- ssl_
enable bool - Is SSL functionality enabled? Value: true: Yes. false: No.
- ssl_
expire_ stringtime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- tls_
versions list(string) - Supported TLS versions.
- addresses List<String>
- Protected address.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Valid Boolean - Is the SSL certificate valid? Value: true: Yes. false: No.
- ssl
Enable Boolean - Is SSL functionality enabled? Value: true: Yes. false: No.
- ssl
Expire StringTime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- tls
Versions List<String> - Supported TLS versions.
- addresses string[]
- Protected address.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Valid boolean - Is the SSL certificate valid? Value: true: Yes. false: No.
- ssl
Enable boolean - Is SSL functionality enabled? Value: true: Yes. false: No.
- ssl
Expire stringTime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- tls
Versions string[] - Supported TLS versions.
- addresses Sequence[str]
- Protected address.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
valid bool - Is the SSL certificate valid? Value: true: Yes. false: No.
- ssl_
enable bool - Is SSL functionality enabled? Value: true: Yes. false: No.
- ssl_
expire_ strtime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- tls_
versions Sequence[str] - Supported TLS versions.
- addresses List<String>
- Protected address.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Valid Boolean - Is the SSL certificate valid? Value: true: Yes. false: No.
- ssl
Enable Boolean - Is SSL functionality enabled? Value: true: Yes. false: No.
- ssl
Expire StringTime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- tls
Versions List<String> - Supported TLS versions.
Look up Existing InstanceSsl Resource
Get an existing InstanceSsl resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InstanceSslState, opts?: CustomResourceOptions): InstanceSsl@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addresses: Optional[Sequence[str]] = None,
force_encryption: Optional[bool] = None,
instance_id: Optional[str] = None,
is_valid: Optional[bool] = None,
reload_ssl_certificate: Optional[bool] = None,
ssl_enable: Optional[bool] = None,
ssl_expire_time: Optional[str] = None,
tls_versions: Optional[Sequence[str]] = None) -> InstanceSslfunc GetInstanceSsl(ctx *Context, name string, id IDInput, state *InstanceSslState, opts ...ResourceOption) (*InstanceSsl, error)public static InstanceSsl Get(string name, Input<string> id, InstanceSslState? state, CustomResourceOptions? opts = null)public static InstanceSsl get(String name, Output<String> id, InstanceSslState state, CustomResourceOptions options)resources: _: type: bytepluscc:rdspostgresql:InstanceSsl get: id: ${id}import {
to = bytepluscc_rdspostgresql_instancessl.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Addresses List<string>
- Protected address.
- Force
Encryption bool - Is force encryption enabled? Value: true: Yes. false: No.
- Instance
Id string - Instance ID.
- Is
Valid bool - Is the SSL certificate valid? Value: true: Yes. false: No.
- Reload
Ssl boolCertificate - If set to true, the SSL certificate validity period will be updated.
- Ssl
Enable bool - Is SSL functionality enabled? Value: true: Yes. false: No.
- Ssl
Expire stringTime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- Tls
Versions List<string> - Supported TLS versions.
- Addresses []string
- Protected address.
- Force
Encryption bool - Is force encryption enabled? Value: true: Yes. false: No.
- Instance
Id string - Instance ID.
- Is
Valid bool - Is the SSL certificate valid? Value: true: Yes. false: No.
- Reload
Ssl boolCertificate - If set to true, the SSL certificate validity period will be updated.
- Ssl
Enable bool - Is SSL functionality enabled? Value: true: Yes. false: No.
- Ssl
Expire stringTime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- Tls
Versions []string - Supported TLS versions.
- addresses list(string)
- Protected address.
- force_
encryption bool - Is force encryption enabled? Value: true: Yes. false: No.
- instance_
id string - Instance ID.
- is_
valid bool - Is the SSL certificate valid? Value: true: Yes. false: No.
- reload_
ssl_ boolcertificate - If set to true, the SSL certificate validity period will be updated.
- ssl_
enable bool - Is SSL functionality enabled? Value: true: Yes. false: No.
- ssl_
expire_ stringtime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- tls_
versions list(string) - Supported TLS versions.
- addresses List<String>
- Protected address.
- force
Encryption Boolean - Is force encryption enabled? Value: true: Yes. false: No.
- instance
Id String - Instance ID.
- is
Valid Boolean - Is the SSL certificate valid? Value: true: Yes. false: No.
- reload
Ssl BooleanCertificate - If set to true, the SSL certificate validity period will be updated.
- ssl
Enable Boolean - Is SSL functionality enabled? Value: true: Yes. false: No.
- ssl
Expire StringTime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- tls
Versions List<String> - Supported TLS versions.
- addresses string[]
- Protected address.
- force
Encryption boolean - Is force encryption enabled? Value: true: Yes. false: No.
- instance
Id string - Instance ID.
- is
Valid boolean - Is the SSL certificate valid? Value: true: Yes. false: No.
- reload
Ssl booleanCertificate - If set to true, the SSL certificate validity period will be updated.
- ssl
Enable boolean - Is SSL functionality enabled? Value: true: Yes. false: No.
- ssl
Expire stringTime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- tls
Versions string[] - Supported TLS versions.
- addresses Sequence[str]
- Protected address.
- force_
encryption bool - Is force encryption enabled? Value: true: Yes. false: No.
- instance_
id str - Instance ID.
- is_
valid bool - Is the SSL certificate valid? Value: true: Yes. false: No.
- reload_
ssl_ boolcertificate - If set to true, the SSL certificate validity period will be updated.
- ssl_
enable bool - Is SSL functionality enabled? Value: true: Yes. false: No.
- ssl_
expire_ strtime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- tls_
versions Sequence[str] - Supported TLS versions.
- addresses List<String>
- Protected address.
- force
Encryption Boolean - Is force encryption enabled? Value: true: Yes. false: No.
- instance
Id String - Instance ID.
- is
Valid Boolean - Is the SSL certificate valid? Value: true: Yes. false: No.
- reload
Ssl BooleanCertificate - If set to true, the SSL certificate validity period will be updated.
- ssl
Enable Boolean - Is SSL functionality enabled? Value: true: Yes. false: No.
- ssl
Expire StringTime - SSL certificate expiration time. Format: yyyy-MM-ddTHH:mm:ss (UTC).
- tls
Versions List<String> - Supported TLS versions.
Import
$ pulumi import bytepluscc:rdspostgresql/instanceSsl:InstanceSsl example "instance_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Monday, Jun 15, 2026 by Byteplus