published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
Provides a resource to create a Config compliance pack.
NOTE: The current resource
tencentcloud.ConfigCompliancePackdoes not support destroy, please contact the work order for processing.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ConfigCompliancePack("example", {
compliancePackName: "tf-example",
riskLevel: 2,
description: "tf example compliance pack",
configRules: [
{
identifier: "cos-default-encryption-kms",
ruleName: "my-rule1",
riskLevel: 1,
},
{
identifier: "cam-user-group-bound",
ruleName: "my-rule2",
description: "rule description",
riskLevel: 3,
inputParameters: [{
parameterKey: "maxMemorySize",
type: "Require",
value: "512",
}],
},
],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ConfigCompliancePack("example",
compliance_pack_name="tf-example",
risk_level=2,
description="tf example compliance pack",
config_rules=[
{
"identifier": "cos-default-encryption-kms",
"rule_name": "my-rule1",
"risk_level": 1,
},
{
"identifier": "cam-user-group-bound",
"rule_name": "my-rule2",
"description": "rule description",
"risk_level": 3,
"input_parameters": [{
"parameter_key": "maxMemorySize",
"type": "Require",
"value": "512",
}],
},
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewConfigCompliancePack(ctx, "example", &tencentcloud.ConfigCompliancePackArgs{
CompliancePackName: pulumi.String("tf-example"),
RiskLevel: pulumi.Float64(2),
Description: pulumi.String("tf example compliance pack"),
ConfigRules: tencentcloud.ConfigCompliancePackConfigRuleArray{
&tencentcloud.ConfigCompliancePackConfigRuleArgs{
Identifier: pulumi.String("cos-default-encryption-kms"),
RuleName: pulumi.String("my-rule1"),
RiskLevel: pulumi.Float64(1),
},
&tencentcloud.ConfigCompliancePackConfigRuleArgs{
Identifier: pulumi.String("cam-user-group-bound"),
RuleName: pulumi.String("my-rule2"),
Description: pulumi.String("rule description"),
RiskLevel: pulumi.Float64(3),
InputParameters: tencentcloud.ConfigCompliancePackConfigRuleInputParameterArray{
&tencentcloud.ConfigCompliancePackConfigRuleInputParameterArgs{
ParameterKey: pulumi.String("maxMemorySize"),
Type: pulumi.String("Require"),
Value: pulumi.String("512"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.ConfigCompliancePack("example", new()
{
CompliancePackName = "tf-example",
RiskLevel = 2,
Description = "tf example compliance pack",
ConfigRules = new[]
{
new Tencentcloud.Inputs.ConfigCompliancePackConfigRuleArgs
{
Identifier = "cos-default-encryption-kms",
RuleName = "my-rule1",
RiskLevel = 1,
},
new Tencentcloud.Inputs.ConfigCompliancePackConfigRuleArgs
{
Identifier = "cam-user-group-bound",
RuleName = "my-rule2",
Description = "rule description",
RiskLevel = 3,
InputParameters = new[]
{
new Tencentcloud.Inputs.ConfigCompliancePackConfigRuleInputParameterArgs
{
ParameterKey = "maxMemorySize",
Type = "Require",
Value = "512",
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ConfigCompliancePack;
import com.pulumi.tencentcloud.ConfigCompliancePackArgs;
import com.pulumi.tencentcloud.inputs.ConfigCompliancePackConfigRuleArgs;
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 example = new ConfigCompliancePack("example", ConfigCompliancePackArgs.builder()
.compliancePackName("tf-example")
.riskLevel(2.0)
.description("tf example compliance pack")
.configRules(
ConfigCompliancePackConfigRuleArgs.builder()
.identifier("cos-default-encryption-kms")
.ruleName("my-rule1")
.riskLevel(1.0)
.build(),
ConfigCompliancePackConfigRuleArgs.builder()
.identifier("cam-user-group-bound")
.ruleName("my-rule2")
.description("rule description")
.riskLevel(3.0)
.inputParameters(ConfigCompliancePackConfigRuleInputParameterArgs.builder()
.parameterKey("maxMemorySize")
.type("Require")
.value("512")
.build())
.build())
.build());
}
}
resources:
example:
type: tencentcloud:ConfigCompliancePack
properties:
compliancePackName: tf-example
riskLevel: 2
description: tf example compliance pack
configRules:
- identifier: cos-default-encryption-kms
ruleName: my-rule1
riskLevel: 1
- identifier: cam-user-group-bound
ruleName: my-rule2
description: rule description
riskLevel: 3
inputParameters:
- parameterKey: maxMemorySize
type: Require
value: '512'
Example coming soon!
With status control
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ConfigCompliancePack("example", {
compliancePackName: "tf-example",
riskLevel: 1,
description: "high risk compliance pack",
status: "UN_ACTIVE",
configRules: [{
identifier: "cam-user-mfa-check",
riskLevel: 1,
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ConfigCompliancePack("example",
compliance_pack_name="tf-example",
risk_level=1,
description="high risk compliance pack",
status="UN_ACTIVE",
config_rules=[{
"identifier": "cam-user-mfa-check",
"risk_level": 1,
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewConfigCompliancePack(ctx, "example", &tencentcloud.ConfigCompliancePackArgs{
CompliancePackName: pulumi.String("tf-example"),
RiskLevel: pulumi.Float64(1),
Description: pulumi.String("high risk compliance pack"),
Status: pulumi.String("UN_ACTIVE"),
ConfigRules: tencentcloud.ConfigCompliancePackConfigRuleArray{
&tencentcloud.ConfigCompliancePackConfigRuleArgs{
Identifier: pulumi.String("cam-user-mfa-check"),
RiskLevel: pulumi.Float64(1),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.ConfigCompliancePack("example", new()
{
CompliancePackName = "tf-example",
RiskLevel = 1,
Description = "high risk compliance pack",
Status = "UN_ACTIVE",
ConfigRules = new[]
{
new Tencentcloud.Inputs.ConfigCompliancePackConfigRuleArgs
{
Identifier = "cam-user-mfa-check",
RiskLevel = 1,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ConfigCompliancePack;
import com.pulumi.tencentcloud.ConfigCompliancePackArgs;
import com.pulumi.tencentcloud.inputs.ConfigCompliancePackConfigRuleArgs;
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 example = new ConfigCompliancePack("example", ConfigCompliancePackArgs.builder()
.compliancePackName("tf-example")
.riskLevel(1.0)
.description("high risk compliance pack")
.status("UN_ACTIVE")
.configRules(ConfigCompliancePackConfigRuleArgs.builder()
.identifier("cam-user-mfa-check")
.riskLevel(1.0)
.build())
.build());
}
}
resources:
example:
type: tencentcloud:ConfigCompliancePack
properties:
compliancePackName: tf-example
riskLevel: 1
description: high risk compliance pack
status: UN_ACTIVE
configRules:
- identifier: cam-user-mfa-check
riskLevel: 1
Example coming soon!
Create ConfigCompliancePack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConfigCompliancePack(name: string, args: ConfigCompliancePackArgs, opts?: CustomResourceOptions);@overload
def ConfigCompliancePack(resource_name: str,
args: ConfigCompliancePackArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConfigCompliancePack(resource_name: str,
opts: Optional[ResourceOptions] = None,
compliance_pack_name: Optional[str] = None,
config_rules: Optional[Sequence[ConfigCompliancePackConfigRuleArgs]] = None,
risk_level: Optional[float] = None,
config_compliance_pack_id: Optional[str] = None,
description: Optional[str] = None,
status: Optional[str] = None)func NewConfigCompliancePack(ctx *Context, name string, args ConfigCompliancePackArgs, opts ...ResourceOption) (*ConfigCompliancePack, error)public ConfigCompliancePack(string name, ConfigCompliancePackArgs args, CustomResourceOptions? opts = null)
public ConfigCompliancePack(String name, ConfigCompliancePackArgs args)
public ConfigCompliancePack(String name, ConfigCompliancePackArgs args, CustomResourceOptions options)
type: tencentcloud:ConfigCompliancePack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "tencentcloud_configcompliancepack" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ConfigCompliancePackArgs
- 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 ConfigCompliancePackArgs
- 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 ConfigCompliancePackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigCompliancePackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConfigCompliancePackArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ConfigCompliancePack 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 ConfigCompliancePack resource accepts the following input properties:
- Compliance
Pack stringName - Compliance pack name.
- Config
Rules List<ConfigCompliance Pack Config Rule> - List of compliance pack rules.
- Risk
Level double - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- Config
Compliance stringPack Id - ID of the resource.
- Description string
- Description of the compliance pack.
- Status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- Compliance
Pack stringName - Compliance pack name.
- Config
Rules []ConfigCompliance Pack Config Rule Args - List of compliance pack rules.
- Risk
Level float64 - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- Config
Compliance stringPack Id - ID of the resource.
- Description string
- Description of the compliance pack.
- Status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- compliance_
pack_ stringname - Compliance pack name.
- config_
rules list(object) - List of compliance pack rules.
- risk_
level number - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- config_
compliance_ stringpack_ id - ID of the resource.
- description string
- Description of the compliance pack.
- status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- compliance
Pack StringName - Compliance pack name.
- config
Rules List<ConfigCompliance Pack Config Rule> - List of compliance pack rules.
- risk
Level Double - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- config
Compliance StringPack Id - ID of the resource.
- description String
- Description of the compliance pack.
- status String
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- compliance
Pack stringName - Compliance pack name.
- config
Rules ConfigCompliance Pack Config Rule[] - List of compliance pack rules.
- risk
Level number - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- config
Compliance stringPack Id - ID of the resource.
- description string
- Description of the compliance pack.
- status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- compliance_
pack_ strname - Compliance pack name.
- config_
rules Sequence[ConfigCompliance Pack Config Rule Args] - List of compliance pack rules.
- risk_
level float - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- config_
compliance_ strpack_ id - ID of the resource.
- description str
- Description of the compliance pack.
- status str
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- compliance
Pack StringName - Compliance pack name.
- config
Rules List<Property Map> - List of compliance pack rules.
- risk
Level Number - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- config
Compliance StringPack Id - ID of the resource.
- description String
- Description of the compliance pack.
- status String
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConfigCompliancePack resource produces the following output properties:
- Compliance
Pack stringId - Compliance pack ID.
- Create
Time string - Creation time of the compliance pack.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compliance
Pack stringId - Compliance pack ID.
- Create
Time string - Creation time of the compliance pack.
- Id string
- The provider-assigned unique ID for this managed resource.
- compliance_
pack_ stringid - Compliance pack ID.
- create_
time string - Creation time of the compliance pack.
- id string
- The provider-assigned unique ID for this managed resource.
- compliance
Pack StringId - Compliance pack ID.
- create
Time String - Creation time of the compliance pack.
- id String
- The provider-assigned unique ID for this managed resource.
- compliance
Pack stringId - Compliance pack ID.
- create
Time string - Creation time of the compliance pack.
- id string
- The provider-assigned unique ID for this managed resource.
- compliance_
pack_ strid - Compliance pack ID.
- create_
time str - Creation time of the compliance pack.
- id str
- The provider-assigned unique ID for this managed resource.
- compliance
Pack StringId - Compliance pack ID.
- create
Time String - Creation time of the compliance pack.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ConfigCompliancePack Resource
Get an existing ConfigCompliancePack 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?: ConfigCompliancePackState, opts?: CustomResourceOptions): ConfigCompliancePack@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compliance_pack_id: Optional[str] = None,
compliance_pack_name: Optional[str] = None,
config_compliance_pack_id: Optional[str] = None,
config_rules: Optional[Sequence[ConfigCompliancePackConfigRuleArgs]] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
risk_level: Optional[float] = None,
status: Optional[str] = None) -> ConfigCompliancePackfunc GetConfigCompliancePack(ctx *Context, name string, id IDInput, state *ConfigCompliancePackState, opts ...ResourceOption) (*ConfigCompliancePack, error)public static ConfigCompliancePack Get(string name, Input<string> id, ConfigCompliancePackState? state, CustomResourceOptions? opts = null)public static ConfigCompliancePack get(String name, Output<String> id, ConfigCompliancePackState state, CustomResourceOptions options)resources: _: type: tencentcloud:ConfigCompliancePack get: id: ${id}import {
to = tencentcloud_configcompliancepack.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.
- Compliance
Pack stringId - Compliance pack ID.
- Compliance
Pack stringName - Compliance pack name.
- Config
Compliance stringPack Id - ID of the resource.
- Config
Rules List<ConfigCompliance Pack Config Rule> - List of compliance pack rules.
- Create
Time string - Creation time of the compliance pack.
- Description string
- Description of the compliance pack.
- Risk
Level double - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- Status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- Compliance
Pack stringId - Compliance pack ID.
- Compliance
Pack stringName - Compliance pack name.
- Config
Compliance stringPack Id - ID of the resource.
- Config
Rules []ConfigCompliance Pack Config Rule Args - List of compliance pack rules.
- Create
Time string - Creation time of the compliance pack.
- Description string
- Description of the compliance pack.
- Risk
Level float64 - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- Status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- compliance_
pack_ stringid - Compliance pack ID.
- compliance_
pack_ stringname - Compliance pack name.
- config_
compliance_ stringpack_ id - ID of the resource.
- config_
rules list(object) - List of compliance pack rules.
- create_
time string - Creation time of the compliance pack.
- description string
- Description of the compliance pack.
- risk_
level number - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- compliance
Pack StringId - Compliance pack ID.
- compliance
Pack StringName - Compliance pack name.
- config
Compliance StringPack Id - ID of the resource.
- config
Rules List<ConfigCompliance Pack Config Rule> - List of compliance pack rules.
- create
Time String - Creation time of the compliance pack.
- description String
- Description of the compliance pack.
- risk
Level Double - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- status String
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- compliance
Pack stringId - Compliance pack ID.
- compliance
Pack stringName - Compliance pack name.
- config
Compliance stringPack Id - ID of the resource.
- config
Rules ConfigCompliance Pack Config Rule[] - List of compliance pack rules.
- create
Time string - Creation time of the compliance pack.
- description string
- Description of the compliance pack.
- risk
Level number - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- compliance_
pack_ strid - Compliance pack ID.
- compliance_
pack_ strname - Compliance pack name.
- config_
compliance_ strpack_ id - ID of the resource.
- config_
rules Sequence[ConfigCompliance Pack Config Rule Args] - List of compliance pack rules.
- create_
time str - Creation time of the compliance pack.
- description str
- Description of the compliance pack.
- risk_
level float - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- status str
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- compliance
Pack StringId - Compliance pack ID.
- compliance
Pack StringName - Compliance pack name.
- config
Compliance StringPack Id - ID of the resource.
- config
Rules List<Property Map> - List of compliance pack rules.
- create
Time String - Creation time of the compliance pack.
- description String
- Description of the compliance pack.
- risk
Level Number - Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- status String
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
Supporting Types
ConfigCompliancePackConfigRule, ConfigCompliancePackConfigRuleArgs
- Identifier string
- Rule identifier (managed rule name or custom rule cloud function ARN).
- Compliance
Pack stringId - Compliance pack ID that this rule belongs to.
- Compliance
Result string - Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
- Config
Rule stringId - Config rule ID.
- Description string
- Rule description.
- Input
Parameters List<ConfigCompliance Pack Config Rule Input Parameter> - Rule input parameters.
- Managed
Rule stringIdentifier - Managed rule identifier (preset rule identity).
- Risk
Level double - Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- Rule
Name string - Rule name.
- Status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- Identifier string
- Rule identifier (managed rule name or custom rule cloud function ARN).
- Compliance
Pack stringId - Compliance pack ID that this rule belongs to.
- Compliance
Result string - Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
- Config
Rule stringId - Config rule ID.
- Description string
- Rule description.
- Input
Parameters []ConfigCompliance Pack Config Rule Input Parameter - Rule input parameters.
- Managed
Rule stringIdentifier - Managed rule identifier (preset rule identity).
- Risk
Level float64 - Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- Rule
Name string - Rule name.
- Status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- identifier string
- Rule identifier (managed rule name or custom rule cloud function ARN).
- compliance_
pack_ stringid - Compliance pack ID that this rule belongs to.
- compliance_
result string - Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
- config_
rule_ stringid - Config rule ID.
- description string
- Rule description.
- input_
parameters list(object) - Rule input parameters.
- managed_
rule_ stringidentifier - Managed rule identifier (preset rule identity).
- risk_
level number - Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- rule_
name string - Rule name.
- status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- identifier String
- Rule identifier (managed rule name or custom rule cloud function ARN).
- compliance
Pack StringId - Compliance pack ID that this rule belongs to.
- compliance
Result String - Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
- config
Rule StringId - Config rule ID.
- description String
- Rule description.
- input
Parameters List<ConfigCompliance Pack Config Rule Input Parameter> - Rule input parameters.
- managed
Rule StringIdentifier - Managed rule identifier (preset rule identity).
- risk
Level Double - Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- rule
Name String - Rule name.
- status String
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- identifier string
- Rule identifier (managed rule name or custom rule cloud function ARN).
- compliance
Pack stringId - Compliance pack ID that this rule belongs to.
- compliance
Result string - Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
- config
Rule stringId - Config rule ID.
- description string
- Rule description.
- input
Parameters ConfigCompliance Pack Config Rule Input Parameter[] - Rule input parameters.
- managed
Rule stringIdentifier - Managed rule identifier (preset rule identity).
- risk
Level number - Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- rule
Name string - Rule name.
- status string
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- identifier str
- Rule identifier (managed rule name or custom rule cloud function ARN).
- compliance_
pack_ strid - Compliance pack ID that this rule belongs to.
- compliance_
result str - Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
- config_
rule_ strid - Config rule ID.
- description str
- Rule description.
- input_
parameters Sequence[ConfigCompliance Pack Config Rule Input Parameter] - Rule input parameters.
- managed_
rule_ stridentifier - Managed rule identifier (preset rule identity).
- risk_
level float - Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- rule_
name str - Rule name.
- status str
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
- identifier String
- Rule identifier (managed rule name or custom rule cloud function ARN).
- compliance
Pack StringId - Compliance pack ID that this rule belongs to.
- compliance
Result String - Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
- config
Rule StringId - Config rule ID.
- description String
- Rule description.
- input
Parameters List<Property Map> - Rule input parameters.
- managed
Rule StringIdentifier - Managed rule identifier (preset rule identity).
- risk
Level Number - Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
- rule
Name String - Rule name.
- status String
- Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
ConfigCompliancePackConfigRuleInputParameter, ConfigCompliancePackConfigRuleInputParameterArgs
- Parameter
Key string - Parameter key.
- Type string
- Parameter type: Require or Optional.
- Value string
- Parameter value.
- Parameter
Key string - Parameter key.
- Type string
- Parameter type: Require or Optional.
- Value string
- Parameter value.
- parameter_
key string - Parameter key.
- type string
- Parameter type: Require or Optional.
- value string
- Parameter value.
- parameter
Key String - Parameter key.
- type String
- Parameter type: Require or Optional.
- value String
- Parameter value.
- parameter
Key string - Parameter key.
- type string
- Parameter type: Require or Optional.
- value string
- Parameter value.
- parameter_
key str - Parameter key.
- type str
- Parameter type: Require or Optional.
- value str
- Parameter value.
- parameter
Key String - Parameter key.
- type String
- Parameter type: Require or Optional.
- value String
- Parameter value.
Import
Config compliance pack can be imported using the id, e.g.
$ pulumi import tencentcloud:index/configCompliancePack:ConfigCompliancePack example cp-33mA27YUlOJWG4sJ53Sx
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
published on Monday, May 11, 2026 by tencentcloudstack
