1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. ConfigCompliancePack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack

    Provides a resource to create a Config compliance pack.

    NOTE: The current resource tencentcloud.ConfigCompliancePack does 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:

    CompliancePackName string
    Compliance pack name.
    ConfigRules List<ConfigCompliancePackConfigRule>
    List of compliance pack rules.
    RiskLevel double
    Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    ConfigCompliancePackId string
    ID of the resource.
    Description string
    Description of the compliance pack.
    Status string
    Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
    CompliancePackName string
    Compliance pack name.
    ConfigRules []ConfigCompliancePackConfigRuleArgs
    List of compliance pack rules.
    RiskLevel float64
    Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    ConfigCompliancePackId string
    ID of the resource.
    Description string
    Description of the compliance pack.
    Status string
    Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
    compliance_pack_name string
    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_pack_id string
    ID of the resource.
    description string
    Description of the compliance pack.
    status string
    Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
    compliancePackName String
    Compliance pack name.
    configRules List<ConfigCompliancePackConfigRule>
    List of compliance pack rules.
    riskLevel Double
    Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    configCompliancePackId String
    ID of the resource.
    description String
    Description of the compliance pack.
    status String
    Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
    compliancePackName string
    Compliance pack name.
    configRules ConfigCompliancePackConfigRule[]
    List of compliance pack rules.
    riskLevel number
    Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    configCompliancePackId string
    ID of the resource.
    description string
    Description of the compliance pack.
    status string
    Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
    compliance_pack_name str
    Compliance pack name.
    config_rules Sequence[ConfigCompliancePackConfigRuleArgs]
    List of compliance pack rules.
    risk_level float
    Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    config_compliance_pack_id str
    ID of the resource.
    description str
    Description of the compliance pack.
    status str
    Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
    compliancePackName String
    Compliance pack name.
    configRules List<Property Map>
    List of compliance pack rules.
    riskLevel Number
    Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    configCompliancePackId String
    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:

    CompliancePackId string
    Compliance pack ID.
    CreateTime string
    Creation time of the compliance pack.
    Id string
    The provider-assigned unique ID for this managed resource.
    CompliancePackId string
    Compliance pack ID.
    CreateTime string
    Creation time of the compliance pack.
    Id string
    The provider-assigned unique ID for this managed resource.
    compliance_pack_id string
    Compliance pack ID.
    create_time string
    Creation time of the compliance pack.
    id string
    The provider-assigned unique ID for this managed resource.
    compliancePackId String
    Compliance pack ID.
    createTime String
    Creation time of the compliance pack.
    id String
    The provider-assigned unique ID for this managed resource.
    compliancePackId string
    Compliance pack ID.
    createTime string
    Creation time of the compliance pack.
    id string
    The provider-assigned unique ID for this managed resource.
    compliance_pack_id str
    Compliance pack ID.
    create_time str
    Creation time of the compliance pack.
    id str
    The provider-assigned unique ID for this managed resource.
    compliancePackId String
    Compliance pack ID.
    createTime 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) -> ConfigCompliancePack
    func 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.
    The following state arguments are supported:
    CompliancePackId string
    Compliance pack ID.
    CompliancePackName string
    Compliance pack name.
    ConfigCompliancePackId string
    ID of the resource.
    ConfigRules List<ConfigCompliancePackConfigRule>
    List of compliance pack rules.
    CreateTime string
    Creation time of the compliance pack.
    Description string
    Description of the compliance pack.
    RiskLevel double
    Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    Status string
    Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
    CompliancePackId string
    Compliance pack ID.
    CompliancePackName string
    Compliance pack name.
    ConfigCompliancePackId string
    ID of the resource.
    ConfigRules []ConfigCompliancePackConfigRuleArgs
    List of compliance pack rules.
    CreateTime string
    Creation time of the compliance pack.
    Description string
    Description of the compliance pack.
    RiskLevel 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_id string
    Compliance pack ID.
    compliance_pack_name string
    Compliance pack name.
    config_compliance_pack_id string
    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.
    compliancePackId String
    Compliance pack ID.
    compliancePackName String
    Compliance pack name.
    configCompliancePackId String
    ID of the resource.
    configRules List<ConfigCompliancePackConfigRule>
    List of compliance pack rules.
    createTime String
    Creation time of the compliance pack.
    description String
    Description of the compliance pack.
    riskLevel Double
    Risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    status String
    Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.
    compliancePackId string
    Compliance pack ID.
    compliancePackName string
    Compliance pack name.
    configCompliancePackId string
    ID of the resource.
    configRules ConfigCompliancePackConfigRule[]
    List of compliance pack rules.
    createTime string
    Creation time of the compliance pack.
    description string
    Description of the compliance pack.
    riskLevel 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_id str
    Compliance pack ID.
    compliance_pack_name str
    Compliance pack name.
    config_compliance_pack_id str
    ID of the resource.
    config_rules Sequence[ConfigCompliancePackConfigRuleArgs]
    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.
    compliancePackId String
    Compliance pack ID.
    compliancePackName String
    Compliance pack name.
    configCompliancePackId String
    ID of the resource.
    configRules List<Property Map>
    List of compliance pack rules.
    createTime String
    Creation time of the compliance pack.
    description String
    Description of the compliance pack.
    riskLevel 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).
    CompliancePackId string
    Compliance pack ID that this rule belongs to.
    ComplianceResult string
    Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
    ConfigRuleId string
    Config rule ID.
    Description string
    Rule description.
    InputParameters List<ConfigCompliancePackConfigRuleInputParameter>
    Rule input parameters.
    ManagedRuleIdentifier string
    Managed rule identifier (preset rule identity).
    RiskLevel double
    Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    RuleName 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).
    CompliancePackId string
    Compliance pack ID that this rule belongs to.
    ComplianceResult string
    Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
    ConfigRuleId string
    Config rule ID.
    Description string
    Rule description.
    InputParameters []ConfigCompliancePackConfigRuleInputParameter
    Rule input parameters.
    ManagedRuleIdentifier string
    Managed rule identifier (preset rule identity).
    RiskLevel float64
    Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    RuleName 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_id string
    Compliance pack ID that this rule belongs to.
    compliance_result string
    Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
    config_rule_id string
    Config rule ID.
    description string
    Rule description.
    input_parameters list(object)
    Rule input parameters.
    managed_rule_identifier string
    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).
    compliancePackId String
    Compliance pack ID that this rule belongs to.
    complianceResult String
    Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
    configRuleId String
    Config rule ID.
    description String
    Rule description.
    inputParameters List<ConfigCompliancePackConfigRuleInputParameter>
    Rule input parameters.
    managedRuleIdentifier String
    Managed rule identifier (preset rule identity).
    riskLevel Double
    Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    ruleName 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).
    compliancePackId string
    Compliance pack ID that this rule belongs to.
    complianceResult string
    Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
    configRuleId string
    Config rule ID.
    description string
    Rule description.
    inputParameters ConfigCompliancePackConfigRuleInputParameter[]
    Rule input parameters.
    managedRuleIdentifier string
    Managed rule identifier (preset rule identity).
    riskLevel number
    Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    ruleName 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_id str
    Compliance pack ID that this rule belongs to.
    compliance_result str
    Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
    config_rule_id str
    Config rule ID.
    description str
    Rule description.
    input_parameters Sequence[ConfigCompliancePackConfigRuleInputParameter]
    Rule input parameters.
    managed_rule_identifier str
    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).
    compliancePackId String
    Compliance pack ID that this rule belongs to.
    complianceResult String
    Compliance result. Valid values: COMPLIANT, NON_COMPLIANT.
    configRuleId String
    Config rule ID.
    description String
    Rule description.
    inputParameters List<Property Map>
    Rule input parameters.
    managedRuleIdentifier String
    Managed rule identifier (preset rule identity).
    riskLevel Number
    Rule risk level. Valid values: 1 (high risk), 2 (medium risk), 3 (low risk).
    ruleName String
    Rule name.
    status String
    Compliance pack status. Valid values: ACTIVE, UN_ACTIVE.

    ConfigCompliancePackConfigRuleInputParameter, ConfigCompliancePackConfigRuleInputParameterArgs

    ParameterKey string
    Parameter key.
    Type string
    Parameter type: Require or Optional.
    Value string
    Parameter value.
    ParameterKey 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.
    parameterKey String
    Parameter key.
    type String
    Parameter type: Require or Optional.
    value String
    Parameter value.
    parameterKey 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.
    parameterKey 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 tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.82.93
    published on Monday, May 11, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.