Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.cfg.getRules
Explore with Pulumi AI
This data source provides the Config Rules of the current Alibaba Cloud user.
NOTE: Available in 1.99.0+.
NOTE: The Cloud Config region only support
cn-shanghaiandap-southeast-1.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = alicloud.cfg.getRules({
    ids: ["cr-ed4bad756057********"],
    nameRegex: "tftest",
});
export const firstConfigRuleId = example.then(example => example.rules?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.cfg.get_rules(ids=["cr-ed4bad756057********"],
    name_regex="tftest")
pulumi.export("firstConfigRuleId", example.rules[0].id)
package main
import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cfg"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cfg.GetRules(ctx, &cfg.GetRulesArgs{
			Ids: []string{
				"cr-ed4bad756057********",
			},
			NameRegex: pulumi.StringRef("tftest"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigRuleId", example.Rules[0].Id)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var example = AliCloud.Cfg.GetRules.Invoke(new()
    {
        Ids = new[]
        {
            "cr-ed4bad756057********",
        },
        NameRegex = "tftest",
    });
    return new Dictionary<string, object?>
    {
        ["firstConfigRuleId"] = example.Apply(getRulesResult => getRulesResult.Rules[0]?.Id),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cfg.CfgFunctions;
import com.pulumi.alicloud.cfg.inputs.GetRulesArgs;
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) {
        final var example = CfgFunctions.getRules(GetRulesArgs.builder()
            .ids("cr-ed4bad756057********")
            .nameRegex("tftest")
            .build());
        ctx.export("firstConfigRuleId", example.applyValue(getRulesResult -> getRulesResult.rules()[0].id()));
    }
}
variables:
  example:
    fn::invoke:
      Function: alicloud:cfg:getRules
      Arguments:
        ids:
          - cr-ed4bad756057********
        nameRegex: tftest
outputs:
  firstConfigRuleId: ${example.rules[0].id}
Using getRules
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRules(args: GetRulesArgs, opts?: InvokeOptions): Promise<GetRulesResult>
function getRulesOutput(args: GetRulesOutputArgs, opts?: InvokeOptions): Output<GetRulesResult>def get_rules(config_rule_state: Optional[str] = None,
              enable_details: Optional[bool] = None,
              ids: Optional[Sequence[str]] = None,
              name_regex: Optional[str] = None,
              output_file: Optional[str] = None,
              risk_level: Optional[int] = None,
              rule_name: Optional[str] = None,
              status: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetRulesResult
def get_rules_output(config_rule_state: Optional[pulumi.Input[str]] = None,
              enable_details: Optional[pulumi.Input[bool]] = None,
              ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              name_regex: Optional[pulumi.Input[str]] = None,
              output_file: Optional[pulumi.Input[str]] = None,
              risk_level: Optional[pulumi.Input[int]] = None,
              rule_name: Optional[pulumi.Input[str]] = None,
              status: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetRulesResult]func GetRules(ctx *Context, args *GetRulesArgs, opts ...InvokeOption) (*GetRulesResult, error)
func GetRulesOutput(ctx *Context, args *GetRulesOutputArgs, opts ...InvokeOption) GetRulesResultOutput> Note: This function is named GetRules in the Go SDK.
public static class GetRules 
{
    public static Task<GetRulesResult> InvokeAsync(GetRulesArgs args, InvokeOptions? opts = null)
    public static Output<GetRulesResult> Invoke(GetRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRulesResult> getRules(GetRulesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:cfg/getRules:getRules
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Config
Rule stringState  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - Enable
Details bool - Default to 
false. Set it totruecan output more details about resource attributes. - Ids List<string>
 - A list of Config Rule IDs.
 - Name
Regex string - A regex string to filter results by rule name.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). - Risk
Level int - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - Rule
Name string - The name of config rule.
 - Status string
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. 
- Config
Rule stringState  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - Enable
Details bool - Default to 
false. Set it totruecan output more details about resource attributes. - Ids []string
 - A list of Config Rule IDs.
 - Name
Regex string - A regex string to filter results by rule name.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). - Risk
Level int - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - Rule
Name string - The name of config rule.
 - Status string
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. 
- config
Rule StringState  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - enable
Details Boolean - Default to 
false. Set it totruecan output more details about resource attributes. - ids List<String>
 - A list of Config Rule IDs.
 - name
Regex String - A regex string to filter results by rule name.
 - output
File String - File name where to save data source results (after running 
pulumi preview). - risk
Level Integer - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - rule
Name String - The name of config rule.
 - status String
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. 
- config
Rule stringState  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - enable
Details boolean - Default to 
false. Set it totruecan output more details about resource attributes. - ids string[]
 - A list of Config Rule IDs.
 - name
Regex string - A regex string to filter results by rule name.
 - output
File string - File name where to save data source results (after running 
pulumi preview). - risk
Level number - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - rule
Name string - The name of config rule.
 - status string
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. 
- config_
rule_ strstate  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - enable_
details bool - Default to 
false. Set it totruecan output more details about resource attributes. - ids Sequence[str]
 - A list of Config Rule IDs.
 - name_
regex str - A regex string to filter results by rule name.
 - output_
file str - File name where to save data source results (after running 
pulumi preview). - risk_
level int - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - rule_
name str - The name of config rule.
 - status str
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. 
- config
Rule StringState  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - enable
Details Boolean - Default to 
false. Set it totruecan output more details about resource attributes. - ids List<String>
 - A list of Config Rule IDs.
 - name
Regex String - A regex string to filter results by rule name.
 - output
File String - File name where to save data source results (after running 
pulumi preview). - risk
Level Number - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - rule
Name String - The name of config rule.
 - status String
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. 
getRules Result
The following output properties are available:
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids List<string>
 - A list of Config Rule IDs.
 - Names List<string>
 - A list of Config Rule names.
 - Rules
List<Pulumi.
Ali Cloud. Cfg. Outputs. Get Rules Rule>  - A list of Config Rules. Each element contains the following attributes:
 - Config
Rule stringState  - The state of the Config Rule.
 - Enable
Details bool - Name
Regex string - Output
File string - Risk
Level int - The risk level of the Config Rule.
 - Rule
Name string - The name of the Config Rule.
 - Status string
 - (Available in 1.124.1+) The status of config rule.
 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids []string
 - A list of Config Rule IDs.
 - Names []string
 - A list of Config Rule names.
 - Rules
[]Get
Rules Rule  - A list of Config Rules. Each element contains the following attributes:
 - Config
Rule stringState  - The state of the Config Rule.
 - Enable
Details bool - Name
Regex string - Output
File string - Risk
Level int - The risk level of the Config Rule.
 - Rule
Name string - The name of the Config Rule.
 - Status string
 - (Available in 1.124.1+) The status of config rule.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - A list of Config Rule IDs.
 - names List<String>
 - A list of Config Rule names.
 - rules
List<Get
Rules Rule>  - A list of Config Rules. Each element contains the following attributes:
 - config
Rule StringState  - The state of the Config Rule.
 - enable
Details Boolean - name
Regex String - output
File String - risk
Level Integer - The risk level of the Config Rule.
 - rule
Name String - The name of the Config Rule.
 - status String
 - (Available in 1.124.1+) The status of config rule.
 
- id string
 - The provider-assigned unique ID for this managed resource.
 - ids string[]
 - A list of Config Rule IDs.
 - names string[]
 - A list of Config Rule names.
 - rules
Get
Rules Rule[]  - A list of Config Rules. Each element contains the following attributes:
 - config
Rule stringState  - The state of the Config Rule.
 - enable
Details boolean - name
Regex string - output
File string - risk
Level number - The risk level of the Config Rule.
 - rule
Name string - The name of the Config Rule.
 - status string
 - (Available in 1.124.1+) The status of config rule.
 
- id str
 - The provider-assigned unique ID for this managed resource.
 - ids Sequence[str]
 - A list of Config Rule IDs.
 - names Sequence[str]
 - A list of Config Rule names.
 - rules
Sequence[Get
Rules Rule]  - A list of Config Rules. Each element contains the following attributes:
 - config_
rule_ strstate  - The state of the Config Rule.
 - enable_
details bool - name_
regex str - output_
file str - risk_
level int - The risk level of the Config Rule.
 - rule_
name str - The name of the Config Rule.
 - status str
 - (Available in 1.124.1+) The status of config rule.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - A list of Config Rule IDs.
 - names List<String>
 - A list of Config Rule names.
 - rules List<Property Map>
 - A list of Config Rules. Each element contains the following attributes:
 - config
Rule StringState  - The state of the Config Rule.
 - enable
Details Boolean - name
Regex String - output
File String - risk
Level Number - The risk level of the Config Rule.
 - rule
Name String - The name of the Config Rule.
 - status String
 - (Available in 1.124.1+) The status of config rule.
 
Supporting Types
GetRulesRule  
- Account
Id string - The ID of the Alicloud account.
 - Compliance
Pack stringId  - Compliances
List<Pulumi.
Ali Cloud. Cfg. Inputs. Get Rules Rule Compliance>  - The information about the compliance evaluations based on the rule.
 - Config
Rule stringArn  - The ARN of the Config Rule.
 - Config
Rule stringId  - The ID of the Config Rule.
 - Config
Rule stringState  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - Config
Rule stringTrigger Types  - (Available in 1.124.1+) A list of trigger types of config rule.
 - Description string
 - The description of the Config Rule.
 - Event
Source string - Event source of the Config Rule.
 - Exclude
Resource stringIds Scope  - (Available in 1.124.1+) The scope of exclude of resource ids.
 - Id string
 - The ID of the Config Rule.
 - Input
Parameters Dictionary<string, object> - The input parameters of the Config Rule.
 - Maximum
Execution stringFrequency  - (Available in 1.124.1+) The frequency of maximum execution.
 - Modified
Timestamp string - the timestamp of the Config Rule modified.
 - Region
Ids stringScope  - (Available in 1.124.1+) The scope of region ids.
 - Resource
Group stringIds Scope  - (Available in 1.124.1+) The scope of resource group ids.
 - Resource
Types List<string>Scopes  - (Available in 1.124.1+) The scope of resource types.
 - Risk
Level int - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - Rule
Name string - The name of config rule.
 - Scope
Compliance List<string>Resource Types  - The types of the resources to be evaluated against the rule.
 - Source
Detail stringMessage Type  - Rule trigger mechanism.
 - Source
Identifier string - The identifier of the managed rule or the arn of the custom function.
 - Source
Maximum stringExecution Frequency  - Rule execution cycle.
 - Source
Owner string - The source owner of the Config Rule.
 - Status string
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. - Tag
Key stringScope  - (Available in 1.124.1+) The scope of tag key.
 - Tag
Value stringScope  - (Available in 1.124.1+) The scope of tag value.
 
- Account
Id string - The ID of the Alicloud account.
 - Compliance
Pack stringId  - Compliances
[]Get
Rules Rule Compliance  - The information about the compliance evaluations based on the rule.
 - Config
Rule stringArn  - The ARN of the Config Rule.
 - Config
Rule stringId  - The ID of the Config Rule.
 - Config
Rule stringState  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - Config
Rule stringTrigger Types  - (Available in 1.124.1+) A list of trigger types of config rule.
 - Description string
 - The description of the Config Rule.
 - Event
Source string - Event source of the Config Rule.
 - Exclude
Resource stringIds Scope  - (Available in 1.124.1+) The scope of exclude of resource ids.
 - Id string
 - The ID of the Config Rule.
 - Input
Parameters map[string]interface{} - The input parameters of the Config Rule.
 - Maximum
Execution stringFrequency  - (Available in 1.124.1+) The frequency of maximum execution.
 - Modified
Timestamp string - the timestamp of the Config Rule modified.
 - Region
Ids stringScope  - (Available in 1.124.1+) The scope of region ids.
 - Resource
Group stringIds Scope  - (Available in 1.124.1+) The scope of resource group ids.
 - Resource
Types []stringScopes  - (Available in 1.124.1+) The scope of resource types.
 - Risk
Level int - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - Rule
Name string - The name of config rule.
 - Scope
Compliance []stringResource Types  - The types of the resources to be evaluated against the rule.
 - Source
Detail stringMessage Type  - Rule trigger mechanism.
 - Source
Identifier string - The identifier of the managed rule or the arn of the custom function.
 - Source
Maximum stringExecution Frequency  - Rule execution cycle.
 - Source
Owner string - The source owner of the Config Rule.
 - Status string
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. - Tag
Key stringScope  - (Available in 1.124.1+) The scope of tag key.
 - Tag
Value stringScope  - (Available in 1.124.1+) The scope of tag value.
 
- account
Id String - The ID of the Alicloud account.
 - compliance
Pack StringId  - compliances
List<Get
Rules Rule Compliance>  - The information about the compliance evaluations based on the rule.
 - config
Rule StringArn  - The ARN of the Config Rule.
 - config
Rule StringId  - The ID of the Config Rule.
 - config
Rule StringState  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - config
Rule StringTrigger Types  - (Available in 1.124.1+) A list of trigger types of config rule.
 - description String
 - The description of the Config Rule.
 - event
Source String - Event source of the Config Rule.
 - exclude
Resource StringIds Scope  - (Available in 1.124.1+) The scope of exclude of resource ids.
 - id String
 - The ID of the Config Rule.
 - input
Parameters Map<String,Object> - The input parameters of the Config Rule.
 - maximum
Execution StringFrequency  - (Available in 1.124.1+) The frequency of maximum execution.
 - modified
Timestamp String - the timestamp of the Config Rule modified.
 - region
Ids StringScope  - (Available in 1.124.1+) The scope of region ids.
 - resource
Group StringIds Scope  - (Available in 1.124.1+) The scope of resource group ids.
 - resource
Types List<String>Scopes  - (Available in 1.124.1+) The scope of resource types.
 - risk
Level Integer - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - rule
Name String - The name of config rule.
 - scope
Compliance List<String>Resource Types  - The types of the resources to be evaluated against the rule.
 - source
Detail StringMessage Type  - Rule trigger mechanism.
 - source
Identifier String - The identifier of the managed rule or the arn of the custom function.
 - source
Maximum StringExecution Frequency  - Rule execution cycle.
 - source
Owner String - The source owner of the Config Rule.
 - status String
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. - tag
Key StringScope  - (Available in 1.124.1+) The scope of tag key.
 - tag
Value StringScope  - (Available in 1.124.1+) The scope of tag value.
 
- account
Id string - The ID of the Alicloud account.
 - compliance
Pack stringId  - compliances
Get
Rules Rule Compliance[]  - The information about the compliance evaluations based on the rule.
 - config
Rule stringArn  - The ARN of the Config Rule.
 - config
Rule stringId  - The ID of the Config Rule.
 - config
Rule stringState  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - config
Rule stringTrigger Types  - (Available in 1.124.1+) A list of trigger types of config rule.
 - description string
 - The description of the Config Rule.
 - event
Source string - Event source of the Config Rule.
 - exclude
Resource stringIds Scope  - (Available in 1.124.1+) The scope of exclude of resource ids.
 - id string
 - The ID of the Config Rule.
 - input
Parameters {[key: string]: any} - The input parameters of the Config Rule.
 - maximum
Execution stringFrequency  - (Available in 1.124.1+) The frequency of maximum execution.
 - modified
Timestamp string - the timestamp of the Config Rule modified.
 - region
Ids stringScope  - (Available in 1.124.1+) The scope of region ids.
 - resource
Group stringIds Scope  - (Available in 1.124.1+) The scope of resource group ids.
 - resource
Types string[]Scopes  - (Available in 1.124.1+) The scope of resource types.
 - risk
Level number - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - rule
Name string - The name of config rule.
 - scope
Compliance string[]Resource Types  - The types of the resources to be evaluated against the rule.
 - source
Detail stringMessage Type  - Rule trigger mechanism.
 - source
Identifier string - The identifier of the managed rule or the arn of the custom function.
 - source
Maximum stringExecution Frequency  - Rule execution cycle.
 - source
Owner string - The source owner of the Config Rule.
 - status string
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. - tag
Key stringScope  - (Available in 1.124.1+) The scope of tag key.
 - tag
Value stringScope  - (Available in 1.124.1+) The scope of tag value.
 
- account_
id str - The ID of the Alicloud account.
 - compliance_
pack_ strid  - compliances
Sequence[Get
Rules Rule Compliance]  - The information about the compliance evaluations based on the rule.
 - config_
rule_ strarn  - The ARN of the Config Rule.
 - config_
rule_ strid  - The ID of the Config Rule.
 - config_
rule_ strstate  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - config_
rule_ strtrigger_ types  - (Available in 1.124.1+) A list of trigger types of config rule.
 - description str
 - The description of the Config Rule.
 - event_
source str - Event source of the Config Rule.
 - exclude_
resource_ strids_ scope  - (Available in 1.124.1+) The scope of exclude of resource ids.
 - id str
 - The ID of the Config Rule.
 - input_
parameters Mapping[str, Any] - The input parameters of the Config Rule.
 - maximum_
execution_ strfrequency  - (Available in 1.124.1+) The frequency of maximum execution.
 - modified_
timestamp str - the timestamp of the Config Rule modified.
 - region_
ids_ strscope  - (Available in 1.124.1+) The scope of region ids.
 - resource_
group_ strids_ scope  - (Available in 1.124.1+) The scope of resource group ids.
 - resource_
types_ Sequence[str]scopes  - (Available in 1.124.1+) The scope of resource types.
 - risk_
level int - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - rule_
name str - The name of config rule.
 - scope_
compliance_ Sequence[str]resource_ types  - The types of the resources to be evaluated against the rule.
 - source_
detail_ strmessage_ type  - Rule trigger mechanism.
 - source_
identifier str - The identifier of the managed rule or the arn of the custom function.
 - source_
maximum_ strexecution_ frequency  - Rule execution cycle.
 - source_
owner str - The source owner of the Config Rule.
 - status str
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. - tag_
key_ strscope  - (Available in 1.124.1+) The scope of tag key.
 - tag_
value_ strscope  - (Available in 1.124.1+) The scope of tag value.
 
- account
Id String - The ID of the Alicloud account.
 - compliance
Pack StringId  - compliances List<Property Map>
 - The information about the compliance evaluations based on the rule.
 - config
Rule StringArn  - The ARN of the Config Rule.
 - config
Rule StringId  - The ID of the Config Rule.
 - config
Rule StringState  - Field 
config_rule_statehas been deprecated from provider version 1.124.1. New fieldstatusinstead. - config
Rule StringTrigger Types  - (Available in 1.124.1+) A list of trigger types of config rule.
 - description String
 - The description of the Config Rule.
 - event
Source String - Event source of the Config Rule.
 - exclude
Resource StringIds Scope  - (Available in 1.124.1+) The scope of exclude of resource ids.
 - id String
 - The ID of the Config Rule.
 - input
Parameters Map<Any> - The input parameters of the Config Rule.
 - maximum
Execution StringFrequency  - (Available in 1.124.1+) The frequency of maximum execution.
 - modified
Timestamp String - the timestamp of the Config Rule modified.
 - region
Ids StringScope  - (Available in 1.124.1+) The scope of region ids.
 - resource
Group StringIds Scope  - (Available in 1.124.1+) The scope of resource group ids.
 - resource
Types List<String>Scopes  - (Available in 1.124.1+) The scope of resource types.
 - risk
Level Number - The risk level of Config Rule. Valid values: 
1: Critical ,2: Warning ,3: Info. - rule
Name String - The name of config rule.
 - scope
Compliance List<String>Resource Types  - The types of the resources to be evaluated against the rule.
 - source
Detail StringMessage Type  - Rule trigger mechanism.
 - source
Identifier String - The identifier of the managed rule or the arn of the custom function.
 - source
Maximum StringExecution Frequency  - Rule execution cycle.
 - source
Owner String - The source owner of the Config Rule.
 - status String
 - The status of the config rule, valid values: 
ACTIVE,DELETING,EVALUATINGandINACTIVE. - tag
Key StringScope  - (Available in 1.124.1+) The scope of tag key.
 - tag
Value StringScope  - (Available in 1.124.1+) The scope of tag value.
 
GetRulesRuleCompliance   
- Compliance
Type string - The compliance evaluation result of the target resources.
 - Count int
 - The number of resources with the specified compliance evaluation result.
 
- Compliance
Type string - The compliance evaluation result of the target resources.
 - Count int
 - The number of resources with the specified compliance evaluation result.
 
- compliance
Type String - The compliance evaluation result of the target resources.
 - count Integer
 - The number of resources with the specified compliance evaluation result.
 
- compliance
Type string - The compliance evaluation result of the target resources.
 - count number
 - The number of resources with the specified compliance evaluation result.
 
- compliance_
type str - The compliance evaluation result of the target resources.
 - count int
 - The number of resources with the specified compliance evaluation result.
 
- compliance
Type String - The compliance evaluation result of the target resources.
 - count Number
 - The number of resources with the specified compliance evaluation result.
 
Package Details
- Repository
 - Alibaba Cloud pulumi/pulumi-alicloud
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
alicloudTerraform Provider.