1. Packages
  2. Ibm Provider
  3. API Docs
  4. CisTlsSettings
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.CisTlsSettings

Explore with Pulumi AI

Create, update, or delete an IBM Cloud Internet Services TLS settings resources. This resource is associated with an IBM Cloud Internet Services instance and an IBM Cloud Internet Services Domain resource. For more information, about CIS TLS settings, see setting TLS options.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  # Change TLS Settings of the domain
  tlsSettings:
    type: ibm:CisTlsSettings
    properties:
      cisId: ${data.ibm_cis.cis.id}
      domainId: ${data.ibm_cis_domain.cis_domain.domain_id}
      tls13: off
      tls12Only: on
      minTlsVersion: '1.2'
      universalSsl: true
Copy

Create CisTlsSettings Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new CisTlsSettings(name: string, args: CisTlsSettingsArgs, opts?: CustomResourceOptions);
@overload
def CisTlsSettings(resource_name: str,
                   args: CisTlsSettingsArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def CisTlsSettings(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   cis_id: Optional[str] = None,
                   domain_id: Optional[str] = None,
                   cis_tls_settings_id: Optional[str] = None,
                   min_tls_version: Optional[str] = None,
                   tls13: Optional[str] = None,
                   universal_ssl: Optional[bool] = None)
func NewCisTlsSettings(ctx *Context, name string, args CisTlsSettingsArgs, opts ...ResourceOption) (*CisTlsSettings, error)
public CisTlsSettings(string name, CisTlsSettingsArgs args, CustomResourceOptions? opts = null)
public CisTlsSettings(String name, CisTlsSettingsArgs args)
public CisTlsSettings(String name, CisTlsSettingsArgs args, CustomResourceOptions options)
type: ibm:CisTlsSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CisTlsSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CisTlsSettingsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CisTlsSettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CisTlsSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CisTlsSettingsArgs
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 cisTlsSettingsResource = new Ibm.CisTlsSettings("cisTlsSettingsResource", new()
{
    CisId = "string",
    DomainId = "string",
    CisTlsSettingsId = "string",
    MinTlsVersion = "string",
    Tls13 = "string",
    UniversalSsl = false,
});
Copy
example, err := ibm.NewCisTlsSettings(ctx, "cisTlsSettingsResource", &ibm.CisTlsSettingsArgs{
	CisId:            pulumi.String("string"),
	DomainId:         pulumi.String("string"),
	CisTlsSettingsId: pulumi.String("string"),
	MinTlsVersion:    pulumi.String("string"),
	Tls13:            pulumi.String("string"),
	UniversalSsl:     pulumi.Bool(false),
})
Copy
var cisTlsSettingsResource = new CisTlsSettings("cisTlsSettingsResource", CisTlsSettingsArgs.builder()
    .cisId("string")
    .domainId("string")
    .cisTlsSettingsId("string")
    .minTlsVersion("string")
    .tls13("string")
    .universalSsl(false)
    .build());
Copy
cis_tls_settings_resource = ibm.CisTlsSettings("cisTlsSettingsResource",
    cis_id="string",
    domain_id="string",
    cis_tls_settings_id="string",
    min_tls_version="string",
    tls13="string",
    universal_ssl=False)
Copy
const cisTlsSettingsResource = new ibm.CisTlsSettings("cisTlsSettingsResource", {
    cisId: "string",
    domainId: "string",
    cisTlsSettingsId: "string",
    minTlsVersion: "string",
    tls13: "string",
    universalSsl: false,
});
Copy
type: ibm:CisTlsSettings
properties:
    cisId: string
    cisTlsSettingsId: string
    domainId: string
    minTlsVersion: string
    tls13: string
    universalSsl: false
Copy

CisTlsSettings 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 CisTlsSettings resource accepts the following input properties:

CisId This property is required. string
The ID of the IBM Cloud Internet Services instance.
DomainId This property is required. string
The ID of the domain to change TLS settings.
CisTlsSettingsId string
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
MinTlsVersion string
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
Tls13 string
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
UniversalSsl bool
The Universal SSL enable or disable setting.
CisId This property is required. string
The ID of the IBM Cloud Internet Services instance.
DomainId This property is required. string
The ID of the domain to change TLS settings.
CisTlsSettingsId string
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
MinTlsVersion string
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
Tls13 string
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
UniversalSsl bool
The Universal SSL enable or disable setting.
cisId This property is required. String
The ID of the IBM Cloud Internet Services instance.
domainId This property is required. String
The ID of the domain to change TLS settings.
cisTlsSettingsId String
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
minTlsVersion String
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
tls13 String
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
universalSsl Boolean
The Universal SSL enable or disable setting.
cisId This property is required. string
The ID of the IBM Cloud Internet Services instance.
domainId This property is required. string
The ID of the domain to change TLS settings.
cisTlsSettingsId string
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
minTlsVersion string
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
tls13 string
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
universalSsl boolean
The Universal SSL enable or disable setting.
cis_id This property is required. str
The ID of the IBM Cloud Internet Services instance.
domain_id This property is required. str
The ID of the domain to change TLS settings.
cis_tls_settings_id str
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
min_tls_version str
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
tls13 str
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
universal_ssl bool
The Universal SSL enable or disable setting.
cisId This property is required. String
The ID of the IBM Cloud Internet Services instance.
domainId This property is required. String
The ID of the domain to change TLS settings.
cisTlsSettingsId String
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
minTlsVersion String
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
tls13 String
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
universalSsl Boolean
The Universal SSL enable or disable setting.

Outputs

All input properties are implicitly available as output properties. Additionally, the CisTlsSettings resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing CisTlsSettings Resource

Get an existing CisTlsSettings 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?: CisTlsSettingsState, opts?: CustomResourceOptions): CisTlsSettings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cis_id: Optional[str] = None,
        cis_tls_settings_id: Optional[str] = None,
        domain_id: Optional[str] = None,
        min_tls_version: Optional[str] = None,
        tls13: Optional[str] = None,
        universal_ssl: Optional[bool] = None) -> CisTlsSettings
func GetCisTlsSettings(ctx *Context, name string, id IDInput, state *CisTlsSettingsState, opts ...ResourceOption) (*CisTlsSettings, error)
public static CisTlsSettings Get(string name, Input<string> id, CisTlsSettingsState? state, CustomResourceOptions? opts = null)
public static CisTlsSettings get(String name, Output<String> id, CisTlsSettingsState state, CustomResourceOptions options)
resources:  _:    type: ibm:CisTlsSettings    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
CisId string
The ID of the IBM Cloud Internet Services instance.
CisTlsSettingsId string
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
DomainId string
The ID of the domain to change TLS settings.
MinTlsVersion string
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
Tls13 string
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
UniversalSsl bool
The Universal SSL enable or disable setting.
CisId string
The ID of the IBM Cloud Internet Services instance.
CisTlsSettingsId string
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
DomainId string
The ID of the domain to change TLS settings.
MinTlsVersion string
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
Tls13 string
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
UniversalSsl bool
The Universal SSL enable or disable setting.
cisId String
The ID of the IBM Cloud Internet Services instance.
cisTlsSettingsId String
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
domainId String
The ID of the domain to change TLS settings.
minTlsVersion String
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
tls13 String
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
universalSsl Boolean
The Universal SSL enable or disable setting.
cisId string
The ID of the IBM Cloud Internet Services instance.
cisTlsSettingsId string
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
domainId string
The ID of the domain to change TLS settings.
minTlsVersion string
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
tls13 string
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
universalSsl boolean
The Universal SSL enable or disable setting.
cis_id str
The ID of the IBM Cloud Internet Services instance.
cis_tls_settings_id str
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
domain_id str
The ID of the domain to change TLS settings.
min_tls_version str
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
tls13 str
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
universal_ssl bool
The Universal SSL enable or disable setting.
cisId String
The ID of the IBM Cloud Internet Services instance.
cisTlsSettingsId String
(String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with :.
domainId String
The ID of the domain to change TLS settings.
minTlsVersion String
The Minimum TLS version setting. Valid values are 1.1, 1.2, 1.3, or 1.4.
tls13 String
The TLS 1.3 version setting. Valid values are on, off, zrt. zrt will enable TLS 1.3 and the Zero RTT feature. If on is set, then zrt is enabled by default.
universalSsl Boolean
The Universal SSL enable or disable setting.

Import

The ibm_cis_tls_settings resource can be imported using the id. The ID is formed from the Domain ID of the domain and the CRN (Cloud Resource Name) concatentated using a : character.

The Domain ID and CRN will be located on the Overview page of the Internet Services instance under the Domain heading of the UI, or via using the ibmcloud cis CLI commands.

  • Domain ID is a 32 digit character string of the form: 9caf68812ae9b3f0377fdf986751a78f

  • CRN is a 120 digit character string of the form: crn:v1:bluemix:public:internet-svcs:global:a/4ea1882a2d3401ed1e459979941966ea:31fa970d-51d0-4b05-893e-251cba75a7b3::

Syntax

$ pulumi import ibm:index/cisTlsSettings:CisTlsSettings tls_settings <domain-id>:<crn>
Copy

Example

$ pulumi import ibm:index/cisTlsSettings:CisTlsSettings tls_settings 9caf68812ae9b3f0377fdf986751a78f:crn:v1:bluemix:public:internet-svcs:global:a/4ea1882a2d3401ed1e459979941966ea:31fa970d-51d0-4b05-893e-251cba75a7b3::
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.