1. Packages
  2. Ibm Provider
  3. API Docs
  4. CisMtlsApp
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.CisMtlsApp

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides mutual TLS(mTLS) app-policy settings resource. The resource allows to create, update, or delete mTLS app settings of a domain of an IBM Cloud Internet Services CIS instance. For more information about mtls, see CIS MTLS.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    // Change mTLS app-policy setting of CIS instance
    const mtlsAppSettings = new ibm.CisMtlsApp("mtlsAppSettings", {
        cisId: data.ibm_cis.cis.id,
        domainId: data.ibm_cis_domain.cis_domain.domain_id,
        domain: "abc.abc.com",
        sessionDuration: "24h",
        policyName: "MTLS_Policy",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    # Change mTLS app-policy setting of CIS instance
    mtls_app_settings = ibm.CisMtlsApp("mtlsAppSettings",
        cis_id=data["ibm_cis"]["cis"]["id"],
        domain_id=data["ibm_cis_domain"]["cis_domain"]["domain_id"],
        domain="abc.abc.com",
        session_duration="24h",
        policy_name="MTLS_Policy")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Change mTLS app-policy setting of CIS instance
    		_, err := ibm.NewCisMtlsApp(ctx, "mtlsAppSettings", &ibm.CisMtlsAppArgs{
    			CisId:           pulumi.Any(data.Ibm_cis.Cis.Id),
    			DomainId:        pulumi.Any(data.Ibm_cis_domain.Cis_domain.Domain_id),
    			Domain:          pulumi.String("abc.abc.com"),
    			SessionDuration: pulumi.String("24h"),
    			PolicyName:      pulumi.String("MTLS_Policy"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        // Change mTLS app-policy setting of CIS instance
        var mtlsAppSettings = new Ibm.CisMtlsApp("mtlsAppSettings", new()
        {
            CisId = data.Ibm_cis.Cis.Id,
            DomainId = data.Ibm_cis_domain.Cis_domain.Domain_id,
            Domain = "abc.abc.com",
            SessionDuration = "24h",
            PolicyName = "MTLS_Policy",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.CisMtlsApp;
    import com.pulumi.ibm.CisMtlsAppArgs;
    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) {
            // Change mTLS app-policy setting of CIS instance
            var mtlsAppSettings = new CisMtlsApp("mtlsAppSettings", CisMtlsAppArgs.builder()
                .cisId(data.ibm_cis().cis().id())
                .domainId(data.ibm_cis_domain().cis_domain().domain_id())
                .domain("abc.abc.com")
                .sessionDuration("24h")
                .policyName("MTLS_Policy")
                .build());
    
        }
    }
    
    resources:
      # Change mTLS app-policy setting of CIS instance
      mtlsAppSettings:
        type: ibm:CisMtlsApp
        properties:
          cisId: ${data.ibm_cis.cis.id}
          domainId: ${data.ibm_cis_domain.cis_domain.domain_id}
          domain: abc.abc.com
          sessionDuration: 24h
          policyName: MTLS_Policy
    

    Create CisMtlsApp Resource

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

    Constructor syntax

    new CisMtlsApp(name: string, args: CisMtlsAppArgs, opts?: CustomResourceOptions);
    @overload
    def CisMtlsApp(resource_name: str,
                   args: CisMtlsAppArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def CisMtlsApp(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   cis_id: Optional[str] = None,
                   domain: Optional[str] = None,
                   domain_id: Optional[str] = None,
                   cert_rule_val: Optional[str] = None,
                   cis_mtls_app_id: Optional[str] = None,
                   common_rule_val: Optional[str] = None,
                   name: Optional[str] = None,
                   policy_decision: Optional[str] = None,
                   policy_name: Optional[str] = None,
                   session_duration: Optional[str] = None)
    func NewCisMtlsApp(ctx *Context, name string, args CisMtlsAppArgs, opts ...ResourceOption) (*CisMtlsApp, error)
    public CisMtlsApp(string name, CisMtlsAppArgs args, CustomResourceOptions? opts = null)
    public CisMtlsApp(String name, CisMtlsAppArgs args)
    public CisMtlsApp(String name, CisMtlsAppArgs args, CustomResourceOptions options)
    
    type: ibm:CisMtlsApp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CisMtlsAppArgs
    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 CisMtlsAppArgs
    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 CisMtlsAppArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CisMtlsAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CisMtlsAppArgs
    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 cisMtlsAppResource = new Ibm.CisMtlsApp("cisMtlsAppResource", new()
    {
        CisId = "string",
        Domain = "string",
        DomainId = "string",
        CertRuleVal = "string",
        CisMtlsAppId = "string",
        CommonRuleVal = "string",
        Name = "string",
        PolicyDecision = "string",
        PolicyName = "string",
        SessionDuration = "string",
    });
    
    example, err := ibm.NewCisMtlsApp(ctx, "cisMtlsAppResource", &ibm.CisMtlsAppArgs{
    	CisId:           pulumi.String("string"),
    	Domain:          pulumi.String("string"),
    	DomainId:        pulumi.String("string"),
    	CertRuleVal:     pulumi.String("string"),
    	CisMtlsAppId:    pulumi.String("string"),
    	CommonRuleVal:   pulumi.String("string"),
    	Name:            pulumi.String("string"),
    	PolicyDecision:  pulumi.String("string"),
    	PolicyName:      pulumi.String("string"),
    	SessionDuration: pulumi.String("string"),
    })
    
    var cisMtlsAppResource = new CisMtlsApp("cisMtlsAppResource", CisMtlsAppArgs.builder()
        .cisId("string")
        .domain("string")
        .domainId("string")
        .certRuleVal("string")
        .cisMtlsAppId("string")
        .commonRuleVal("string")
        .name("string")
        .policyDecision("string")
        .policyName("string")
        .sessionDuration("string")
        .build());
    
    cis_mtls_app_resource = ibm.CisMtlsApp("cisMtlsAppResource",
        cis_id="string",
        domain="string",
        domain_id="string",
        cert_rule_val="string",
        cis_mtls_app_id="string",
        common_rule_val="string",
        name="string",
        policy_decision="string",
        policy_name="string",
        session_duration="string")
    
    const cisMtlsAppResource = new ibm.CisMtlsApp("cisMtlsAppResource", {
        cisId: "string",
        domain: "string",
        domainId: "string",
        certRuleVal: "string",
        cisMtlsAppId: "string",
        commonRuleVal: "string",
        name: "string",
        policyDecision: "string",
        policyName: "string",
        sessionDuration: "string",
    });
    
    type: ibm:CisMtlsApp
    properties:
        certRuleVal: string
        cisId: string
        cisMtlsAppId: string
        commonRuleVal: string
        domain: string
        domainId: string
        name: string
        policyDecision: string
        policyName: string
        sessionDuration: string
    

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

    CisId string
    The ID of the IBM Cloud Internet Services instance.
    Domain string
    Host domain for which we want to create app.
    DomainId string
    The ID of the domain to change cache settings.
    CertRuleVal string
    Valid value for certificate rule option, default is mTLS certificate name.
    CisMtlsAppId string
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    CommonRuleVal string
    Valid value for common rule option.
    Name string
    Name for the app which you want to create.
    PolicyDecision string
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    PolicyName string
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    SessionDuration string
    Duration for app validatidity
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    Domain string
    Host domain for which we want to create app.
    DomainId string
    The ID of the domain to change cache settings.
    CertRuleVal string
    Valid value for certificate rule option, default is mTLS certificate name.
    CisMtlsAppId string
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    CommonRuleVal string
    Valid value for common rule option.
    Name string
    Name for the app which you want to create.
    PolicyDecision string
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    PolicyName string
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    SessionDuration string
    Duration for app validatidity
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    domain String
    Host domain for which we want to create app.
    domainId String
    The ID of the domain to change cache settings.
    certRuleVal String
    Valid value for certificate rule option, default is mTLS certificate name.
    cisMtlsAppId String
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    commonRuleVal String
    Valid value for common rule option.
    name String
    Name for the app which you want to create.
    policyDecision String
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    policyName String
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    sessionDuration String
    Duration for app validatidity
    cisId string
    The ID of the IBM Cloud Internet Services instance.
    domain string
    Host domain for which we want to create app.
    domainId string
    The ID of the domain to change cache settings.
    certRuleVal string
    Valid value for certificate rule option, default is mTLS certificate name.
    cisMtlsAppId string
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    commonRuleVal string
    Valid value for common rule option.
    name string
    Name for the app which you want to create.
    policyDecision string
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    policyName string
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    sessionDuration string
    Duration for app validatidity
    cis_id str
    The ID of the IBM Cloud Internet Services instance.
    domain str
    Host domain for which we want to create app.
    domain_id str
    The ID of the domain to change cache settings.
    cert_rule_val str
    Valid value for certificate rule option, default is mTLS certificate name.
    cis_mtls_app_id str
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    common_rule_val str
    Valid value for common rule option.
    name str
    Name for the app which you want to create.
    policy_decision str
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    policy_name str
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    session_duration str
    Duration for app validatidity
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    domain String
    Host domain for which we want to create app.
    domainId String
    The ID of the domain to change cache settings.
    certRuleVal String
    Valid value for certificate rule option, default is mTLS certificate name.
    cisMtlsAppId String
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    commonRuleVal String
    Valid value for common rule option.
    name String
    Name for the app which you want to create.
    policyDecision String
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    policyName String
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    sessionDuration String
    Duration for app validatidity

    Outputs

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

    AppCreatedAt string
    (Computed, String) Time stamp string when App is created.
    AppId string
    (Computed, String) ID of created App.
    AppUpdatedAt string
    (Computed, String) Time stamp string when App is modififed.
    Id string
    The provider-assigned unique ID for this managed resource.
    PolCreatedAt string
    (Computed, String) Time stamp string when Policy is created.
    PolUpdatedAt string
    (Computed, String) Time stamp string when Policy is modified.
    PolicyId string
    (Computed, String) ID of created policy.
    AppCreatedAt string
    (Computed, String) Time stamp string when App is created.
    AppId string
    (Computed, String) ID of created App.
    AppUpdatedAt string
    (Computed, String) Time stamp string when App is modififed.
    Id string
    The provider-assigned unique ID for this managed resource.
    PolCreatedAt string
    (Computed, String) Time stamp string when Policy is created.
    PolUpdatedAt string
    (Computed, String) Time stamp string when Policy is modified.
    PolicyId string
    (Computed, String) ID of created policy.
    appCreatedAt String
    (Computed, String) Time stamp string when App is created.
    appId String
    (Computed, String) ID of created App.
    appUpdatedAt String
    (Computed, String) Time stamp string when App is modififed.
    id String
    The provider-assigned unique ID for this managed resource.
    polCreatedAt String
    (Computed, String) Time stamp string when Policy is created.
    polUpdatedAt String
    (Computed, String) Time stamp string when Policy is modified.
    policyId String
    (Computed, String) ID of created policy.
    appCreatedAt string
    (Computed, String) Time stamp string when App is created.
    appId string
    (Computed, String) ID of created App.
    appUpdatedAt string
    (Computed, String) Time stamp string when App is modififed.
    id string
    The provider-assigned unique ID for this managed resource.
    polCreatedAt string
    (Computed, String) Time stamp string when Policy is created.
    polUpdatedAt string
    (Computed, String) Time stamp string when Policy is modified.
    policyId string
    (Computed, String) ID of created policy.
    app_created_at str
    (Computed, String) Time stamp string when App is created.
    app_id str
    (Computed, String) ID of created App.
    app_updated_at str
    (Computed, String) Time stamp string when App is modififed.
    id str
    The provider-assigned unique ID for this managed resource.
    pol_created_at str
    (Computed, String) Time stamp string when Policy is created.
    pol_updated_at str
    (Computed, String) Time stamp string when Policy is modified.
    policy_id str
    (Computed, String) ID of created policy.
    appCreatedAt String
    (Computed, String) Time stamp string when App is created.
    appId String
    (Computed, String) ID of created App.
    appUpdatedAt String
    (Computed, String) Time stamp string when App is modififed.
    id String
    The provider-assigned unique ID for this managed resource.
    polCreatedAt String
    (Computed, String) Time stamp string when Policy is created.
    polUpdatedAt String
    (Computed, String) Time stamp string when Policy is modified.
    policyId String
    (Computed, String) ID of created policy.

    Look up Existing CisMtlsApp Resource

    Get an existing CisMtlsApp 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?: CisMtlsAppState, opts?: CustomResourceOptions): CisMtlsApp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_created_at: Optional[str] = None,
            app_id: Optional[str] = None,
            app_updated_at: Optional[str] = None,
            cert_rule_val: Optional[str] = None,
            cis_id: Optional[str] = None,
            cis_mtls_app_id: Optional[str] = None,
            common_rule_val: Optional[str] = None,
            domain: Optional[str] = None,
            domain_id: Optional[str] = None,
            name: Optional[str] = None,
            pol_created_at: Optional[str] = None,
            pol_updated_at: Optional[str] = None,
            policy_decision: Optional[str] = None,
            policy_id: Optional[str] = None,
            policy_name: Optional[str] = None,
            session_duration: Optional[str] = None) -> CisMtlsApp
    func GetCisMtlsApp(ctx *Context, name string, id IDInput, state *CisMtlsAppState, opts ...ResourceOption) (*CisMtlsApp, error)
    public static CisMtlsApp Get(string name, Input<string> id, CisMtlsAppState? state, CustomResourceOptions? opts = null)
    public static CisMtlsApp get(String name, Output<String> id, CisMtlsAppState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CisMtlsApp    get:      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.
    The following state arguments are supported:
    AppCreatedAt string
    (Computed, String) Time stamp string when App is created.
    AppId string
    (Computed, String) ID of created App.
    AppUpdatedAt string
    (Computed, String) Time stamp string when App is modififed.
    CertRuleVal string
    Valid value for certificate rule option, default is mTLS certificate name.
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    CisMtlsAppId string
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    CommonRuleVal string
    Valid value for common rule option.
    Domain string
    Host domain for which we want to create app.
    DomainId string
    The ID of the domain to change cache settings.
    Name string
    Name for the app which you want to create.
    PolCreatedAt string
    (Computed, String) Time stamp string when Policy is created.
    PolUpdatedAt string
    (Computed, String) Time stamp string when Policy is modified.
    PolicyDecision string
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    PolicyId string
    (Computed, String) ID of created policy.
    PolicyName string
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    SessionDuration string
    Duration for app validatidity
    AppCreatedAt string
    (Computed, String) Time stamp string when App is created.
    AppId string
    (Computed, String) ID of created App.
    AppUpdatedAt string
    (Computed, String) Time stamp string when App is modififed.
    CertRuleVal string
    Valid value for certificate rule option, default is mTLS certificate name.
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    CisMtlsAppId string
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    CommonRuleVal string
    Valid value for common rule option.
    Domain string
    Host domain for which we want to create app.
    DomainId string
    The ID of the domain to change cache settings.
    Name string
    Name for the app which you want to create.
    PolCreatedAt string
    (Computed, String) Time stamp string when Policy is created.
    PolUpdatedAt string
    (Computed, String) Time stamp string when Policy is modified.
    PolicyDecision string
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    PolicyId string
    (Computed, String) ID of created policy.
    PolicyName string
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    SessionDuration string
    Duration for app validatidity
    appCreatedAt String
    (Computed, String) Time stamp string when App is created.
    appId String
    (Computed, String) ID of created App.
    appUpdatedAt String
    (Computed, String) Time stamp string when App is modififed.
    certRuleVal String
    Valid value for certificate rule option, default is mTLS certificate name.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    cisMtlsAppId String
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    commonRuleVal String
    Valid value for common rule option.
    domain String
    Host domain for which we want to create app.
    domainId String
    The ID of the domain to change cache settings.
    name String
    Name for the app which you want to create.
    polCreatedAt String
    (Computed, String) Time stamp string when Policy is created.
    polUpdatedAt String
    (Computed, String) Time stamp string when Policy is modified.
    policyDecision String
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    policyId String
    (Computed, String) ID of created policy.
    policyName String
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    sessionDuration String
    Duration for app validatidity
    appCreatedAt string
    (Computed, String) Time stamp string when App is created.
    appId string
    (Computed, String) ID of created App.
    appUpdatedAt string
    (Computed, String) Time stamp string when App is modififed.
    certRuleVal string
    Valid value for certificate rule option, default is mTLS certificate name.
    cisId string
    The ID of the IBM Cloud Internet Services instance.
    cisMtlsAppId string
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    commonRuleVal string
    Valid value for common rule option.
    domain string
    Host domain for which we want to create app.
    domainId string
    The ID of the domain to change cache settings.
    name string
    Name for the app which you want to create.
    polCreatedAt string
    (Computed, String) Time stamp string when Policy is created.
    polUpdatedAt string
    (Computed, String) Time stamp string when Policy is modified.
    policyDecision string
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    policyId string
    (Computed, String) ID of created policy.
    policyName string
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    sessionDuration string
    Duration for app validatidity
    app_created_at str
    (Computed, String) Time stamp string when App is created.
    app_id str
    (Computed, String) ID of created App.
    app_updated_at str
    (Computed, String) Time stamp string when App is modififed.
    cert_rule_val str
    Valid value for certificate rule option, default is mTLS certificate name.
    cis_id str
    The ID of the IBM Cloud Internet Services instance.
    cis_mtls_app_id str
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    common_rule_val str
    Valid value for common rule option.
    domain str
    Host domain for which we want to create app.
    domain_id str
    The ID of the domain to change cache settings.
    name str
    Name for the app which you want to create.
    pol_created_at str
    (Computed, String) Time stamp string when Policy is created.
    pol_updated_at str
    (Computed, String) Time stamp string when Policy is modified.
    policy_decision str
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    policy_id str
    (Computed, String) ID of created policy.
    policy_name str
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    session_duration str
    Duration for app validatidity
    appCreatedAt String
    (Computed, String) Time stamp string when App is created.
    appId String
    (Computed, String) ID of created App.
    appUpdatedAt String
    (Computed, String) Time stamp string when App is modififed.
    certRuleVal String
    Valid value for certificate rule option, default is mTLS certificate name.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    cisMtlsAppId String
    (String) The record ID. It is a combination of <app_id>,<policy_id>,<domain_id>,<cis_id> attributes concatenated with :.
    commonRuleVal String
    Valid value for common rule option.
    domain String
    Host domain for which we want to create app.
    domainId String
    The ID of the domain to change cache settings.
    name String
    Name for the app which you want to create.
    polCreatedAt String
    (Computed, String) Time stamp string when Policy is created.
    polUpdatedAt String
    (Computed, String) Time stamp string when Policy is modified.
    policyDecision String
    Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
    policyId String
    (Computed, String) ID of created policy.
    policyName String
    Valid name for a policy, default name is 'mtls-policy'.

    • session_duration - (Optional, String) Duration string, default is '24h'.
    sessionDuration String
    Duration for app validatidity

    Import

    The ibm_cis_mtls_app resource can be imported using the ID. The ID is formed from the app_id, policy_id, domain ID of the domain and the CRN concatenated using a : character.

    The domain ID and CRN will be located on the overview page of the IBM Cloud Internet Services instance of the console domain heading, or by using the ibmcloud cis command line commands.

    • APP ID is a string of the form: ac633cc7-2afc-4875-9914-c521153fee15

    • Policy ID is a string of the form: fa633cc7-4afc-4875-8814-b321153fee13

    • 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/cisMtlsApp:CisMtlsApp mtls_app_settings <app_id>:<poicy_id><domain-id>:<crn>
    

    Example

    $ pulumi import ibm:index/cisMtlsApp:CisMtlsApp mtls_app_settings ac633cc7-2afc-4875-9914-c521153fee15:fa633cc7-4afc-4875-8814-b321153fee13:9caf68812ae9b3f0377fdf986751a78f:crn:v1:bluemix:public:internet-svcs:global:a/4ea1882a2d3401ed1e459979941966ea:31fa970d-51d0-4b05-893e-251cba75a7b3::
    

    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.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud