ibm.CisMtlsApp
Explore with Pulumi AI
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:
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Domain string
- Host domain for which we want to create app.
- Domain
Id string - The ID of the domain to change cache settings.
- Cert
Rule stringVal - Valid value for certificate rule option, default is mTLS certificate name.
- Cis
Mtls stringApp Id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - Common
Rule stringVal - Valid value for common rule option.
- Name string
- Name for the app which you want to create.
- Policy
Decision string - Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
- Policy
Name string - Valid name for a policy, default name is 'mtls-policy'.
session_duration
- (Optional, String) Duration string, default is '24h'.
- Session
Duration string - Duration for app validatidity
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Domain string
- Host domain for which we want to create app.
- Domain
Id string - The ID of the domain to change cache settings.
- Cert
Rule stringVal - Valid value for certificate rule option, default is mTLS certificate name.
- Cis
Mtls stringApp Id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - Common
Rule stringVal - Valid value for common rule option.
- Name string
- Name for the app which you want to create.
- Policy
Decision string - Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
- Policy
Name string - Valid name for a policy, default name is 'mtls-policy'.
session_duration
- (Optional, String) Duration string, default is '24h'.
- Session
Duration string - Duration for app validatidity
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- domain String
- Host domain for which we want to create app.
- domain
Id String - The ID of the domain to change cache settings.
- cert
Rule StringVal - Valid value for certificate rule option, default is mTLS certificate name.
- cis
Mtls StringApp Id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - common
Rule StringVal - Valid value for common rule option.
- name String
- Name for the app which you want to create.
- policy
Decision String - Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
- policy
Name String - Valid name for a policy, default name is 'mtls-policy'.
session_duration
- (Optional, String) Duration string, default is '24h'.
- session
Duration String - Duration for app validatidity
- cis
Id string - The ID of the IBM Cloud Internet Services instance.
- domain string
- Host domain for which we want to create app.
- domain
Id string - The ID of the domain to change cache settings.
- cert
Rule stringVal - Valid value for certificate rule option, default is mTLS certificate name.
- cis
Mtls stringApp Id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - common
Rule stringVal - Valid value for common rule option.
- name string
- Name for the app which you want to create.
- policy
Decision string - Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
- policy
Name string - Valid name for a policy, default name is 'mtls-policy'.
session_duration
- (Optional, String) Duration string, default is '24h'.
- session
Duration 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_ strval - Valid value for certificate rule option, default is mTLS certificate name.
- cis_
mtls_ strapp_ id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - common_
rule_ strval - 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
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- domain String
- Host domain for which we want to create app.
- domain
Id String - The ID of the domain to change cache settings.
- cert
Rule StringVal - Valid value for certificate rule option, default is mTLS certificate name.
- cis
Mtls StringApp Id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - common
Rule StringVal - Valid value for common rule option.
- name String
- Name for the app which you want to create.
- policy
Decision String - Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
- policy
Name String - Valid name for a policy, default name is 'mtls-policy'.
session_duration
- (Optional, String) Duration string, default is '24h'.
- session
Duration String - Duration for app validatidity
Outputs
All input properties are implicitly available as output properties. Additionally, the CisMtlsApp resource produces the following output properties:
- App
Created stringAt - (Computed, String) Time stamp string when App is created.
- App
Id string - (Computed, String) ID of created App.
- App
Updated stringAt - (Computed, String) Time stamp string when App is modififed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pol
Created stringAt - (Computed, String) Time stamp string when Policy is created.
- Pol
Updated stringAt - (Computed, String) Time stamp string when Policy is modified.
- Policy
Id string - (Computed, String) ID of created policy.
- App
Created stringAt - (Computed, String) Time stamp string when App is created.
- App
Id string - (Computed, String) ID of created App.
- App
Updated stringAt - (Computed, String) Time stamp string when App is modififed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pol
Created stringAt - (Computed, String) Time stamp string when Policy is created.
- Pol
Updated stringAt - (Computed, String) Time stamp string when Policy is modified.
- Policy
Id string - (Computed, String) ID of created policy.
- app
Created StringAt - (Computed, String) Time stamp string when App is created.
- app
Id String - (Computed, String) ID of created App.
- app
Updated StringAt - (Computed, String) Time stamp string when App is modififed.
- id String
- The provider-assigned unique ID for this managed resource.
- pol
Created StringAt - (Computed, String) Time stamp string when Policy is created.
- pol
Updated StringAt - (Computed, String) Time stamp string when Policy is modified.
- policy
Id String - (Computed, String) ID of created policy.
- app
Created stringAt - (Computed, String) Time stamp string when App is created.
- app
Id string - (Computed, String) ID of created App.
- app
Updated stringAt - (Computed, String) Time stamp string when App is modififed.
- id string
- The provider-assigned unique ID for this managed resource.
- pol
Created stringAt - (Computed, String) Time stamp string when Policy is created.
- pol
Updated stringAt - (Computed, String) Time stamp string when Policy is modified.
- policy
Id string - (Computed, String) ID of created policy.
- app_
created_ strat - (Computed, String) Time stamp string when App is created.
- app_
id str - (Computed, String) ID of created App.
- app_
updated_ strat - (Computed, String) Time stamp string when App is modififed.
- id str
- The provider-assigned unique ID for this managed resource.
- pol_
created_ strat - (Computed, String) Time stamp string when Policy is created.
- pol_
updated_ strat - (Computed, String) Time stamp string when Policy is modified.
- policy_
id str - (Computed, String) ID of created policy.
- app
Created StringAt - (Computed, String) Time stamp string when App is created.
- app
Id String - (Computed, String) ID of created App.
- app
Updated StringAt - (Computed, String) Time stamp string when App is modififed.
- id String
- The provider-assigned unique ID for this managed resource.
- pol
Created StringAt - (Computed, String) Time stamp string when Policy is created.
- pol
Updated StringAt - (Computed, String) Time stamp string when Policy is modified.
- policy
Id 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.
- App
Created stringAt - (Computed, String) Time stamp string when App is created.
- App
Id string - (Computed, String) ID of created App.
- App
Updated stringAt - (Computed, String) Time stamp string when App is modififed.
- Cert
Rule stringVal - Valid value for certificate rule option, default is mTLS certificate name.
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Cis
Mtls stringApp Id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - Common
Rule stringVal - Valid value for common rule option.
- Domain string
- Host domain for which we want to create app.
- Domain
Id string - The ID of the domain to change cache settings.
- Name string
- Name for the app which you want to create.
- Pol
Created stringAt - (Computed, String) Time stamp string when Policy is created.
- Pol
Updated stringAt - (Computed, String) Time stamp string when Policy is modified.
- Policy
Decision string - Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
- Policy
Id string - (Computed, String) ID of created policy.
- Policy
Name string - Valid name for a policy, default name is 'mtls-policy'.
session_duration
- (Optional, String) Duration string, default is '24h'.
- Session
Duration string - Duration for app validatidity
- App
Created stringAt - (Computed, String) Time stamp string when App is created.
- App
Id string - (Computed, String) ID of created App.
- App
Updated stringAt - (Computed, String) Time stamp string when App is modififed.
- Cert
Rule stringVal - Valid value for certificate rule option, default is mTLS certificate name.
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Cis
Mtls stringApp Id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - Common
Rule stringVal - Valid value for common rule option.
- Domain string
- Host domain for which we want to create app.
- Domain
Id string - The ID of the domain to change cache settings.
- Name string
- Name for the app which you want to create.
- Pol
Created stringAt - (Computed, String) Time stamp string when Policy is created.
- Pol
Updated stringAt - (Computed, String) Time stamp string when Policy is modified.
- Policy
Decision string - Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
- Policy
Id string - (Computed, String) ID of created policy.
- Policy
Name string - Valid name for a policy, default name is 'mtls-policy'.
session_duration
- (Optional, String) Duration string, default is '24h'.
- Session
Duration string - Duration for app validatidity
- app
Created StringAt - (Computed, String) Time stamp string when App is created.
- app
Id String - (Computed, String) ID of created App.
- app
Updated StringAt - (Computed, String) Time stamp string when App is modififed.
- cert
Rule StringVal - Valid value for certificate rule option, default is mTLS certificate name.
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- cis
Mtls StringApp Id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - common
Rule StringVal - Valid value for common rule option.
- domain String
- Host domain for which we want to create app.
- domain
Id String - The ID of the domain to change cache settings.
- name String
- Name for the app which you want to create.
- pol
Created StringAt - (Computed, String) Time stamp string when Policy is created.
- pol
Updated StringAt - (Computed, String) Time stamp string when Policy is modified.
- policy
Decision String - Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
- policy
Id String - (Computed, String) ID of created policy.
- policy
Name String - Valid name for a policy, default name is 'mtls-policy'.
session_duration
- (Optional, String) Duration string, default is '24h'.
- session
Duration String - Duration for app validatidity
- app
Created stringAt - (Computed, String) Time stamp string when App is created.
- app
Id string - (Computed, String) ID of created App.
- app
Updated stringAt - (Computed, String) Time stamp string when App is modififed.
- cert
Rule stringVal - Valid value for certificate rule option, default is mTLS certificate name.
- cis
Id string - The ID of the IBM Cloud Internet Services instance.
- cis
Mtls stringApp Id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - common
Rule stringVal - Valid value for common rule option.
- domain string
- Host domain for which we want to create app.
- domain
Id string - The ID of the domain to change cache settings.
- name string
- Name for the app which you want to create.
- pol
Created stringAt - (Computed, String) Time stamp string when Policy is created.
- pol
Updated stringAt - (Computed, String) Time stamp string when Policy is modified.
- policy
Decision string - Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
- policy
Id string - (Computed, String) ID of created policy.
- policy
Name string - Valid name for a policy, default name is 'mtls-policy'.
session_duration
- (Optional, String) Duration string, default is '24h'.
- session
Duration string - Duration for app validatidity
- app_
created_ strat - (Computed, String) Time stamp string when App is created.
- app_
id str - (Computed, String) ID of created App.
- app_
updated_ strat - (Computed, String) Time stamp string when App is modififed.
- cert_
rule_ strval - 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_ strapp_ id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - common_
rule_ strval - 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_ strat - (Computed, String) Time stamp string when Policy is created.
- pol_
updated_ strat - (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
- app
Created StringAt - (Computed, String) Time stamp string when App is created.
- app
Id String - (Computed, String) ID of created App.
- app
Updated StringAt - (Computed, String) Time stamp string when App is modififed.
- cert
Rule StringVal - Valid value for certificate rule option, default is mTLS certificate name.
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- cis
Mtls StringApp Id - (String) The record ID. It is a combination of
<app_id>,<policy_id>,<domain_id>,<cis_id>
attributes concatenated with:
. - common
Rule StringVal - Valid value for common rule option.
- domain String
- Host domain for which we want to create app.
- domain
Id String - The ID of the domain to change cache settings.
- name String
- Name for the app which you want to create.
- pol
Created StringAt - (Computed, String) Time stamp string when Policy is created.
- pol
Updated StringAt - (Computed, String) Time stamp string when Policy is modified.
- policy
Decision String - Valid policy action value e.g. 'non_identity'(default), 'allow', 'deny', 'bypass'.
- policy
Id String - (Computed, String) ID of created policy.
- policy
Name String - Valid name for a policy, default name is 'mtls-policy'.
session_duration
- (Optional, String) Duration string, default is '24h'.
- session
Duration 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.