cfg

package
v3.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregateCompliancePack added in v3.3.0

type AggregateCompliancePack struct {
	pulumi.CustomResourceState

	// The name of compliance package name.
	AggregateCompliancePackName pulumi.StringOutput `pulumi:"aggregateCompliancePackName"`
	// The ID of aggregator.
	AggregatorId pulumi.StringOutput `pulumi:"aggregatorId"`
	// The Template ID of compliance package.
	CompliancePackTemplateId pulumi.StringPtrOutput `pulumi:"compliancePackTemplateId"`
	// A list of Config Rule IDs.
	ConfigRuleIds AggregateCompliancePackConfigRuleIdArrayOutput `pulumi:"configRuleIds"`
	// A list of Config Rules.
	//
	// Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead.
	ConfigRules AggregateCompliancePackConfigRuleArrayOutput `pulumi:"configRules"`
	// The description of compliance package.
	Description pulumi.StringOutput `pulumi:"description"`
	// The Risk Level. Valid values: `1`, `2`, `3`.
	RiskLevel pulumi.IntOutput `pulumi:"riskLevel"`
	// The status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Cloud Config Aggregate Compliance Pack resource.

For information about Cloud Config Aggregate Compliance Pack and how to use it, see [What is Aggregate Compliance Pack](https://help.aliyun.com/).

> **NOTE:** Available in v1.124.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cfg"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "example_name"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		opt0 := "OK"
		defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{
			Status: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		defaultInstances, err := ecs.GetInstances(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultAggregator, err := cfg.NewAggregator(ctx, "defaultAggregator", &cfg.AggregatorArgs{
			AggregatorAccounts: cfg.AggregatorAggregatorAccountArray{
				&cfg.AggregatorAggregatorAccountArgs{
					AccountId:   pulumi.String("140278452670****"),
					AccountName: pulumi.String("test-2"),
					AccountType: pulumi.String("ResourceDirectory"),
				},
			},
			AggregatorName: pulumi.String("tf-testaccaggregator"),
			Description:    pulumi.String("tf-testaccaggregator"),
		})
		if err != nil {
			return err
		}
		defaultAggregateConfigRule, err := cfg.NewAggregateConfigRule(ctx, "defaultAggregateConfigRule", &cfg.AggregateConfigRuleArgs{
			AggregatorId:            defaultAggregator.ID(),
			AggregateConfigRuleName: pulumi.String(name),
			SourceOwner:             pulumi.String("ALIYUN"),
			SourceIdentifier:        pulumi.String("ecs-cpu-min-count-limit"),
			ConfigRuleTriggerTypes:  pulumi.String("ConfigurationItemChangeNotification"),
			ResourceTypesScopes: pulumi.StringArray{
				pulumi.String("ACS::ECS::Instance"),
			},
			RiskLevel:               pulumi.Int(1),
			Description:             pulumi.String(name),
			ExcludeResourceIdsScope: pulumi.String(defaultInstances.Ids[0]),
			InputParameters: pulumi.AnyMap{
				"cpuCount": pulumi.Any("4"),
			},
			RegionIdsScope:        pulumi.String("cn-hangzhou"),
			ResourceGroupIdsScope: pulumi.String(defaultResourceGroups.Ids[0]),
			TagKeyScope:           pulumi.String("tFTest"),
			TagValueScope:         pulumi.String("forTF 123"),
		})
		if err != nil {
			return err
		}
		_, err = cfg.NewAggregateCompliancePack(ctx, "defaultAggregateCompliancePack", &cfg.AggregateCompliancePackArgs{
			AggregateCompliancePackName: pulumi.String("tf-testaccConfig1234"),
			AggregatorId:                defaultAggregator.ID(),
			Description:                 pulumi.String("tf-testaccConfig1234"),
			RiskLevel:                   pulumi.Int(1),
			ConfigRuleIds: cfg.AggregateCompliancePackConfigRuleIdArray{
				&cfg.AggregateCompliancePackConfigRuleIdArgs{
					ConfigRuleId: defaultAggregateConfigRule.ConfigRuleId,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cloud Config Aggregate Compliance Pack can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cfg/aggregateCompliancePack:AggregateCompliancePack example <aggregator_id>:<aggregator_compliance_pack_id>

```

func GetAggregateCompliancePack added in v3.3.0

func GetAggregateCompliancePack(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AggregateCompliancePackState, opts ...pulumi.ResourceOption) (*AggregateCompliancePack, error)

GetAggregateCompliancePack gets an existing AggregateCompliancePack resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAggregateCompliancePack added in v3.3.0

func NewAggregateCompliancePack(ctx *pulumi.Context,
	name string, args *AggregateCompliancePackArgs, opts ...pulumi.ResourceOption) (*AggregateCompliancePack, error)

NewAggregateCompliancePack registers a new resource with the given unique name, arguments, and options.

func (*AggregateCompliancePack) ElementType added in v3.3.0

func (*AggregateCompliancePack) ElementType() reflect.Type

func (*AggregateCompliancePack) ToAggregateCompliancePackOutput added in v3.3.0

func (i *AggregateCompliancePack) ToAggregateCompliancePackOutput() AggregateCompliancePackOutput

func (*AggregateCompliancePack) ToAggregateCompliancePackOutputWithContext added in v3.3.0

func (i *AggregateCompliancePack) ToAggregateCompliancePackOutputWithContext(ctx context.Context) AggregateCompliancePackOutput

func (*AggregateCompliancePack) ToAggregateCompliancePackPtrOutput added in v3.3.0

func (i *AggregateCompliancePack) ToAggregateCompliancePackPtrOutput() AggregateCompliancePackPtrOutput

func (*AggregateCompliancePack) ToAggregateCompliancePackPtrOutputWithContext added in v3.3.0

func (i *AggregateCompliancePack) ToAggregateCompliancePackPtrOutputWithContext(ctx context.Context) AggregateCompliancePackPtrOutput

type AggregateCompliancePackArgs added in v3.3.0

type AggregateCompliancePackArgs struct {
	// The name of compliance package name.
	AggregateCompliancePackName pulumi.StringInput
	// The ID of aggregator.
	AggregatorId pulumi.StringInput
	// The Template ID of compliance package.
	CompliancePackTemplateId pulumi.StringPtrInput
	// A list of Config Rule IDs.
	ConfigRuleIds AggregateCompliancePackConfigRuleIdArrayInput
	// A list of Config Rules.
	//
	// Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead.
	ConfigRules AggregateCompliancePackConfigRuleArrayInput
	// The description of compliance package.
	Description pulumi.StringInput
	// The Risk Level. Valid values: `1`, `2`, `3`.
	RiskLevel pulumi.IntInput
}

The set of arguments for constructing a AggregateCompliancePack resource.

func (AggregateCompliancePackArgs) ElementType added in v3.3.0

type AggregateCompliancePackArray added in v3.3.0

type AggregateCompliancePackArray []AggregateCompliancePackInput

func (AggregateCompliancePackArray) ElementType added in v3.3.0

func (AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutput added in v3.3.0

func (i AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput

func (AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutputWithContext added in v3.3.0

func (i AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutputWithContext(ctx context.Context) AggregateCompliancePackArrayOutput

type AggregateCompliancePackArrayInput added in v3.3.0

type AggregateCompliancePackArrayInput interface {
	pulumi.Input

	ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput
	ToAggregateCompliancePackArrayOutputWithContext(context.Context) AggregateCompliancePackArrayOutput
}

AggregateCompliancePackArrayInput is an input type that accepts AggregateCompliancePackArray and AggregateCompliancePackArrayOutput values. You can construct a concrete instance of `AggregateCompliancePackArrayInput` via:

AggregateCompliancePackArray{ AggregateCompliancePackArgs{...} }

type AggregateCompliancePackArrayOutput added in v3.3.0

type AggregateCompliancePackArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackArrayOutput) ElementType added in v3.3.0

func (AggregateCompliancePackArrayOutput) Index added in v3.3.0

func (AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutput added in v3.3.0

func (o AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput

func (AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutputWithContext added in v3.3.0

func (o AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutputWithContext(ctx context.Context) AggregateCompliancePackArrayOutput

type AggregateCompliancePackConfigRule added in v3.3.0

type AggregateCompliancePackConfigRule struct {
	// A list of parameter rules.
	ConfigRuleParameters []AggregateCompliancePackConfigRuleConfigRuleParameter `pulumi:"configRuleParameters"`
	// The Managed Rule Identifier.
	ManagedRuleIdentifier string `pulumi:"managedRuleIdentifier"`
}

type AggregateCompliancePackConfigRuleArgs added in v3.3.0

type AggregateCompliancePackConfigRuleArgs struct {
	// A list of parameter rules.
	ConfigRuleParameters AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput `pulumi:"configRuleParameters"`
	// The Managed Rule Identifier.
	ManagedRuleIdentifier pulumi.StringInput `pulumi:"managedRuleIdentifier"`
}

func (AggregateCompliancePackConfigRuleArgs) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutput added in v3.3.0

func (i AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput

func (AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutputWithContext added in v3.3.0

func (i AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleOutput

type AggregateCompliancePackConfigRuleArray added in v3.3.0

type AggregateCompliancePackConfigRuleArray []AggregateCompliancePackConfigRuleInput

func (AggregateCompliancePackConfigRuleArray) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutput added in v3.3.0

func (i AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput

func (AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutputWithContext added in v3.3.0

func (i AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleArrayOutput

type AggregateCompliancePackConfigRuleArrayInput added in v3.3.0

type AggregateCompliancePackConfigRuleArrayInput interface {
	pulumi.Input

	ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput
	ToAggregateCompliancePackConfigRuleArrayOutputWithContext(context.Context) AggregateCompliancePackConfigRuleArrayOutput
}

AggregateCompliancePackConfigRuleArrayInput is an input type that accepts AggregateCompliancePackConfigRuleArray and AggregateCompliancePackConfigRuleArrayOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleArrayInput` via:

AggregateCompliancePackConfigRuleArray{ AggregateCompliancePackConfigRuleArgs{...} }

type AggregateCompliancePackConfigRuleArrayOutput added in v3.3.0

type AggregateCompliancePackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleArrayOutput) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleArrayOutput) Index added in v3.3.0

func (AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutput added in v3.3.0

func (o AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput

func (AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutputWithContext added in v3.3.0

func (o AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleArrayOutput

type AggregateCompliancePackConfigRuleConfigRuleParameter added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameter struct {
	// The Parameter Name.
	ParameterName *string `pulumi:"parameterName"`
	// The Parameter Value.
	ParameterValue *string `pulumi:"parameterValue"`
}

type AggregateCompliancePackConfigRuleConfigRuleParameterArgs added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterArgs struct {
	// The Parameter Name.
	ParameterName pulumi.StringPtrInput `pulumi:"parameterName"`
	// The Parameter Value.
	ParameterValue pulumi.StringPtrInput `pulumi:"parameterValue"`
}

func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

func (i AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterOutput

type AggregateCompliancePackConfigRuleConfigRuleParameterArray added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterArray []AggregateCompliancePackConfigRuleConfigRuleParameterInput

func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (i AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput

func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

func (i AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput

type AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput interface {
	pulumi.Input

	ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
	ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput
}

AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput is an input type that accepts AggregateCompliancePackConfigRuleConfigRuleParameterArray and AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput` via:

AggregateCompliancePackConfigRuleConfigRuleParameterArray{ AggregateCompliancePackConfigRuleConfigRuleParameterArgs{...} }

type AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) Index added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

func (o AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput

type AggregateCompliancePackConfigRuleConfigRuleParameterInput added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterInput interface {
	pulumi.Input

	ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput() AggregateCompliancePackConfigRuleConfigRuleParameterOutput
	ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext(context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterOutput
}

AggregateCompliancePackConfigRuleConfigRuleParameterInput is an input type that accepts AggregateCompliancePackConfigRuleConfigRuleParameterArgs and AggregateCompliancePackConfigRuleConfigRuleParameterOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleConfigRuleParameterInput` via:

AggregateCompliancePackConfigRuleConfigRuleParameterArgs{...}

type AggregateCompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterName added in v3.3.0

The Parameter Name.

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue added in v3.3.0

The Parameter Value.

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

func (o AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleConfigRuleParameterOutput

type AggregateCompliancePackConfigRuleId added in v3.9.0

type AggregateCompliancePackConfigRuleId struct {
	// The rule ID of Aggregate Config Rule.
	ConfigRuleId *string `pulumi:"configRuleId"`
}

type AggregateCompliancePackConfigRuleIdArgs added in v3.9.0

type AggregateCompliancePackConfigRuleIdArgs struct {
	// The rule ID of Aggregate Config Rule.
	ConfigRuleId pulumi.StringPtrInput `pulumi:"configRuleId"`
}

func (AggregateCompliancePackConfigRuleIdArgs) ElementType added in v3.9.0

func (AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutput added in v3.9.0

func (i AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput

func (AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutputWithContext added in v3.9.0

func (i AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdOutput

type AggregateCompliancePackConfigRuleIdArray added in v3.9.0

type AggregateCompliancePackConfigRuleIdArray []AggregateCompliancePackConfigRuleIdInput

func (AggregateCompliancePackConfigRuleIdArray) ElementType added in v3.9.0

func (AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutput added in v3.9.0

func (i AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput

func (AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext added in v3.9.0

func (i AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdArrayOutput

type AggregateCompliancePackConfigRuleIdArrayInput added in v3.9.0

type AggregateCompliancePackConfigRuleIdArrayInput interface {
	pulumi.Input

	ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput
	ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext(context.Context) AggregateCompliancePackConfigRuleIdArrayOutput
}

AggregateCompliancePackConfigRuleIdArrayInput is an input type that accepts AggregateCompliancePackConfigRuleIdArray and AggregateCompliancePackConfigRuleIdArrayOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleIdArrayInput` via:

AggregateCompliancePackConfigRuleIdArray{ AggregateCompliancePackConfigRuleIdArgs{...} }

type AggregateCompliancePackConfigRuleIdArrayOutput added in v3.9.0

type AggregateCompliancePackConfigRuleIdArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleIdArrayOutput) ElementType added in v3.9.0

func (AggregateCompliancePackConfigRuleIdArrayOutput) Index added in v3.9.0

func (AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutput added in v3.9.0

func (o AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput

func (AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext added in v3.9.0

func (o AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdArrayOutput

type AggregateCompliancePackConfigRuleIdInput added in v3.9.0

type AggregateCompliancePackConfigRuleIdInput interface {
	pulumi.Input

	ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput
	ToAggregateCompliancePackConfigRuleIdOutputWithContext(context.Context) AggregateCompliancePackConfigRuleIdOutput
}

AggregateCompliancePackConfigRuleIdInput is an input type that accepts AggregateCompliancePackConfigRuleIdArgs and AggregateCompliancePackConfigRuleIdOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleIdInput` via:

AggregateCompliancePackConfigRuleIdArgs{...}

type AggregateCompliancePackConfigRuleIdOutput added in v3.9.0

type AggregateCompliancePackConfigRuleIdOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleIdOutput) ConfigRuleId added in v3.9.0

The rule ID of Aggregate Config Rule.

func (AggregateCompliancePackConfigRuleIdOutput) ElementType added in v3.9.0

func (AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutput added in v3.9.0

func (o AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput

func (AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutputWithContext added in v3.9.0

func (o AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleIdOutput

type AggregateCompliancePackConfigRuleInput added in v3.3.0

type AggregateCompliancePackConfigRuleInput interface {
	pulumi.Input

	ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput
	ToAggregateCompliancePackConfigRuleOutputWithContext(context.Context) AggregateCompliancePackConfigRuleOutput
}

AggregateCompliancePackConfigRuleInput is an input type that accepts AggregateCompliancePackConfigRuleArgs and AggregateCompliancePackConfigRuleOutput values. You can construct a concrete instance of `AggregateCompliancePackConfigRuleInput` via:

AggregateCompliancePackConfigRuleArgs{...}

type AggregateCompliancePackConfigRuleOutput added in v3.3.0

type AggregateCompliancePackConfigRuleOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleOutput) ConfigRuleParameters added in v3.3.0

A list of parameter rules.

func (AggregateCompliancePackConfigRuleOutput) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleOutput) ManagedRuleIdentifier added in v3.3.0

The Managed Rule Identifier.

func (AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutput added in v3.3.0

func (o AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput

func (AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutputWithContext added in v3.3.0

func (o AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutputWithContext(ctx context.Context) AggregateCompliancePackConfigRuleOutput

type AggregateCompliancePackInput added in v3.3.0

type AggregateCompliancePackInput interface {
	pulumi.Input

	ToAggregateCompliancePackOutput() AggregateCompliancePackOutput
	ToAggregateCompliancePackOutputWithContext(ctx context.Context) AggregateCompliancePackOutput
}

type AggregateCompliancePackMap added in v3.3.0

type AggregateCompliancePackMap map[string]AggregateCompliancePackInput

func (AggregateCompliancePackMap) ElementType added in v3.3.0

func (AggregateCompliancePackMap) ElementType() reflect.Type

func (AggregateCompliancePackMap) ToAggregateCompliancePackMapOutput added in v3.3.0

func (i AggregateCompliancePackMap) ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput

func (AggregateCompliancePackMap) ToAggregateCompliancePackMapOutputWithContext added in v3.3.0

func (i AggregateCompliancePackMap) ToAggregateCompliancePackMapOutputWithContext(ctx context.Context) AggregateCompliancePackMapOutput

type AggregateCompliancePackMapInput added in v3.3.0

type AggregateCompliancePackMapInput interface {
	pulumi.Input

	ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput
	ToAggregateCompliancePackMapOutputWithContext(context.Context) AggregateCompliancePackMapOutput
}

AggregateCompliancePackMapInput is an input type that accepts AggregateCompliancePackMap and AggregateCompliancePackMapOutput values. You can construct a concrete instance of `AggregateCompliancePackMapInput` via:

AggregateCompliancePackMap{ "key": AggregateCompliancePackArgs{...} }

type AggregateCompliancePackMapOutput added in v3.3.0

type AggregateCompliancePackMapOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackMapOutput) ElementType added in v3.3.0

func (AggregateCompliancePackMapOutput) MapIndex added in v3.3.0

func (AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutput added in v3.3.0

func (o AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput

func (AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutputWithContext added in v3.3.0

func (o AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutputWithContext(ctx context.Context) AggregateCompliancePackMapOutput

type AggregateCompliancePackOutput added in v3.3.0

type AggregateCompliancePackOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackOutput) ElementType added in v3.3.0

func (AggregateCompliancePackOutput) ToAggregateCompliancePackOutput added in v3.3.0

func (o AggregateCompliancePackOutput) ToAggregateCompliancePackOutput() AggregateCompliancePackOutput

func (AggregateCompliancePackOutput) ToAggregateCompliancePackOutputWithContext added in v3.3.0

func (o AggregateCompliancePackOutput) ToAggregateCompliancePackOutputWithContext(ctx context.Context) AggregateCompliancePackOutput

func (AggregateCompliancePackOutput) ToAggregateCompliancePackPtrOutput added in v3.3.0

func (o AggregateCompliancePackOutput) ToAggregateCompliancePackPtrOutput() AggregateCompliancePackPtrOutput

func (AggregateCompliancePackOutput) ToAggregateCompliancePackPtrOutputWithContext added in v3.3.0

func (o AggregateCompliancePackOutput) ToAggregateCompliancePackPtrOutputWithContext(ctx context.Context) AggregateCompliancePackPtrOutput

type AggregateCompliancePackPtrInput added in v3.3.0

type AggregateCompliancePackPtrInput interface {
	pulumi.Input

	ToAggregateCompliancePackPtrOutput() AggregateCompliancePackPtrOutput
	ToAggregateCompliancePackPtrOutputWithContext(ctx context.Context) AggregateCompliancePackPtrOutput
}

type AggregateCompliancePackPtrOutput added in v3.3.0

type AggregateCompliancePackPtrOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackPtrOutput) Elem added in v3.9.0

func (AggregateCompliancePackPtrOutput) ElementType added in v3.3.0

func (AggregateCompliancePackPtrOutput) ToAggregateCompliancePackPtrOutput added in v3.3.0

func (o AggregateCompliancePackPtrOutput) ToAggregateCompliancePackPtrOutput() AggregateCompliancePackPtrOutput

func (AggregateCompliancePackPtrOutput) ToAggregateCompliancePackPtrOutputWithContext added in v3.3.0

func (o AggregateCompliancePackPtrOutput) ToAggregateCompliancePackPtrOutputWithContext(ctx context.Context) AggregateCompliancePackPtrOutput

type AggregateCompliancePackState added in v3.3.0

type AggregateCompliancePackState struct {
	// The name of compliance package name.
	AggregateCompliancePackName pulumi.StringPtrInput
	// The ID of aggregator.
	AggregatorId pulumi.StringPtrInput
	// The Template ID of compliance package.
	CompliancePackTemplateId pulumi.StringPtrInput
	// A list of Config Rule IDs.
	ConfigRuleIds AggregateCompliancePackConfigRuleIdArrayInput
	// A list of Config Rules.
	//
	// Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead.
	ConfigRules AggregateCompliancePackConfigRuleArrayInput
	// The description of compliance package.
	Description pulumi.StringPtrInput
	// The Risk Level. Valid values: `1`, `2`, `3`.
	RiskLevel pulumi.IntPtrInput
	// The status of the resource.
	Status pulumi.StringPtrInput
}

func (AggregateCompliancePackState) ElementType added in v3.3.0

type AggregateConfigRule added in v3.3.0

type AggregateConfigRule struct {
	pulumi.CustomResourceState

	// The name of the rule.
	AggregateConfigRuleName pulumi.StringOutput `pulumi:"aggregateConfigRuleName"`
	// The Aggregator Id.
	AggregatorId pulumi.StringOutput `pulumi:"aggregatorId"`
	// (Available in 1.141.0+) The rule ID of Aggregate Config Rule.
	ConfigRuleId pulumi.StringOutput `pulumi:"configRuleId"`
	// The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.
	ConfigRuleTriggerTypes pulumi.StringOutput `pulumi:"configRuleTriggerTypes"`
	// The description of the rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, , custom rule this field is empty.
	ExcludeResourceIdsScope pulumi.StringPtrOutput `pulumi:"excludeResourceIdsScope"`
	// The settings map of the input parameters for the rule.
	InputParameters pulumi.MapOutput `pulumi:"inputParameters"`
	// The frequency of the compliance evaluations. Valid values:  `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. System default value is `TwentyFour_Hours` and valid when the `configRuleTriggerTypes` is `ScheduledNotification`.
	MaximumExecutionFrequency pulumi.StringOutput `pulumi:"maximumExecutionFrequency"`
	// The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.
	RegionIdsScope pulumi.StringPtrOutput `pulumi:"regionIdsScope"`
	// The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.
	ResourceGroupIdsScope pulumi.StringPtrOutput `pulumi:"resourceGroupIdsScope"`
	// Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
	ResourceTypesScopes pulumi.StringArrayOutput `pulumi:"resourceTypesScopes"`
	// The risk level of the resources that are not compliant with the rule. Valid values:  `1`: critical `2`: warning `3`: info.
	RiskLevel pulumi.IntOutput `pulumi:"riskLevel"`
	// The identifier of the rule. For a managed rule, the value is the name of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm)
	SourceIdentifier pulumi.StringOutput `pulumi:"sourceIdentifier"`
	// Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule.
	SourceOwner pulumi.StringOutput `pulumi:"sourceOwner"`
	Status      pulumi.StringOutput `pulumi:"status"`
	// The rule monitors the tag key, only applies to rules created based on managed rules.
	TagKeyScope pulumi.StringPtrOutput `pulumi:"tagKeyScope"`
	// The rule monitors the tag value, use with the TagKeyScope options. only applies to rules created based on managed rules.
	TagValueScope pulumi.StringPtrOutput `pulumi:"tagValueScope"`
}

Provides a Cloud Config Aggregate Config Rule resource.

For information about Cloud Config Aggregate Config Rule and how to use it, see [What is Aggregate Config Rule](https://help.aliyun.com/).

> **NOTE:** Available in v1.124.0+.

## Import

Cloud Config Aggregate Config Rule can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cfg/aggregateConfigRule:AggregateConfigRule example <aggregator_id>:<config_rule_id>

```

func GetAggregateConfigRule added in v3.3.0

func GetAggregateConfigRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AggregateConfigRuleState, opts ...pulumi.ResourceOption) (*AggregateConfigRule, error)

GetAggregateConfigRule gets an existing AggregateConfigRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAggregateConfigRule added in v3.3.0

func NewAggregateConfigRule(ctx *pulumi.Context,
	name string, args *AggregateConfigRuleArgs, opts ...pulumi.ResourceOption) (*AggregateConfigRule, error)

NewAggregateConfigRule registers a new resource with the given unique name, arguments, and options.

func (*AggregateConfigRule) ElementType added in v3.3.0

func (*AggregateConfigRule) ElementType() reflect.Type

func (*AggregateConfigRule) ToAggregateConfigRuleOutput added in v3.3.0

func (i *AggregateConfigRule) ToAggregateConfigRuleOutput() AggregateConfigRuleOutput

func (*AggregateConfigRule) ToAggregateConfigRuleOutputWithContext added in v3.3.0

func (i *AggregateConfigRule) ToAggregateConfigRuleOutputWithContext(ctx context.Context) AggregateConfigRuleOutput

func (*AggregateConfigRule) ToAggregateConfigRulePtrOutput added in v3.3.0

func (i *AggregateConfigRule) ToAggregateConfigRulePtrOutput() AggregateConfigRulePtrOutput

func (*AggregateConfigRule) ToAggregateConfigRulePtrOutputWithContext added in v3.3.0

func (i *AggregateConfigRule) ToAggregateConfigRulePtrOutputWithContext(ctx context.Context) AggregateConfigRulePtrOutput

type AggregateConfigRuleArgs added in v3.3.0

type AggregateConfigRuleArgs struct {
	// The name of the rule.
	AggregateConfigRuleName pulumi.StringInput
	// The Aggregator Id.
	AggregatorId pulumi.StringInput
	// The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.
	ConfigRuleTriggerTypes pulumi.StringInput
	// The description of the rule.
	Description pulumi.StringPtrInput
	// The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, , custom rule this field is empty.
	ExcludeResourceIdsScope pulumi.StringPtrInput
	// The settings map of the input parameters for the rule.
	InputParameters pulumi.MapInput
	// The frequency of the compliance evaluations. Valid values:  `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. System default value is `TwentyFour_Hours` and valid when the `configRuleTriggerTypes` is `ScheduledNotification`.
	MaximumExecutionFrequency pulumi.StringPtrInput
	// The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.
	RegionIdsScope pulumi.StringPtrInput
	// The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.
	ResourceGroupIdsScope pulumi.StringPtrInput
	// Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
	ResourceTypesScopes pulumi.StringArrayInput
	// The risk level of the resources that are not compliant with the rule. Valid values:  `1`: critical `2`: warning `3`: info.
	RiskLevel pulumi.IntInput
	// The identifier of the rule. For a managed rule, the value is the name of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm)
	SourceIdentifier pulumi.StringInput
	// Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule.
	SourceOwner pulumi.StringInput
	// The rule monitors the tag key, only applies to rules created based on managed rules.
	TagKeyScope pulumi.StringPtrInput
	// The rule monitors the tag value, use with the TagKeyScope options. only applies to rules created based on managed rules.
	TagValueScope pulumi.StringPtrInput
}

The set of arguments for constructing a AggregateConfigRule resource.

func (AggregateConfigRuleArgs) ElementType added in v3.3.0

func (AggregateConfigRuleArgs) ElementType() reflect.Type

type AggregateConfigRuleArray added in v3.3.0

type AggregateConfigRuleArray []AggregateConfigRuleInput

func (AggregateConfigRuleArray) ElementType added in v3.3.0

func (AggregateConfigRuleArray) ElementType() reflect.Type

func (AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutput added in v3.3.0

func (i AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput

func (AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutputWithContext added in v3.3.0

func (i AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutputWithContext(ctx context.Context) AggregateConfigRuleArrayOutput

type AggregateConfigRuleArrayInput added in v3.3.0

type AggregateConfigRuleArrayInput interface {
	pulumi.Input

	ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput
	ToAggregateConfigRuleArrayOutputWithContext(context.Context) AggregateConfigRuleArrayOutput
}

AggregateConfigRuleArrayInput is an input type that accepts AggregateConfigRuleArray and AggregateConfigRuleArrayOutput values. You can construct a concrete instance of `AggregateConfigRuleArrayInput` via:

AggregateConfigRuleArray{ AggregateConfigRuleArgs{...} }

type AggregateConfigRuleArrayOutput added in v3.3.0

type AggregateConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (AggregateConfigRuleArrayOutput) ElementType added in v3.3.0

func (AggregateConfigRuleArrayOutput) Index added in v3.3.0

func (AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutput added in v3.3.0

func (o AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput

func (AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutputWithContext added in v3.3.0

func (o AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutputWithContext(ctx context.Context) AggregateConfigRuleArrayOutput

type AggregateConfigRuleInput added in v3.3.0

type AggregateConfigRuleInput interface {
	pulumi.Input

	ToAggregateConfigRuleOutput() AggregateConfigRuleOutput
	ToAggregateConfigRuleOutputWithContext(ctx context.Context) AggregateConfigRuleOutput
}

type AggregateConfigRuleMap added in v3.3.0

type AggregateConfigRuleMap map[string]AggregateConfigRuleInput

func (AggregateConfigRuleMap) ElementType added in v3.3.0

func (AggregateConfigRuleMap) ElementType() reflect.Type

func (AggregateConfigRuleMap) ToAggregateConfigRuleMapOutput added in v3.3.0

func (i AggregateConfigRuleMap) ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput

func (AggregateConfigRuleMap) ToAggregateConfigRuleMapOutputWithContext added in v3.3.0

func (i AggregateConfigRuleMap) ToAggregateConfigRuleMapOutputWithContext(ctx context.Context) AggregateConfigRuleMapOutput

type AggregateConfigRuleMapInput added in v3.3.0

type AggregateConfigRuleMapInput interface {
	pulumi.Input

	ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput
	ToAggregateConfigRuleMapOutputWithContext(context.Context) AggregateConfigRuleMapOutput
}

AggregateConfigRuleMapInput is an input type that accepts AggregateConfigRuleMap and AggregateConfigRuleMapOutput values. You can construct a concrete instance of `AggregateConfigRuleMapInput` via:

AggregateConfigRuleMap{ "key": AggregateConfigRuleArgs{...} }

type AggregateConfigRuleMapOutput added in v3.3.0

type AggregateConfigRuleMapOutput struct{ *pulumi.OutputState }

func (AggregateConfigRuleMapOutput) ElementType added in v3.3.0

func (AggregateConfigRuleMapOutput) MapIndex added in v3.3.0

func (AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutput added in v3.3.0

func (o AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput

func (AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutputWithContext added in v3.3.0

func (o AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutputWithContext(ctx context.Context) AggregateConfigRuleMapOutput

type AggregateConfigRuleOutput added in v3.3.0

type AggregateConfigRuleOutput struct{ *pulumi.OutputState }

func (AggregateConfigRuleOutput) ElementType added in v3.3.0

func (AggregateConfigRuleOutput) ElementType() reflect.Type

func (AggregateConfigRuleOutput) ToAggregateConfigRuleOutput added in v3.3.0

func (o AggregateConfigRuleOutput) ToAggregateConfigRuleOutput() AggregateConfigRuleOutput

func (AggregateConfigRuleOutput) ToAggregateConfigRuleOutputWithContext added in v3.3.0

func (o AggregateConfigRuleOutput) ToAggregateConfigRuleOutputWithContext(ctx context.Context) AggregateConfigRuleOutput

func (AggregateConfigRuleOutput) ToAggregateConfigRulePtrOutput added in v3.3.0

func (o AggregateConfigRuleOutput) ToAggregateConfigRulePtrOutput() AggregateConfigRulePtrOutput

func (AggregateConfigRuleOutput) ToAggregateConfigRulePtrOutputWithContext added in v3.3.0

func (o AggregateConfigRuleOutput) ToAggregateConfigRulePtrOutputWithContext(ctx context.Context) AggregateConfigRulePtrOutput

type AggregateConfigRulePtrInput added in v3.3.0

type AggregateConfigRulePtrInput interface {
	pulumi.Input

	ToAggregateConfigRulePtrOutput() AggregateConfigRulePtrOutput
	ToAggregateConfigRulePtrOutputWithContext(ctx context.Context) AggregateConfigRulePtrOutput
}

type AggregateConfigRulePtrOutput added in v3.3.0

type AggregateConfigRulePtrOutput struct{ *pulumi.OutputState }

func (AggregateConfigRulePtrOutput) Elem added in v3.9.0

func (AggregateConfigRulePtrOutput) ElementType added in v3.3.0

func (AggregateConfigRulePtrOutput) ToAggregateConfigRulePtrOutput added in v3.3.0

func (o AggregateConfigRulePtrOutput) ToAggregateConfigRulePtrOutput() AggregateConfigRulePtrOutput

func (AggregateConfigRulePtrOutput) ToAggregateConfigRulePtrOutputWithContext added in v3.3.0

func (o AggregateConfigRulePtrOutput) ToAggregateConfigRulePtrOutputWithContext(ctx context.Context) AggregateConfigRulePtrOutput

type AggregateConfigRuleState added in v3.3.0

type AggregateConfigRuleState struct {
	// The name of the rule.
	AggregateConfigRuleName pulumi.StringPtrInput
	// The Aggregator Id.
	AggregatorId pulumi.StringPtrInput
	// (Available in 1.141.0+) The rule ID of Aggregate Config Rule.
	ConfigRuleId pulumi.StringPtrInput
	// The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.
	ConfigRuleTriggerTypes pulumi.StringPtrInput
	// The description of the rule.
	Description pulumi.StringPtrInput
	// The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, , custom rule this field is empty.
	ExcludeResourceIdsScope pulumi.StringPtrInput
	// The settings map of the input parameters for the rule.
	InputParameters pulumi.MapInput
	// The frequency of the compliance evaluations. Valid values:  `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. System default value is `TwentyFour_Hours` and valid when the `configRuleTriggerTypes` is `ScheduledNotification`.
	MaximumExecutionFrequency pulumi.StringPtrInput
	// The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.
	RegionIdsScope pulumi.StringPtrInput
	// The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.
	ResourceGroupIdsScope pulumi.StringPtrInput
	// Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
	ResourceTypesScopes pulumi.StringArrayInput
	// The risk level of the resources that are not compliant with the rule. Valid values:  `1`: critical `2`: warning `3`: info.
	RiskLevel pulumi.IntPtrInput
	// The identifier of the rule. For a managed rule, the value is the name of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm)
	SourceIdentifier pulumi.StringPtrInput
	// Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule.
	SourceOwner pulumi.StringPtrInput
	Status      pulumi.StringPtrInput
	// The rule monitors the tag key, only applies to rules created based on managed rules.
	TagKeyScope pulumi.StringPtrInput
	// The rule monitors the tag value, use with the TagKeyScope options. only applies to rules created based on managed rules.
	TagValueScope pulumi.StringPtrInput
}

func (AggregateConfigRuleState) ElementType added in v3.3.0

func (AggregateConfigRuleState) ElementType() reflect.Type

type Aggregator added in v3.3.0

type Aggregator struct {
	pulumi.CustomResourceState

	// The information of account in aggregator.
	AggregatorAccounts AggregatorAggregatorAccountArrayOutput `pulumi:"aggregatorAccounts"`
	// The name of aggregator.
	AggregatorName pulumi.StringOutput `pulumi:"aggregatorName"`
	// The type of aggregator. Valid values: `CUSTOM`, `RD`.
	AggregatorType pulumi.StringOutput `pulumi:"aggregatorType"`
	// The description of aggregator.
	Description pulumi.StringOutput `pulumi:"description"`
	// The status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Cloud Config Aggregator resource.

> **NOTE:** Available in v1.124.0+.

## Example Usage

Basic Usage

```go 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 {
		_, err := cfg.NewAggregator(ctx, "example", &cfg.AggregatorArgs{
			AggregatorAccounts: cfg.AggregatorAggregatorAccountArray{
				&cfg.AggregatorAggregatorAccountArgs{
					AccountId:   pulumi.String("123968452689****"),
					AccountName: pulumi.String("tf-testacc1234"),
					AccountType: pulumi.String("ResourceDirectory"),
				},
			},
			AggregatorName: pulumi.String("tf-testaccConfigAggregator1234"),
			Description:    pulumi.String("tf-testaccConfigAggregator1234"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cloud Config Aggregator can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cfg/aggregator:Aggregator example <id>

```

func GetAggregator added in v3.3.0

func GetAggregator(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AggregatorState, opts ...pulumi.ResourceOption) (*Aggregator, error)

GetAggregator gets an existing Aggregator resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAggregator added in v3.3.0

func NewAggregator(ctx *pulumi.Context,
	name string, args *AggregatorArgs, opts ...pulumi.ResourceOption) (*Aggregator, error)

NewAggregator registers a new resource with the given unique name, arguments, and options.

func (*Aggregator) ElementType added in v3.3.0

func (*Aggregator) ElementType() reflect.Type

func (*Aggregator) ToAggregatorOutput added in v3.3.0

func (i *Aggregator) ToAggregatorOutput() AggregatorOutput

func (*Aggregator) ToAggregatorOutputWithContext added in v3.3.0

func (i *Aggregator) ToAggregatorOutputWithContext(ctx context.Context) AggregatorOutput

func (*Aggregator) ToAggregatorPtrOutput added in v3.3.0

func (i *Aggregator) ToAggregatorPtrOutput() AggregatorPtrOutput

func (*Aggregator) ToAggregatorPtrOutputWithContext added in v3.3.0

func (i *Aggregator) ToAggregatorPtrOutputWithContext(ctx context.Context) AggregatorPtrOutput

type AggregatorAggregatorAccount added in v3.3.0

type AggregatorAggregatorAccount struct {
	// Aggregator account Uid.
	AccountId string `pulumi:"accountId"`
	// Aggregator account name.
	AccountName string `pulumi:"accountName"`
	// Aggregator account source type. Valid values: `ResourceDirectory`.
	AccountType string `pulumi:"accountType"`
}

type AggregatorAggregatorAccountArgs added in v3.3.0

type AggregatorAggregatorAccountArgs struct {
	// Aggregator account Uid.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// Aggregator account name.
	AccountName pulumi.StringInput `pulumi:"accountName"`
	// Aggregator account source type. Valid values: `ResourceDirectory`.
	AccountType pulumi.StringInput `pulumi:"accountType"`
}

func (AggregatorAggregatorAccountArgs) ElementType added in v3.3.0

func (AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutput added in v3.3.0

func (i AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput

func (AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutputWithContext added in v3.3.0

func (i AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutputWithContext(ctx context.Context) AggregatorAggregatorAccountOutput

type AggregatorAggregatorAccountArray added in v3.3.0

type AggregatorAggregatorAccountArray []AggregatorAggregatorAccountInput

func (AggregatorAggregatorAccountArray) ElementType added in v3.3.0

func (AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutput added in v3.3.0

func (i AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput

func (AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutputWithContext added in v3.3.0

func (i AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) AggregatorAggregatorAccountArrayOutput

type AggregatorAggregatorAccountArrayInput added in v3.3.0

type AggregatorAggregatorAccountArrayInput interface {
	pulumi.Input

	ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput
	ToAggregatorAggregatorAccountArrayOutputWithContext(context.Context) AggregatorAggregatorAccountArrayOutput
}

AggregatorAggregatorAccountArrayInput is an input type that accepts AggregatorAggregatorAccountArray and AggregatorAggregatorAccountArrayOutput values. You can construct a concrete instance of `AggregatorAggregatorAccountArrayInput` via:

AggregatorAggregatorAccountArray{ AggregatorAggregatorAccountArgs{...} }

type AggregatorAggregatorAccountArrayOutput added in v3.3.0

type AggregatorAggregatorAccountArrayOutput struct{ *pulumi.OutputState }

func (AggregatorAggregatorAccountArrayOutput) ElementType added in v3.3.0

func (AggregatorAggregatorAccountArrayOutput) Index added in v3.3.0

func (AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutput added in v3.3.0

func (o AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput

func (AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutputWithContext added in v3.3.0

func (o AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) AggregatorAggregatorAccountArrayOutput

type AggregatorAggregatorAccountInput added in v3.3.0

type AggregatorAggregatorAccountInput interface {
	pulumi.Input

	ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput
	ToAggregatorAggregatorAccountOutputWithContext(context.Context) AggregatorAggregatorAccountOutput
}

AggregatorAggregatorAccountInput is an input type that accepts AggregatorAggregatorAccountArgs and AggregatorAggregatorAccountOutput values. You can construct a concrete instance of `AggregatorAggregatorAccountInput` via:

AggregatorAggregatorAccountArgs{...}

type AggregatorAggregatorAccountOutput added in v3.3.0

type AggregatorAggregatorAccountOutput struct{ *pulumi.OutputState }

func (AggregatorAggregatorAccountOutput) AccountId added in v3.3.0

Aggregator account Uid.

func (AggregatorAggregatorAccountOutput) AccountName added in v3.3.0

Aggregator account name.

func (AggregatorAggregatorAccountOutput) AccountType added in v3.3.0

Aggregator account source type. Valid values: `ResourceDirectory`.

func (AggregatorAggregatorAccountOutput) ElementType added in v3.3.0

func (AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutput added in v3.3.0

func (o AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput

func (AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutputWithContext added in v3.3.0

func (o AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutputWithContext(ctx context.Context) AggregatorAggregatorAccountOutput

type AggregatorArgs added in v3.3.0

type AggregatorArgs struct {
	// The information of account in aggregator.
	AggregatorAccounts AggregatorAggregatorAccountArrayInput
	// The name of aggregator.
	AggregatorName pulumi.StringInput
	// The type of aggregator. Valid values: `CUSTOM`, `RD`.
	AggregatorType pulumi.StringPtrInput
	// The description of aggregator.
	Description pulumi.StringInput
}

The set of arguments for constructing a Aggregator resource.

func (AggregatorArgs) ElementType added in v3.3.0

func (AggregatorArgs) ElementType() reflect.Type

type AggregatorArray added in v3.3.0

type AggregatorArray []AggregatorInput

func (AggregatorArray) ElementType added in v3.3.0

func (AggregatorArray) ElementType() reflect.Type

func (AggregatorArray) ToAggregatorArrayOutput added in v3.3.0

func (i AggregatorArray) ToAggregatorArrayOutput() AggregatorArrayOutput

func (AggregatorArray) ToAggregatorArrayOutputWithContext added in v3.3.0

func (i AggregatorArray) ToAggregatorArrayOutputWithContext(ctx context.Context) AggregatorArrayOutput

type AggregatorArrayInput added in v3.3.0

type AggregatorArrayInput interface {
	pulumi.Input

	ToAggregatorArrayOutput() AggregatorArrayOutput
	ToAggregatorArrayOutputWithContext(context.Context) AggregatorArrayOutput
}

AggregatorArrayInput is an input type that accepts AggregatorArray and AggregatorArrayOutput values. You can construct a concrete instance of `AggregatorArrayInput` via:

AggregatorArray{ AggregatorArgs{...} }

type AggregatorArrayOutput added in v3.3.0

type AggregatorArrayOutput struct{ *pulumi.OutputState }

func (AggregatorArrayOutput) ElementType added in v3.3.0

func (AggregatorArrayOutput) ElementType() reflect.Type

func (AggregatorArrayOutput) Index added in v3.3.0

func (AggregatorArrayOutput) ToAggregatorArrayOutput added in v3.3.0

func (o AggregatorArrayOutput) ToAggregatorArrayOutput() AggregatorArrayOutput

func (AggregatorArrayOutput) ToAggregatorArrayOutputWithContext added in v3.3.0

func (o AggregatorArrayOutput) ToAggregatorArrayOutputWithContext(ctx context.Context) AggregatorArrayOutput

type AggregatorInput added in v3.3.0

type AggregatorInput interface {
	pulumi.Input

	ToAggregatorOutput() AggregatorOutput
	ToAggregatorOutputWithContext(ctx context.Context) AggregatorOutput
}

type AggregatorMap added in v3.3.0

type AggregatorMap map[string]AggregatorInput

func (AggregatorMap) ElementType added in v3.3.0

func (AggregatorMap) ElementType() reflect.Type

func (AggregatorMap) ToAggregatorMapOutput added in v3.3.0

func (i AggregatorMap) ToAggregatorMapOutput() AggregatorMapOutput

func (AggregatorMap) ToAggregatorMapOutputWithContext added in v3.3.0

func (i AggregatorMap) ToAggregatorMapOutputWithContext(ctx context.Context) AggregatorMapOutput

type AggregatorMapInput added in v3.3.0

type AggregatorMapInput interface {
	pulumi.Input

	ToAggregatorMapOutput() AggregatorMapOutput
	ToAggregatorMapOutputWithContext(context.Context) AggregatorMapOutput
}

AggregatorMapInput is an input type that accepts AggregatorMap and AggregatorMapOutput values. You can construct a concrete instance of `AggregatorMapInput` via:

AggregatorMap{ "key": AggregatorArgs{...} }

type AggregatorMapOutput added in v3.3.0

type AggregatorMapOutput struct{ *pulumi.OutputState }

func (AggregatorMapOutput) ElementType added in v3.3.0

func (AggregatorMapOutput) ElementType() reflect.Type

func (AggregatorMapOutput) MapIndex added in v3.3.0

func (AggregatorMapOutput) ToAggregatorMapOutput added in v3.3.0

func (o AggregatorMapOutput) ToAggregatorMapOutput() AggregatorMapOutput

func (AggregatorMapOutput) ToAggregatorMapOutputWithContext added in v3.3.0

func (o AggregatorMapOutput) ToAggregatorMapOutputWithContext(ctx context.Context) AggregatorMapOutput

type AggregatorOutput added in v3.3.0

type AggregatorOutput struct{ *pulumi.OutputState }

func (AggregatorOutput) ElementType added in v3.3.0

func (AggregatorOutput) ElementType() reflect.Type

func (AggregatorOutput) ToAggregatorOutput added in v3.3.0

func (o AggregatorOutput) ToAggregatorOutput() AggregatorOutput

func (AggregatorOutput) ToAggregatorOutputWithContext added in v3.3.0

func (o AggregatorOutput) ToAggregatorOutputWithContext(ctx context.Context) AggregatorOutput

func (AggregatorOutput) ToAggregatorPtrOutput added in v3.3.0

func (o AggregatorOutput) ToAggregatorPtrOutput() AggregatorPtrOutput

func (AggregatorOutput) ToAggregatorPtrOutputWithContext added in v3.3.0

func (o AggregatorOutput) ToAggregatorPtrOutputWithContext(ctx context.Context) AggregatorPtrOutput

type AggregatorPtrInput added in v3.3.0

type AggregatorPtrInput interface {
	pulumi.Input

	ToAggregatorPtrOutput() AggregatorPtrOutput
	ToAggregatorPtrOutputWithContext(ctx context.Context) AggregatorPtrOutput
}

type AggregatorPtrOutput added in v3.3.0

type AggregatorPtrOutput struct{ *pulumi.OutputState }

func (AggregatorPtrOutput) Elem added in v3.9.0

func (AggregatorPtrOutput) ElementType added in v3.3.0

func (AggregatorPtrOutput) ElementType() reflect.Type

func (AggregatorPtrOutput) ToAggregatorPtrOutput added in v3.3.0

func (o AggregatorPtrOutput) ToAggregatorPtrOutput() AggregatorPtrOutput

func (AggregatorPtrOutput) ToAggregatorPtrOutputWithContext added in v3.3.0

func (o AggregatorPtrOutput) ToAggregatorPtrOutputWithContext(ctx context.Context) AggregatorPtrOutput

type AggregatorState added in v3.3.0

type AggregatorState struct {
	// The information of account in aggregator.
	AggregatorAccounts AggregatorAggregatorAccountArrayInput
	// The name of aggregator.
	AggregatorName pulumi.StringPtrInput
	// The type of aggregator. Valid values: `CUSTOM`, `RD`.
	AggregatorType pulumi.StringPtrInput
	// The description of aggregator.
	Description pulumi.StringPtrInput
	// The status of the resource.
	Status pulumi.StringPtrInput
}

func (AggregatorState) ElementType added in v3.3.0

func (AggregatorState) ElementType() reflect.Type

type CompliancePack added in v3.3.0

type CompliancePack struct {
	pulumi.CustomResourceState

	// The Compliance Package Name.
	CompliancePackName pulumi.StringOutput `pulumi:"compliancePackName"`
	// Compliance Package Template Id.
	CompliancePackTemplateId pulumi.StringPtrOutput `pulumi:"compliancePackTemplateId"`
	// A list of Config Rule IDs.
	ConfigRuleIds CompliancePackConfigRuleIdArrayOutput `pulumi:"configRuleIds"`
	// A list of Config Rules.
	//
	// Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead.
	ConfigRules CompliancePackConfigRuleArrayOutput `pulumi:"configRules"`
	// The Description of compliance pack.
	Description pulumi.StringOutput `pulumi:"description"`
	// The Risk Level. Valid values:  `1`: critical, `2`: warning, `3`: info.
	RiskLevel pulumi.IntOutput `pulumi:"riskLevel"`
	// The status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Cloud Config Compliance Pack resource.

For information about Cloud Config Compliance Pack and how to use it, see [What is Compliance Pack](https://help.aliyun.com/).

> **NOTE:** Available in v1.124.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cfg"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "example_name"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultInstances, err := ecs.GetInstances(ctx, nil, nil)
		if err != nil {
			return err
		}
		opt0 := "OK"
		defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{
			Status: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		defaultRule, err := cfg.NewRule(ctx, "defaultRule", &cfg.RuleArgs{
			RuleName:         pulumi.String(name),
			Description:      pulumi.String(name),
			SourceIdentifier: pulumi.String("ecs-instances-in-vpc"),
			SourceOwner:      pulumi.String("ALIYUN"),
			ResourceTypesScopes: pulumi.StringArray{
				pulumi.String("ACS::ECS::Instance"),
			},
			RiskLevel:               pulumi.Int(1),
			ConfigRuleTriggerTypes:  pulumi.String("ConfigurationItemChangeNotification"),
			TagKeyScope:             pulumi.String("tfTest"),
			TagValueScope:           pulumi.String("tfTest 123"),
			ResourceGroupIdsScope:   pulumi.String(defaultResourceGroups.Ids[0]),
			ExcludeResourceIdsScope: pulumi.String(defaultInstances.Instances[0].Id),
			RegionIdsScope:          pulumi.String("cn-hangzhou"),
			InputParameters: pulumi.AnyMap{
				"vpcIds": pulumi.String(defaultInstances.Instances[0].VpcId),
			},
		})
		if err != nil {
			return err
		}
		_, err = cfg.NewCompliancePack(ctx, "defaultCompliancePack", &cfg.CompliancePackArgs{
			CompliancePackName: pulumi.String("tf-testaccConfig1234"),
			Description:        pulumi.String("tf-testaccConfig1234"),
			RiskLevel:          pulumi.Int(1),
			ConfigRuleIds: cfg.CompliancePackConfigRuleIdArray{
				&cfg.CompliancePackConfigRuleIdArgs{
					ConfigRuleId: defaultRule.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cloud Config Compliance Pack can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cfg/compliancePack:CompliancePack example <id>

```

func GetCompliancePack added in v3.3.0

func GetCompliancePack(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CompliancePackState, opts ...pulumi.ResourceOption) (*CompliancePack, error)

GetCompliancePack gets an existing CompliancePack resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCompliancePack added in v3.3.0

func NewCompliancePack(ctx *pulumi.Context,
	name string, args *CompliancePackArgs, opts ...pulumi.ResourceOption) (*CompliancePack, error)

NewCompliancePack registers a new resource with the given unique name, arguments, and options.

func (*CompliancePack) ElementType added in v3.3.0

func (*CompliancePack) ElementType() reflect.Type

func (*CompliancePack) ToCompliancePackOutput added in v3.3.0

func (i *CompliancePack) ToCompliancePackOutput() CompliancePackOutput

func (*CompliancePack) ToCompliancePackOutputWithContext added in v3.3.0

func (i *CompliancePack) ToCompliancePackOutputWithContext(ctx context.Context) CompliancePackOutput

func (*CompliancePack) ToCompliancePackPtrOutput added in v3.3.0

func (i *CompliancePack) ToCompliancePackPtrOutput() CompliancePackPtrOutput

func (*CompliancePack) ToCompliancePackPtrOutputWithContext added in v3.3.0

func (i *CompliancePack) ToCompliancePackPtrOutputWithContext(ctx context.Context) CompliancePackPtrOutput

type CompliancePackArgs added in v3.3.0

type CompliancePackArgs struct {
	// The Compliance Package Name.
	CompliancePackName pulumi.StringInput
	// Compliance Package Template Id.
	CompliancePackTemplateId pulumi.StringPtrInput
	// A list of Config Rule IDs.
	ConfigRuleIds CompliancePackConfigRuleIdArrayInput
	// A list of Config Rules.
	//
	// Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead.
	ConfigRules CompliancePackConfigRuleArrayInput
	// The Description of compliance pack.
	Description pulumi.StringInput
	// The Risk Level. Valid values:  `1`: critical, `2`: warning, `3`: info.
	RiskLevel pulumi.IntInput
}

The set of arguments for constructing a CompliancePack resource.

func (CompliancePackArgs) ElementType added in v3.3.0

func (CompliancePackArgs) ElementType() reflect.Type

type CompliancePackArray added in v3.3.0

type CompliancePackArray []CompliancePackInput

func (CompliancePackArray) ElementType added in v3.3.0

func (CompliancePackArray) ElementType() reflect.Type

func (CompliancePackArray) ToCompliancePackArrayOutput added in v3.3.0

func (i CompliancePackArray) ToCompliancePackArrayOutput() CompliancePackArrayOutput

func (CompliancePackArray) ToCompliancePackArrayOutputWithContext added in v3.3.0

func (i CompliancePackArray) ToCompliancePackArrayOutputWithContext(ctx context.Context) CompliancePackArrayOutput

type CompliancePackArrayInput added in v3.3.0

type CompliancePackArrayInput interface {
	pulumi.Input

	ToCompliancePackArrayOutput() CompliancePackArrayOutput
	ToCompliancePackArrayOutputWithContext(context.Context) CompliancePackArrayOutput
}

CompliancePackArrayInput is an input type that accepts CompliancePackArray and CompliancePackArrayOutput values. You can construct a concrete instance of `CompliancePackArrayInput` via:

CompliancePackArray{ CompliancePackArgs{...} }

type CompliancePackArrayOutput added in v3.3.0

type CompliancePackArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackArrayOutput) ElementType added in v3.3.0

func (CompliancePackArrayOutput) ElementType() reflect.Type

func (CompliancePackArrayOutput) Index added in v3.3.0

func (CompliancePackArrayOutput) ToCompliancePackArrayOutput added in v3.3.0

func (o CompliancePackArrayOutput) ToCompliancePackArrayOutput() CompliancePackArrayOutput

func (CompliancePackArrayOutput) ToCompliancePackArrayOutputWithContext added in v3.3.0

func (o CompliancePackArrayOutput) ToCompliancePackArrayOutputWithContext(ctx context.Context) CompliancePackArrayOutput

type CompliancePackConfigRule added in v3.3.0

type CompliancePackConfigRule struct {
	// A list of Config Rule Parameters.
	ConfigRuleParameters []CompliancePackConfigRuleConfigRuleParameter `pulumi:"configRuleParameters"`
	// The Managed Rule Identifier.
	ManagedRuleIdentifier string `pulumi:"managedRuleIdentifier"`
}

type CompliancePackConfigRuleArgs added in v3.3.0

type CompliancePackConfigRuleArgs struct {
	// A list of Config Rule Parameters.
	ConfigRuleParameters CompliancePackConfigRuleConfigRuleParameterArrayInput `pulumi:"configRuleParameters"`
	// The Managed Rule Identifier.
	ManagedRuleIdentifier pulumi.StringInput `pulumi:"managedRuleIdentifier"`
}

func (CompliancePackConfigRuleArgs) ElementType added in v3.3.0

func (CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutput added in v3.3.0

func (i CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput

func (CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutputWithContext added in v3.3.0

func (i CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutputWithContext(ctx context.Context) CompliancePackConfigRuleOutput

type CompliancePackConfigRuleArray added in v3.3.0

type CompliancePackConfigRuleArray []CompliancePackConfigRuleInput

func (CompliancePackConfigRuleArray) ElementType added in v3.3.0

func (CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutput added in v3.3.0

func (i CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput

func (CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutputWithContext added in v3.3.0

func (i CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleArrayOutput

type CompliancePackConfigRuleArrayInput added in v3.3.0

type CompliancePackConfigRuleArrayInput interface {
	pulumi.Input

	ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput
	ToCompliancePackConfigRuleArrayOutputWithContext(context.Context) CompliancePackConfigRuleArrayOutput
}

CompliancePackConfigRuleArrayInput is an input type that accepts CompliancePackConfigRuleArray and CompliancePackConfigRuleArrayOutput values. You can construct a concrete instance of `CompliancePackConfigRuleArrayInput` via:

CompliancePackConfigRuleArray{ CompliancePackConfigRuleArgs{...} }

type CompliancePackConfigRuleArrayOutput added in v3.3.0

type CompliancePackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleArrayOutput) ElementType added in v3.3.0

func (CompliancePackConfigRuleArrayOutput) Index added in v3.3.0

func (CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutput added in v3.3.0

func (o CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput

func (CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutputWithContext added in v3.3.0

func (o CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleArrayOutput

type CompliancePackConfigRuleConfigRuleParameter added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameter struct {
	// The parameter name.
	ParameterName *string `pulumi:"parameterName"`
	// The parameter value.
	ParameterValue *string `pulumi:"parameterValue"`
}

type CompliancePackConfigRuleConfigRuleParameterArgs added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterArgs struct {
	// The parameter name.
	ParameterName pulumi.StringPtrInput `pulumi:"parameterName"`
	// The parameter value.
	ParameterValue pulumi.StringPtrInput `pulumi:"parameterValue"`
}

func (CompliancePackConfigRuleConfigRuleParameterArgs) ElementType added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (i CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput

func (CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

func (i CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterOutput

type CompliancePackConfigRuleConfigRuleParameterArray added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterArray []CompliancePackConfigRuleConfigRuleParameterInput

func (CompliancePackConfigRuleConfigRuleParameterArray) ElementType added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (i CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput() CompliancePackConfigRuleConfigRuleParameterArrayOutput

func (CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

func (i CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterArrayOutput

type CompliancePackConfigRuleConfigRuleParameterArrayInput added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterArrayInput interface {
	pulumi.Input

	ToCompliancePackConfigRuleConfigRuleParameterArrayOutput() CompliancePackConfigRuleConfigRuleParameterArrayOutput
	ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(context.Context) CompliancePackConfigRuleConfigRuleParameterArrayOutput
}

CompliancePackConfigRuleConfigRuleParameterArrayInput is an input type that accepts CompliancePackConfigRuleConfigRuleParameterArray and CompliancePackConfigRuleConfigRuleParameterArrayOutput values. You can construct a concrete instance of `CompliancePackConfigRuleConfigRuleParameterArrayInput` via:

CompliancePackConfigRuleConfigRuleParameterArray{ CompliancePackConfigRuleConfigRuleParameterArgs{...} }

type CompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) Index added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

func (o CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterArrayOutput

type CompliancePackConfigRuleConfigRuleParameterInput added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterInput interface {
	pulumi.Input

	ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput
	ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext(context.Context) CompliancePackConfigRuleConfigRuleParameterOutput
}

CompliancePackConfigRuleConfigRuleParameterInput is an input type that accepts CompliancePackConfigRuleConfigRuleParameterArgs and CompliancePackConfigRuleConfigRuleParameterOutput values. You can construct a concrete instance of `CompliancePackConfigRuleConfigRuleParameterInput` via:

CompliancePackConfigRuleConfigRuleParameterArgs{...}

type CompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleConfigRuleParameterOutput) ElementType added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterOutput) ParameterName added in v3.3.0

The parameter name.

func (CompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue added in v3.3.0

The parameter value.

func (CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (o CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput

func (CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

func (o CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) CompliancePackConfigRuleConfigRuleParameterOutput

type CompliancePackConfigRuleId added in v3.9.0

type CompliancePackConfigRuleId struct {
	// The rule ID of Config Rule.
	ConfigRuleId *string `pulumi:"configRuleId"`
}

type CompliancePackConfigRuleIdArgs added in v3.9.0

type CompliancePackConfigRuleIdArgs struct {
	// The rule ID of Config Rule.
	ConfigRuleId pulumi.StringPtrInput `pulumi:"configRuleId"`
}

func (CompliancePackConfigRuleIdArgs) ElementType added in v3.9.0

func (CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutput added in v3.9.0

func (i CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput

func (CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutputWithContext added in v3.9.0

func (i CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdOutput

type CompliancePackConfigRuleIdArray added in v3.9.0

type CompliancePackConfigRuleIdArray []CompliancePackConfigRuleIdInput

func (CompliancePackConfigRuleIdArray) ElementType added in v3.9.0

func (CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutput added in v3.9.0

func (i CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput

func (CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutputWithContext added in v3.9.0

func (i CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdArrayOutput

type CompliancePackConfigRuleIdArrayInput added in v3.9.0

type CompliancePackConfigRuleIdArrayInput interface {
	pulumi.Input

	ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput
	ToCompliancePackConfigRuleIdArrayOutputWithContext(context.Context) CompliancePackConfigRuleIdArrayOutput
}

CompliancePackConfigRuleIdArrayInput is an input type that accepts CompliancePackConfigRuleIdArray and CompliancePackConfigRuleIdArrayOutput values. You can construct a concrete instance of `CompliancePackConfigRuleIdArrayInput` via:

CompliancePackConfigRuleIdArray{ CompliancePackConfigRuleIdArgs{...} }

type CompliancePackConfigRuleIdArrayOutput added in v3.9.0

type CompliancePackConfigRuleIdArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleIdArrayOutput) ElementType added in v3.9.0

func (CompliancePackConfigRuleIdArrayOutput) Index added in v3.9.0

func (CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutput added in v3.9.0

func (o CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput

func (CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutputWithContext added in v3.9.0

func (o CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdArrayOutput

type CompliancePackConfigRuleIdInput added in v3.9.0

type CompliancePackConfigRuleIdInput interface {
	pulumi.Input

	ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput
	ToCompliancePackConfigRuleIdOutputWithContext(context.Context) CompliancePackConfigRuleIdOutput
}

CompliancePackConfigRuleIdInput is an input type that accepts CompliancePackConfigRuleIdArgs and CompliancePackConfigRuleIdOutput values. You can construct a concrete instance of `CompliancePackConfigRuleIdInput` via:

CompliancePackConfigRuleIdArgs{...}

type CompliancePackConfigRuleIdOutput added in v3.9.0

type CompliancePackConfigRuleIdOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleIdOutput) ConfigRuleId added in v3.9.0

The rule ID of Config Rule.

func (CompliancePackConfigRuleIdOutput) ElementType added in v3.9.0

func (CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutput added in v3.9.0

func (o CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput

func (CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutputWithContext added in v3.9.0

func (o CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutputWithContext(ctx context.Context) CompliancePackConfigRuleIdOutput

type CompliancePackConfigRuleInput added in v3.3.0

type CompliancePackConfigRuleInput interface {
	pulumi.Input

	ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput
	ToCompliancePackConfigRuleOutputWithContext(context.Context) CompliancePackConfigRuleOutput
}

CompliancePackConfigRuleInput is an input type that accepts CompliancePackConfigRuleArgs and CompliancePackConfigRuleOutput values. You can construct a concrete instance of `CompliancePackConfigRuleInput` via:

CompliancePackConfigRuleArgs{...}

type CompliancePackConfigRuleOutput added in v3.3.0

type CompliancePackConfigRuleOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleOutput) ConfigRuleParameters added in v3.3.0

A list of Config Rule Parameters.

func (CompliancePackConfigRuleOutput) ElementType added in v3.3.0

func (CompliancePackConfigRuleOutput) ManagedRuleIdentifier added in v3.3.0

func (o CompliancePackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput

The Managed Rule Identifier.

func (CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutput added in v3.3.0

func (o CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput

func (CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutputWithContext added in v3.3.0

func (o CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutputWithContext(ctx context.Context) CompliancePackConfigRuleOutput

type CompliancePackInput added in v3.3.0

type CompliancePackInput interface {
	pulumi.Input

	ToCompliancePackOutput() CompliancePackOutput
	ToCompliancePackOutputWithContext(ctx context.Context) CompliancePackOutput
}

type CompliancePackMap added in v3.3.0

type CompliancePackMap map[string]CompliancePackInput

func (CompliancePackMap) ElementType added in v3.3.0

func (CompliancePackMap) ElementType() reflect.Type

func (CompliancePackMap) ToCompliancePackMapOutput added in v3.3.0

func (i CompliancePackMap) ToCompliancePackMapOutput() CompliancePackMapOutput

func (CompliancePackMap) ToCompliancePackMapOutputWithContext added in v3.3.0

func (i CompliancePackMap) ToCompliancePackMapOutputWithContext(ctx context.Context) CompliancePackMapOutput

type CompliancePackMapInput added in v3.3.0

type CompliancePackMapInput interface {
	pulumi.Input

	ToCompliancePackMapOutput() CompliancePackMapOutput
	ToCompliancePackMapOutputWithContext(context.Context) CompliancePackMapOutput
}

CompliancePackMapInput is an input type that accepts CompliancePackMap and CompliancePackMapOutput values. You can construct a concrete instance of `CompliancePackMapInput` via:

CompliancePackMap{ "key": CompliancePackArgs{...} }

type CompliancePackMapOutput added in v3.3.0

type CompliancePackMapOutput struct{ *pulumi.OutputState }

func (CompliancePackMapOutput) ElementType added in v3.3.0

func (CompliancePackMapOutput) ElementType() reflect.Type

func (CompliancePackMapOutput) MapIndex added in v3.3.0

func (CompliancePackMapOutput) ToCompliancePackMapOutput added in v3.3.0

func (o CompliancePackMapOutput) ToCompliancePackMapOutput() CompliancePackMapOutput

func (CompliancePackMapOutput) ToCompliancePackMapOutputWithContext added in v3.3.0

func (o CompliancePackMapOutput) ToCompliancePackMapOutputWithContext(ctx context.Context) CompliancePackMapOutput

type CompliancePackOutput added in v3.3.0

type CompliancePackOutput struct{ *pulumi.OutputState }

func (CompliancePackOutput) ElementType added in v3.3.0

func (CompliancePackOutput) ElementType() reflect.Type

func (CompliancePackOutput) ToCompliancePackOutput added in v3.3.0

func (o CompliancePackOutput) ToCompliancePackOutput() CompliancePackOutput

func (CompliancePackOutput) ToCompliancePackOutputWithContext added in v3.3.0

func (o CompliancePackOutput) ToCompliancePackOutputWithContext(ctx context.Context) CompliancePackOutput

func (CompliancePackOutput) ToCompliancePackPtrOutput added in v3.3.0

func (o CompliancePackOutput) ToCompliancePackPtrOutput() CompliancePackPtrOutput

func (CompliancePackOutput) ToCompliancePackPtrOutputWithContext added in v3.3.0

func (o CompliancePackOutput) ToCompliancePackPtrOutputWithContext(ctx context.Context) CompliancePackPtrOutput

type CompliancePackPtrInput added in v3.3.0

type CompliancePackPtrInput interface {
	pulumi.Input

	ToCompliancePackPtrOutput() CompliancePackPtrOutput
	ToCompliancePackPtrOutputWithContext(ctx context.Context) CompliancePackPtrOutput
}

type CompliancePackPtrOutput added in v3.3.0

type CompliancePackPtrOutput struct{ *pulumi.OutputState }

func (CompliancePackPtrOutput) Elem added in v3.9.0

func (CompliancePackPtrOutput) ElementType added in v3.3.0

func (CompliancePackPtrOutput) ElementType() reflect.Type

func (CompliancePackPtrOutput) ToCompliancePackPtrOutput added in v3.3.0

func (o CompliancePackPtrOutput) ToCompliancePackPtrOutput() CompliancePackPtrOutput

func (CompliancePackPtrOutput) ToCompliancePackPtrOutputWithContext added in v3.3.0

func (o CompliancePackPtrOutput) ToCompliancePackPtrOutputWithContext(ctx context.Context) CompliancePackPtrOutput

type CompliancePackState added in v3.3.0

type CompliancePackState struct {
	// The Compliance Package Name.
	CompliancePackName pulumi.StringPtrInput
	// Compliance Package Template Id.
	CompliancePackTemplateId pulumi.StringPtrInput
	// A list of Config Rule IDs.
	ConfigRuleIds CompliancePackConfigRuleIdArrayInput
	// A list of Config Rules.
	//
	// Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead.
	ConfigRules CompliancePackConfigRuleArrayInput
	// The Description of compliance pack.
	Description pulumi.StringPtrInput
	// The Risk Level. Valid values:  `1`: critical, `2`: warning, `3`: info.
	RiskLevel pulumi.IntPtrInput
	// The status of the resource.
	Status pulumi.StringPtrInput
}

func (CompliancePackState) ElementType added in v3.3.0

func (CompliancePackState) ElementType() reflect.Type

type ConfigurationRecorder

type ConfigurationRecorder struct {
	pulumi.CustomResourceState

	// - Whether to use the enterprise version configuration audit. Valid values: `true` and `fales`. Default value `false`.
	EnterpriseEdition pulumi.BoolPtrOutput `pulumi:"enterpriseEdition"`
	// Status of resource monitoring. Values: `REGISTRABLE`: Not enabled, `BUILDING`: Building and `REGISTERED`: Enabled.
	OrganizationEnableStatus pulumi.StringOutput `pulumi:"organizationEnableStatus"`
	// The ID of the Enterprise management account.
	OrganizationMasterId pulumi.IntOutput `pulumi:"organizationMasterId"`
	// A list of resource types to be monitored. [Resource types that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
	ResourceTypes pulumi.StringArrayOutput `pulumi:"resourceTypes"`
	// Enterprise version configuration audit enabled status. Values: `REGISTRABLE`: Not registered, `BUILDING`: Under construction, `REGISTERED`: Registered and `REBUILDING`: Rebuilding.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Alicloud Config Configuration Recorder resource. Cloud Config is a specialized service for evaluating resources. Cloud Config tracks configuration changes of your resources and evaluates configuration compliance. Cloud Config can help you evaluate numerous resources and maintain the continuous compliance of your cloud infrastructure. For information about Alicloud Config Configuration Recorder and how to use it, see [What is Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127388.htm)

> **NOTE:** Available in v1.99.0+.

> **NOTE:** The Cloud Config region only support `cn-shanghai` and `ap-southeast-1`.

## Example Usage

```go 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 {
		_, err := cfg.NewConfigurationRecorder(ctx, "example", &cfg.ConfigurationRecorderArgs{
			ResourceTypes: pulumi.StringArray{
				pulumi.String("ACS::ECS::Instance"),
				pulumi.String("ACS::ECS::Disk"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Alicloud Config Configuration Recorder can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cfg/configurationRecorder:ConfigurationRecorder example 122378463********

```

func GetConfigurationRecorder

func GetConfigurationRecorder(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationRecorderState, opts ...pulumi.ResourceOption) (*ConfigurationRecorder, error)

GetConfigurationRecorder gets an existing ConfigurationRecorder resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfigurationRecorder

func NewConfigurationRecorder(ctx *pulumi.Context,
	name string, args *ConfigurationRecorderArgs, opts ...pulumi.ResourceOption) (*ConfigurationRecorder, error)

NewConfigurationRecorder registers a new resource with the given unique name, arguments, and options.

func (*ConfigurationRecorder) ElementType

func (*ConfigurationRecorder) ElementType() reflect.Type

func (*ConfigurationRecorder) ToConfigurationRecorderOutput

func (i *ConfigurationRecorder) ToConfigurationRecorderOutput() ConfigurationRecorderOutput

func (*ConfigurationRecorder) ToConfigurationRecorderOutputWithContext

func (i *ConfigurationRecorder) ToConfigurationRecorderOutputWithContext(ctx context.Context) ConfigurationRecorderOutput

func (*ConfigurationRecorder) ToConfigurationRecorderPtrOutput

func (i *ConfigurationRecorder) ToConfigurationRecorderPtrOutput() ConfigurationRecorderPtrOutput

func (*ConfigurationRecorder) ToConfigurationRecorderPtrOutputWithContext

func (i *ConfigurationRecorder) ToConfigurationRecorderPtrOutputWithContext(ctx context.Context) ConfigurationRecorderPtrOutput

type ConfigurationRecorderArgs

type ConfigurationRecorderArgs struct {
	// - Whether to use the enterprise version configuration audit. Valid values: `true` and `fales`. Default value `false`.
	EnterpriseEdition pulumi.BoolPtrInput
	// A list of resource types to be monitored. [Resource types that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
	ResourceTypes pulumi.StringArrayInput
}

The set of arguments for constructing a ConfigurationRecorder resource.

func (ConfigurationRecorderArgs) ElementType

func (ConfigurationRecorderArgs) ElementType() reflect.Type

type ConfigurationRecorderArray

type ConfigurationRecorderArray []ConfigurationRecorderInput

func (ConfigurationRecorderArray) ElementType

func (ConfigurationRecorderArray) ElementType() reflect.Type

func (ConfigurationRecorderArray) ToConfigurationRecorderArrayOutput

func (i ConfigurationRecorderArray) ToConfigurationRecorderArrayOutput() ConfigurationRecorderArrayOutput

func (ConfigurationRecorderArray) ToConfigurationRecorderArrayOutputWithContext

func (i ConfigurationRecorderArray) ToConfigurationRecorderArrayOutputWithContext(ctx context.Context) ConfigurationRecorderArrayOutput

type ConfigurationRecorderArrayInput

type ConfigurationRecorderArrayInput interface {
	pulumi.Input

	ToConfigurationRecorderArrayOutput() ConfigurationRecorderArrayOutput
	ToConfigurationRecorderArrayOutputWithContext(context.Context) ConfigurationRecorderArrayOutput
}

ConfigurationRecorderArrayInput is an input type that accepts ConfigurationRecorderArray and ConfigurationRecorderArrayOutput values. You can construct a concrete instance of `ConfigurationRecorderArrayInput` via:

ConfigurationRecorderArray{ ConfigurationRecorderArgs{...} }

type ConfigurationRecorderArrayOutput

type ConfigurationRecorderArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationRecorderArrayOutput) ElementType

func (ConfigurationRecorderArrayOutput) Index

func (ConfigurationRecorderArrayOutput) ToConfigurationRecorderArrayOutput

func (o ConfigurationRecorderArrayOutput) ToConfigurationRecorderArrayOutput() ConfigurationRecorderArrayOutput

func (ConfigurationRecorderArrayOutput) ToConfigurationRecorderArrayOutputWithContext

func (o ConfigurationRecorderArrayOutput) ToConfigurationRecorderArrayOutputWithContext(ctx context.Context) ConfigurationRecorderArrayOutput

type ConfigurationRecorderInput

type ConfigurationRecorderInput interface {
	pulumi.Input

	ToConfigurationRecorderOutput() ConfigurationRecorderOutput
	ToConfigurationRecorderOutputWithContext(ctx context.Context) ConfigurationRecorderOutput
}

type ConfigurationRecorderMap

type ConfigurationRecorderMap map[string]ConfigurationRecorderInput

func (ConfigurationRecorderMap) ElementType

func (ConfigurationRecorderMap) ElementType() reflect.Type

func (ConfigurationRecorderMap) ToConfigurationRecorderMapOutput

func (i ConfigurationRecorderMap) ToConfigurationRecorderMapOutput() ConfigurationRecorderMapOutput

func (ConfigurationRecorderMap) ToConfigurationRecorderMapOutputWithContext

func (i ConfigurationRecorderMap) ToConfigurationRecorderMapOutputWithContext(ctx context.Context) ConfigurationRecorderMapOutput

type ConfigurationRecorderMapInput

type ConfigurationRecorderMapInput interface {
	pulumi.Input

	ToConfigurationRecorderMapOutput() ConfigurationRecorderMapOutput
	ToConfigurationRecorderMapOutputWithContext(context.Context) ConfigurationRecorderMapOutput
}

ConfigurationRecorderMapInput is an input type that accepts ConfigurationRecorderMap and ConfigurationRecorderMapOutput values. You can construct a concrete instance of `ConfigurationRecorderMapInput` via:

ConfigurationRecorderMap{ "key": ConfigurationRecorderArgs{...} }

type ConfigurationRecorderMapOutput

type ConfigurationRecorderMapOutput struct{ *pulumi.OutputState }

func (ConfigurationRecorderMapOutput) ElementType

func (ConfigurationRecorderMapOutput) MapIndex

func (ConfigurationRecorderMapOutput) ToConfigurationRecorderMapOutput

func (o ConfigurationRecorderMapOutput) ToConfigurationRecorderMapOutput() ConfigurationRecorderMapOutput

func (ConfigurationRecorderMapOutput) ToConfigurationRecorderMapOutputWithContext

func (o ConfigurationRecorderMapOutput) ToConfigurationRecorderMapOutputWithContext(ctx context.Context) ConfigurationRecorderMapOutput

type ConfigurationRecorderOutput

type ConfigurationRecorderOutput struct{ *pulumi.OutputState }

func (ConfigurationRecorderOutput) ElementType

func (ConfigurationRecorderOutput) ToConfigurationRecorderOutput

func (o ConfigurationRecorderOutput) ToConfigurationRecorderOutput() ConfigurationRecorderOutput

func (ConfigurationRecorderOutput) ToConfigurationRecorderOutputWithContext

func (o ConfigurationRecorderOutput) ToConfigurationRecorderOutputWithContext(ctx context.Context) ConfigurationRecorderOutput

func (ConfigurationRecorderOutput) ToConfigurationRecorderPtrOutput

func (o ConfigurationRecorderOutput) ToConfigurationRecorderPtrOutput() ConfigurationRecorderPtrOutput

func (ConfigurationRecorderOutput) ToConfigurationRecorderPtrOutputWithContext

func (o ConfigurationRecorderOutput) ToConfigurationRecorderPtrOutputWithContext(ctx context.Context) ConfigurationRecorderPtrOutput

type ConfigurationRecorderPtrInput

type ConfigurationRecorderPtrInput interface {
	pulumi.Input

	ToConfigurationRecorderPtrOutput() ConfigurationRecorderPtrOutput
	ToConfigurationRecorderPtrOutputWithContext(ctx context.Context) ConfigurationRecorderPtrOutput
}

type ConfigurationRecorderPtrOutput

type ConfigurationRecorderPtrOutput struct{ *pulumi.OutputState }

func (ConfigurationRecorderPtrOutput) Elem added in v3.9.0

func (ConfigurationRecorderPtrOutput) ElementType

func (ConfigurationRecorderPtrOutput) ToConfigurationRecorderPtrOutput

func (o ConfigurationRecorderPtrOutput) ToConfigurationRecorderPtrOutput() ConfigurationRecorderPtrOutput

func (ConfigurationRecorderPtrOutput) ToConfigurationRecorderPtrOutputWithContext

func (o ConfigurationRecorderPtrOutput) ToConfigurationRecorderPtrOutputWithContext(ctx context.Context) ConfigurationRecorderPtrOutput

type ConfigurationRecorderState

type ConfigurationRecorderState struct {
	// - Whether to use the enterprise version configuration audit. Valid values: `true` and `fales`. Default value `false`.
	EnterpriseEdition pulumi.BoolPtrInput
	// Status of resource monitoring. Values: `REGISTRABLE`: Not enabled, `BUILDING`: Building and `REGISTERED`: Enabled.
	OrganizationEnableStatus pulumi.StringPtrInput
	// The ID of the Enterprise management account.
	OrganizationMasterId pulumi.IntPtrInput
	// A list of resource types to be monitored. [Resource types that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
	ResourceTypes pulumi.StringArrayInput
	// Enterprise version configuration audit enabled status. Values: `REGISTRABLE`: Not registered, `BUILDING`: Under construction, `REGISTERED`: Registered and `REBUILDING`: Rebuilding.
	Status pulumi.StringPtrInput
}

func (ConfigurationRecorderState) ElementType

func (ConfigurationRecorderState) ElementType() reflect.Type

type DeliveryChannel

type DeliveryChannel struct {
	pulumi.CustomResourceState

	// The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
	DeliveryChannelAssumeRoleArn pulumi.StringOutput `pulumi:"deliveryChannelAssumeRoleArn"`
	// The rule attached to the delivery method. This parameter is applicable only to delivery methods of the MNS type. Please refer to api [PutDeliveryChannel](https://www.alibabacloud.com/help/en/doc-detail/174253.htm) for example format.
	DeliveryChannelCondition pulumi.StringOutput `pulumi:"deliveryChannelCondition"`
	// The name of the delivery channel.
	DeliveryChannelName pulumi.StringOutput `pulumi:"deliveryChannelName"`
	// - The ARN of the delivery destination. This parameter is required when you create a delivery method. The value must be in one of the following formats:
	// - `acs:oss:{RegionId}:{Aliuid}:{bucketName}`: if your delivery destination is an Object Storage Service (OSS) bucket.
	// - `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic.
	// - `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore.
	DeliveryChannelTargetArn pulumi.StringOutput `pulumi:"deliveryChannelTargetArn"`
	// - The type of the delivery method. This parameter is required when you create a delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
	DeliveryChannelType pulumi.StringOutput `pulumi:"deliveryChannelType"`
	// The description of the delivery method.
	Description pulumi.StringOutput `pulumi:"description"`
	// The status of the delivery method. Valid values: `0`: The delivery method is disabled., `1`: The delivery destination is enabled. This is the default value.
	Status pulumi.IntOutput `pulumi:"status"`
}

## Import

Alicloud Config Delivery Channel can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cfg/deliveryChannel:DeliveryChannel example cdc-49a2ad756057********

```

func GetDeliveryChannel

func GetDeliveryChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeliveryChannelState, opts ...pulumi.ResourceOption) (*DeliveryChannel, error)

GetDeliveryChannel gets an existing DeliveryChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeliveryChannel

func NewDeliveryChannel(ctx *pulumi.Context,
	name string, args *DeliveryChannelArgs, opts ...pulumi.ResourceOption) (*DeliveryChannel, error)

NewDeliveryChannel registers a new resource with the given unique name, arguments, and options.

func (*DeliveryChannel) ElementType

func (*DeliveryChannel) ElementType() reflect.Type

func (*DeliveryChannel) ToDeliveryChannelOutput

func (i *DeliveryChannel) ToDeliveryChannelOutput() DeliveryChannelOutput

func (*DeliveryChannel) ToDeliveryChannelOutputWithContext

func (i *DeliveryChannel) ToDeliveryChannelOutputWithContext(ctx context.Context) DeliveryChannelOutput

func (*DeliveryChannel) ToDeliveryChannelPtrOutput

func (i *DeliveryChannel) ToDeliveryChannelPtrOutput() DeliveryChannelPtrOutput

func (*DeliveryChannel) ToDeliveryChannelPtrOutputWithContext

func (i *DeliveryChannel) ToDeliveryChannelPtrOutputWithContext(ctx context.Context) DeliveryChannelPtrOutput

type DeliveryChannelArgs

type DeliveryChannelArgs struct {
	// The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
	DeliveryChannelAssumeRoleArn pulumi.StringInput
	// The rule attached to the delivery method. This parameter is applicable only to delivery methods of the MNS type. Please refer to api [PutDeliveryChannel](https://www.alibabacloud.com/help/en/doc-detail/174253.htm) for example format.
	DeliveryChannelCondition pulumi.StringPtrInput
	// The name of the delivery channel.
	DeliveryChannelName pulumi.StringPtrInput
	// - The ARN of the delivery destination. This parameter is required when you create a delivery method. The value must be in one of the following formats:
	// - `acs:oss:{RegionId}:{Aliuid}:{bucketName}`: if your delivery destination is an Object Storage Service (OSS) bucket.
	// - `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic.
	// - `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore.
	DeliveryChannelTargetArn pulumi.StringInput
	// - The type of the delivery method. This parameter is required when you create a delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
	DeliveryChannelType pulumi.StringInput
	// The description of the delivery method.
	Description pulumi.StringPtrInput
	// The status of the delivery method. Valid values: `0`: The delivery method is disabled., `1`: The delivery destination is enabled. This is the default value.
	Status pulumi.IntPtrInput
}

The set of arguments for constructing a DeliveryChannel resource.

func (DeliveryChannelArgs) ElementType

func (DeliveryChannelArgs) ElementType() reflect.Type

type DeliveryChannelArray

type DeliveryChannelArray []DeliveryChannelInput

func (DeliveryChannelArray) ElementType

func (DeliveryChannelArray) ElementType() reflect.Type

func (DeliveryChannelArray) ToDeliveryChannelArrayOutput

func (i DeliveryChannelArray) ToDeliveryChannelArrayOutput() DeliveryChannelArrayOutput

func (DeliveryChannelArray) ToDeliveryChannelArrayOutputWithContext

func (i DeliveryChannelArray) ToDeliveryChannelArrayOutputWithContext(ctx context.Context) DeliveryChannelArrayOutput

type DeliveryChannelArrayInput

type DeliveryChannelArrayInput interface {
	pulumi.Input

	ToDeliveryChannelArrayOutput() DeliveryChannelArrayOutput
	ToDeliveryChannelArrayOutputWithContext(context.Context) DeliveryChannelArrayOutput
}

DeliveryChannelArrayInput is an input type that accepts DeliveryChannelArray and DeliveryChannelArrayOutput values. You can construct a concrete instance of `DeliveryChannelArrayInput` via:

DeliveryChannelArray{ DeliveryChannelArgs{...} }

type DeliveryChannelArrayOutput

type DeliveryChannelArrayOutput struct{ *pulumi.OutputState }

func (DeliveryChannelArrayOutput) ElementType

func (DeliveryChannelArrayOutput) ElementType() reflect.Type

func (DeliveryChannelArrayOutput) Index

func (DeliveryChannelArrayOutput) ToDeliveryChannelArrayOutput

func (o DeliveryChannelArrayOutput) ToDeliveryChannelArrayOutput() DeliveryChannelArrayOutput

func (DeliveryChannelArrayOutput) ToDeliveryChannelArrayOutputWithContext

func (o DeliveryChannelArrayOutput) ToDeliveryChannelArrayOutputWithContext(ctx context.Context) DeliveryChannelArrayOutput

type DeliveryChannelInput

type DeliveryChannelInput interface {
	pulumi.Input

	ToDeliveryChannelOutput() DeliveryChannelOutput
	ToDeliveryChannelOutputWithContext(ctx context.Context) DeliveryChannelOutput
}

type DeliveryChannelMap

type DeliveryChannelMap map[string]DeliveryChannelInput

func (DeliveryChannelMap) ElementType

func (DeliveryChannelMap) ElementType() reflect.Type

func (DeliveryChannelMap) ToDeliveryChannelMapOutput

func (i DeliveryChannelMap) ToDeliveryChannelMapOutput() DeliveryChannelMapOutput

func (DeliveryChannelMap) ToDeliveryChannelMapOutputWithContext

func (i DeliveryChannelMap) ToDeliveryChannelMapOutputWithContext(ctx context.Context) DeliveryChannelMapOutput

type DeliveryChannelMapInput

type DeliveryChannelMapInput interface {
	pulumi.Input

	ToDeliveryChannelMapOutput() DeliveryChannelMapOutput
	ToDeliveryChannelMapOutputWithContext(context.Context) DeliveryChannelMapOutput
}

DeliveryChannelMapInput is an input type that accepts DeliveryChannelMap and DeliveryChannelMapOutput values. You can construct a concrete instance of `DeliveryChannelMapInput` via:

DeliveryChannelMap{ "key": DeliveryChannelArgs{...} }

type DeliveryChannelMapOutput

type DeliveryChannelMapOutput struct{ *pulumi.OutputState }

func (DeliveryChannelMapOutput) ElementType

func (DeliveryChannelMapOutput) ElementType() reflect.Type

func (DeliveryChannelMapOutput) MapIndex

func (DeliveryChannelMapOutput) ToDeliveryChannelMapOutput

func (o DeliveryChannelMapOutput) ToDeliveryChannelMapOutput() DeliveryChannelMapOutput

func (DeliveryChannelMapOutput) ToDeliveryChannelMapOutputWithContext

func (o DeliveryChannelMapOutput) ToDeliveryChannelMapOutputWithContext(ctx context.Context) DeliveryChannelMapOutput

type DeliveryChannelOutput

type DeliveryChannelOutput struct{ *pulumi.OutputState }

func (DeliveryChannelOutput) ElementType

func (DeliveryChannelOutput) ElementType() reflect.Type

func (DeliveryChannelOutput) ToDeliveryChannelOutput

func (o DeliveryChannelOutput) ToDeliveryChannelOutput() DeliveryChannelOutput

func (DeliveryChannelOutput) ToDeliveryChannelOutputWithContext

func (o DeliveryChannelOutput) ToDeliveryChannelOutputWithContext(ctx context.Context) DeliveryChannelOutput

func (DeliveryChannelOutput) ToDeliveryChannelPtrOutput

func (o DeliveryChannelOutput) ToDeliveryChannelPtrOutput() DeliveryChannelPtrOutput

func (DeliveryChannelOutput) ToDeliveryChannelPtrOutputWithContext

func (o DeliveryChannelOutput) ToDeliveryChannelPtrOutputWithContext(ctx context.Context) DeliveryChannelPtrOutput

type DeliveryChannelPtrInput

type DeliveryChannelPtrInput interface {
	pulumi.Input

	ToDeliveryChannelPtrOutput() DeliveryChannelPtrOutput
	ToDeliveryChannelPtrOutputWithContext(ctx context.Context) DeliveryChannelPtrOutput
}

type DeliveryChannelPtrOutput

type DeliveryChannelPtrOutput struct{ *pulumi.OutputState }

func (DeliveryChannelPtrOutput) Elem added in v3.9.0

func (DeliveryChannelPtrOutput) ElementType

func (DeliveryChannelPtrOutput) ElementType() reflect.Type

func (DeliveryChannelPtrOutput) ToDeliveryChannelPtrOutput

func (o DeliveryChannelPtrOutput) ToDeliveryChannelPtrOutput() DeliveryChannelPtrOutput

func (DeliveryChannelPtrOutput) ToDeliveryChannelPtrOutputWithContext

func (o DeliveryChannelPtrOutput) ToDeliveryChannelPtrOutputWithContext(ctx context.Context) DeliveryChannelPtrOutput

type DeliveryChannelState

type DeliveryChannelState struct {
	// The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
	DeliveryChannelAssumeRoleArn pulumi.StringPtrInput
	// The rule attached to the delivery method. This parameter is applicable only to delivery methods of the MNS type. Please refer to api [PutDeliveryChannel](https://www.alibabacloud.com/help/en/doc-detail/174253.htm) for example format.
	DeliveryChannelCondition pulumi.StringPtrInput
	// The name of the delivery channel.
	DeliveryChannelName pulumi.StringPtrInput
	// - The ARN of the delivery destination. This parameter is required when you create a delivery method. The value must be in one of the following formats:
	// - `acs:oss:{RegionId}:{Aliuid}:{bucketName}`: if your delivery destination is an Object Storage Service (OSS) bucket.
	// - `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}`: if your delivery destination is a Message Service (MNS) topic.
	// - `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}`: if your delivery destination is a Log Service Logstore.
	DeliveryChannelTargetArn pulumi.StringPtrInput
	// - The type of the delivery method. This parameter is required when you create a delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
	DeliveryChannelType pulumi.StringPtrInput
	// The description of the delivery method.
	Description pulumi.StringPtrInput
	// The status of the delivery method. Valid values: `0`: The delivery method is disabled., `1`: The delivery destination is enabled. This is the default value.
	Status pulumi.IntPtrInput
}

func (DeliveryChannelState) ElementType

func (DeliveryChannelState) ElementType() reflect.Type

type GetAggregateCompliancePacksArgs added in v3.3.0

type GetAggregateCompliancePacksArgs struct {
	// The ID of aggregator.
	AggregatorId string `pulumi:"aggregatorId"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Aggregate Compliance Pack IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Aggregate Compliance Pack name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAggregateCompliancePacks.

type GetAggregateCompliancePacksOutputArgs added in v3.9.0

type GetAggregateCompliancePacksOutputArgs struct {
	// The ID of aggregator.
	AggregatorId pulumi.StringInput `pulumi:"aggregatorId"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Aggregate Compliance Pack IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Aggregate Compliance Pack name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAggregateCompliancePacks.

func (GetAggregateCompliancePacksOutputArgs) ElementType added in v3.9.0

type GetAggregateCompliancePacksPack added in v3.3.0

type GetAggregateCompliancePacksPack struct {
	// The Aliyun User Id.
	AccountId string `pulumi:"accountId"`
	// -The Aggregate Compliance Package Name.
	AggregateCompliancePackName string `pulumi:"aggregateCompliancePackName"`
	// The first ID of the resource.
	AggregatorCompliancePackId string `pulumi:"aggregatorCompliancePackId"`
	// The template ID of the Compliance Package.
	CompliancePackTemplateId string `pulumi:"compliancePackTemplateId"`
	// A list of The Aggregate Compliance Package Rules.
	ConfigRules []GetAggregateCompliancePacksPackConfigRule `pulumi:"configRules"`
	// The description of aggregate compliance pack.
	Description string `pulumi:"description"`
	// The ID of the Aggregate Compliance Pack.
	Id string `pulumi:"id"`
	// The Risk Level.
	RiskLevel int `pulumi:"riskLevel"`
	// The status of the resource.
	Status string `pulumi:"status"`
}

type GetAggregateCompliancePacksPackArgs added in v3.3.0

type GetAggregateCompliancePacksPackArgs struct {
	// The Aliyun User Id.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// -The Aggregate Compliance Package Name.
	AggregateCompliancePackName pulumi.StringInput `pulumi:"aggregateCompliancePackName"`
	// The first ID of the resource.
	AggregatorCompliancePackId pulumi.StringInput `pulumi:"aggregatorCompliancePackId"`
	// The template ID of the Compliance Package.
	CompliancePackTemplateId pulumi.StringInput `pulumi:"compliancePackTemplateId"`
	// A list of The Aggregate Compliance Package Rules.
	ConfigRules GetAggregateCompliancePacksPackConfigRuleArrayInput `pulumi:"configRules"`
	// The description of aggregate compliance pack.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Aggregate Compliance Pack.
	Id pulumi.StringInput `pulumi:"id"`
	// The Risk Level.
	RiskLevel pulumi.IntInput `pulumi:"riskLevel"`
	// The status of the resource.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetAggregateCompliancePacksPackArgs) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutput added in v3.3.0

func (i GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput

func (GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutputWithContext added in v3.3.0

func (i GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackOutput

type GetAggregateCompliancePacksPackArray added in v3.3.0

type GetAggregateCompliancePacksPackArray []GetAggregateCompliancePacksPackInput

func (GetAggregateCompliancePacksPackArray) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutput added in v3.3.0

func (i GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput

func (GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutputWithContext added in v3.3.0

func (i GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackArrayOutput

type GetAggregateCompliancePacksPackArrayInput added in v3.3.0

type GetAggregateCompliancePacksPackArrayInput interface {
	pulumi.Input

	ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput
	ToGetAggregateCompliancePacksPackArrayOutputWithContext(context.Context) GetAggregateCompliancePacksPackArrayOutput
}

GetAggregateCompliancePacksPackArrayInput is an input type that accepts GetAggregateCompliancePacksPackArray and GetAggregateCompliancePacksPackArrayOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackArrayInput` via:

GetAggregateCompliancePacksPackArray{ GetAggregateCompliancePacksPackArgs{...} }

type GetAggregateCompliancePacksPackArrayOutput added in v3.3.0

type GetAggregateCompliancePacksPackArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackArrayOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackArrayOutput) Index added in v3.3.0

func (GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutput added in v3.3.0

func (o GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput

func (GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutputWithContext added in v3.3.0

func (o GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackArrayOutput

type GetAggregateCompliancePacksPackConfigRule added in v3.3.0

type GetAggregateCompliancePacksPackConfigRule struct {
	// The ID of the rule.
	ConfigRuleId string `pulumi:"configRuleId"`
	// A list of parameter rules.
	ConfigRuleParameters []GetAggregateCompliancePacksPackConfigRuleConfigRuleParameter `pulumi:"configRuleParameters"`
	// Managed Rule Identifier.
	ManagedRuleIdentifier string `pulumi:"managedRuleIdentifier"`
}

type GetAggregateCompliancePacksPackConfigRuleArgs added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleArgs struct {
	// The ID of the rule.
	ConfigRuleId pulumi.StringInput `pulumi:"configRuleId"`
	// A list of parameter rules.
	ConfigRuleParameters GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput `pulumi:"configRuleParameters"`
	// Managed Rule Identifier.
	ManagedRuleIdentifier pulumi.StringInput `pulumi:"managedRuleIdentifier"`
}

func (GetAggregateCompliancePacksPackConfigRuleArgs) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutput added in v3.3.0

func (i GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput

func (GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext added in v3.3.0

func (i GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleOutput

type GetAggregateCompliancePacksPackConfigRuleArray added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleArray []GetAggregateCompliancePacksPackConfigRuleInput

func (GetAggregateCompliancePacksPackConfigRuleArray) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

func (i GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput() GetAggregateCompliancePacksPackConfigRuleArrayOutput

func (GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext added in v3.3.0

func (i GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleArrayOutput

type GetAggregateCompliancePacksPackConfigRuleArrayInput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleArrayInput interface {
	pulumi.Input

	ToGetAggregateCompliancePacksPackConfigRuleArrayOutput() GetAggregateCompliancePacksPackConfigRuleArrayOutput
	ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext(context.Context) GetAggregateCompliancePacksPackConfigRuleArrayOutput
}

GetAggregateCompliancePacksPackConfigRuleArrayInput is an input type that accepts GetAggregateCompliancePacksPackConfigRuleArray and GetAggregateCompliancePacksPackConfigRuleArrayOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackConfigRuleArrayInput` via:

GetAggregateCompliancePacksPackConfigRuleArray{ GetAggregateCompliancePacksPackConfigRuleArgs{...} }

type GetAggregateCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) Index added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext added in v3.3.0

func (o GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleArrayOutput

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameter added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameter struct {
	// The Parameter Name.
	ParameterName string `pulumi:"parameterName"`
	// The Parameter Value.
	ParameterValue string `pulumi:"parameterValue"`
	// Required.
	Required bool `pulumi:"required"`
}

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs struct {
	// The Parameter Name.
	ParameterName pulumi.StringInput `pulumi:"parameterName"`
	// The Parameter Value.
	ParameterValue pulumi.StringInput `pulumi:"parameterValue"`
	// Required.
	Required pulumi.BoolInput `pulumi:"required"`
}

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

func (i GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray []GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

func (i GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput interface {
	pulumi.Input

	ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
	ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
}

GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput is an input type that accepts GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray and GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput` via:

GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray{ GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs{...} }

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) Index added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput interface {
	pulumi.Input

	ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
	ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput
}

GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput is an input type that accepts GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs and GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput` via:

GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs{...}

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName added in v3.3.0

The Parameter Name.

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue added in v3.3.0

The Parameter Value.

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required added in v3.3.0

Required.

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

func (o GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput

type GetAggregateCompliancePacksPackConfigRuleInput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleInput interface {
	pulumi.Input

	ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput
	ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext(context.Context) GetAggregateCompliancePacksPackConfigRuleOutput
}

GetAggregateCompliancePacksPackConfigRuleInput is an input type that accepts GetAggregateCompliancePacksPackConfigRuleArgs and GetAggregateCompliancePacksPackConfigRuleOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackConfigRuleInput` via:

GetAggregateCompliancePacksPackConfigRuleArgs{...}

type GetAggregateCompliancePacksPackConfigRuleOutput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleId added in v3.3.0

The ID of the rule.

func (GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleParameters added in v3.3.0

A list of parameter rules.

func (GetAggregateCompliancePacksPackConfigRuleOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier added in v3.3.0

Managed Rule Identifier.

func (GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutput added in v3.3.0

func (o GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput

func (GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext added in v3.3.0

func (o GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackConfigRuleOutput

type GetAggregateCompliancePacksPackInput added in v3.3.0

type GetAggregateCompliancePacksPackInput interface {
	pulumi.Input

	ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput
	ToGetAggregateCompliancePacksPackOutputWithContext(context.Context) GetAggregateCompliancePacksPackOutput
}

GetAggregateCompliancePacksPackInput is an input type that accepts GetAggregateCompliancePacksPackArgs and GetAggregateCompliancePacksPackOutput values. You can construct a concrete instance of `GetAggregateCompliancePacksPackInput` via:

GetAggregateCompliancePacksPackArgs{...}

type GetAggregateCompliancePacksPackOutput added in v3.3.0

type GetAggregateCompliancePacksPackOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackOutput) AccountId added in v3.3.0

The Aliyun User Id.

func (GetAggregateCompliancePacksPackOutput) AggregateCompliancePackName added in v3.3.0

func (o GetAggregateCompliancePacksPackOutput) AggregateCompliancePackName() pulumi.StringOutput

-The Aggregate Compliance Package Name.

func (GetAggregateCompliancePacksPackOutput) AggregatorCompliancePackId added in v3.3.0

func (o GetAggregateCompliancePacksPackOutput) AggregatorCompliancePackId() pulumi.StringOutput

The first ID of the resource.

func (GetAggregateCompliancePacksPackOutput) CompliancePackTemplateId added in v3.3.0

func (o GetAggregateCompliancePacksPackOutput) CompliancePackTemplateId() pulumi.StringOutput

The template ID of the Compliance Package.

func (GetAggregateCompliancePacksPackOutput) ConfigRules added in v3.3.0

A list of The Aggregate Compliance Package Rules.

func (GetAggregateCompliancePacksPackOutput) Description added in v3.3.0

The description of aggregate compliance pack.

func (GetAggregateCompliancePacksPackOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackOutput) Id added in v3.3.0

The ID of the Aggregate Compliance Pack.

func (GetAggregateCompliancePacksPackOutput) RiskLevel added in v3.3.0

The Risk Level.

func (GetAggregateCompliancePacksPackOutput) Status added in v3.3.0

The status of the resource.

func (GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutput added in v3.3.0

func (o GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput

func (GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutputWithContext added in v3.3.0

func (o GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutputWithContext(ctx context.Context) GetAggregateCompliancePacksPackOutput

type GetAggregateCompliancePacksResult added in v3.3.0

type GetAggregateCompliancePacksResult struct {
	AggregatorId  string `pulumi:"aggregatorId"`
	EnableDetails *bool  `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                            `pulumi:"id"`
	Ids        []string                          `pulumi:"ids"`
	NameRegex  *string                           `pulumi:"nameRegex"`
	Names      []string                          `pulumi:"names"`
	OutputFile *string                           `pulumi:"outputFile"`
	Packs      []GetAggregateCompliancePacksPack `pulumi:"packs"`
	Status     *string                           `pulumi:"status"`
}

A collection of values returned by getAggregateCompliancePacks.

func GetAggregateCompliancePacks added in v3.3.0

func GetAggregateCompliancePacks(ctx *pulumi.Context, args *GetAggregateCompliancePacksArgs, opts ...pulumi.InvokeOption) (*GetAggregateCompliancePacksResult, error)

This data source provides the Config Aggregate Compliance Packs of the current Alibaba Cloud user.

> **NOTE:** Available in v1.124.0+.

## Example Usage

Basic Usage

```go 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 {
		opt0 := "the_resource_name"
		example, err := cfg.GetAggregateCompliancePacks(ctx, &cfg.GetAggregateCompliancePacksArgs{
			AggregatorId: "ca-3a9b626622af001d****",
			Ids: []string{
				"cp-152a626622af00bc****",
			},
			NameRegex: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigAggregateCompliancePackId", example.Packs[0].Id)
		return nil
	})
}

```

type GetAggregateCompliancePacksResultOutput added in v3.9.0

type GetAggregateCompliancePacksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregateCompliancePacks.

func (GetAggregateCompliancePacksResultOutput) AggregatorId added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) ElementType added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) EnableDetails added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAggregateCompliancePacksResultOutput) Ids added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) NameRegex added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) Names added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) OutputFile added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) Packs added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) Status added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutput added in v3.9.0

func (o GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutput() GetAggregateCompliancePacksResultOutput

func (GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutputWithContext added in v3.9.0

func (o GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutputWithContext(ctx context.Context) GetAggregateCompliancePacksResultOutput

type GetAggregateConfigRulesArgs added in v3.3.0

type GetAggregateConfigRulesArgs struct {
	// The name of the rule.
	AggregateConfigRuleName *string `pulumi:"aggregateConfigRuleName"`
	// The ID of Aggregator.
	AggregatorId string `pulumi:"aggregatorId"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Aggregate Config Rule IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Aggregate Config Rule name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical, `2`: warning, `3`: info.
	RiskLevel *int `pulumi:"riskLevel"`
	// The status of the rule.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAggregateConfigRules.

type GetAggregateConfigRulesOutputArgs added in v3.9.0

type GetAggregateConfigRulesOutputArgs struct {
	// The name of the rule.
	AggregateConfigRuleName pulumi.StringPtrInput `pulumi:"aggregateConfigRuleName"`
	// The ID of Aggregator.
	AggregatorId pulumi.StringInput `pulumi:"aggregatorId"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Aggregate Config Rule IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Aggregate Config Rule name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical, `2`: warning, `3`: info.
	RiskLevel pulumi.IntPtrInput `pulumi:"riskLevel"`
	// The status of the rule.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAggregateConfigRules.

func (GetAggregateConfigRulesOutputArgs) ElementType added in v3.9.0

type GetAggregateConfigRulesResult added in v3.3.0

type GetAggregateConfigRulesResult struct {
	AggregateConfigRuleName *string `pulumi:"aggregateConfigRuleName"`
	AggregatorId            string  `pulumi:"aggregatorId"`
	EnableDetails           *bool   `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                        `pulumi:"id"`
	Ids        []string                      `pulumi:"ids"`
	NameRegex  *string                       `pulumi:"nameRegex"`
	Names      []string                      `pulumi:"names"`
	OutputFile *string                       `pulumi:"outputFile"`
	RiskLevel  *int                          `pulumi:"riskLevel"`
	Rules      []GetAggregateConfigRulesRule `pulumi:"rules"`
	Status     *string                       `pulumi:"status"`
}

A collection of values returned by getAggregateConfigRules.

func GetAggregateConfigRules added in v3.3.0

func GetAggregateConfigRules(ctx *pulumi.Context, args *GetAggregateConfigRulesArgs, opts ...pulumi.InvokeOption) (*GetAggregateConfigRulesResult, error)

This data source provides the Config Aggregate Config Rules of the current Alibaba Cloud user.

> **NOTE:** Available in v1.124.0+.

## Example Usage

Basic Usage

```go 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 {
		opt0 := "the_resource_name"
		example, err := cfg.GetAggregateConfigRules(ctx, &cfg.GetAggregateConfigRulesArgs{
			AggregatorId: "ca-3a9b626622af001d****",
			Ids: []string{
				"cr-5154626622af0034****",
			},
			NameRegex: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigAggregateConfigRuleId", example.Rules[0].Id)
		return nil
	})
}

```

type GetAggregateConfigRulesResultOutput added in v3.9.0

type GetAggregateConfigRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregateConfigRules.

func (GetAggregateConfigRulesResultOutput) AggregateConfigRuleName added in v3.9.0

func (o GetAggregateConfigRulesResultOutput) AggregateConfigRuleName() pulumi.StringPtrOutput

func (GetAggregateConfigRulesResultOutput) AggregatorId added in v3.9.0

func (GetAggregateConfigRulesResultOutput) ElementType added in v3.9.0

func (GetAggregateConfigRulesResultOutput) EnableDetails added in v3.9.0

func (GetAggregateConfigRulesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAggregateConfigRulesResultOutput) Ids added in v3.9.0

func (GetAggregateConfigRulesResultOutput) NameRegex added in v3.9.0

func (GetAggregateConfigRulesResultOutput) Names added in v3.9.0

func (GetAggregateConfigRulesResultOutput) OutputFile added in v3.9.0

func (GetAggregateConfigRulesResultOutput) RiskLevel added in v3.9.0

func (GetAggregateConfigRulesResultOutput) Rules added in v3.9.0

func (GetAggregateConfigRulesResultOutput) Status added in v3.9.0

func (GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutput added in v3.9.0

func (o GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutput() GetAggregateConfigRulesResultOutput

func (GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutputWithContext added in v3.9.0

func (o GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutputWithContext(ctx context.Context) GetAggregateConfigRulesResultOutput

type GetAggregateConfigRulesRule added in v3.3.0

type GetAggregateConfigRulesRule struct {
	// The Aliyun User ID.
	AccountId string `pulumi:"accountId"`
	// The name of the rule.
	AggregateConfigRuleName string `pulumi:"aggregateConfigRuleName"`
	// The ID of Compliance Package.
	CompliancePackId string `pulumi:"compliancePackId"`
	// -The Compliance information.
	Compliances []GetAggregateConfigRulesRuleCompliance `pulumi:"compliances"`
	// The config rule arn.
	ConfigRuleArn string `pulumi:"configRuleArn"`
	// The ID of the rule.
	ConfigRuleId string `pulumi:"configRuleId"`
	// The trigger types of config rules.
	ConfigRuleTriggerTypes string `pulumi:"configRuleTriggerTypes"`
	// The description of the rule.
	Description string `pulumi:"description"`
	// Event source of the Config Rule.
	EventSource string `pulumi:"eventSource"`
	// The types of the resources to be evaluated against the rule.
	ExcludeResourceIdsScope string `pulumi:"excludeResourceIdsScope"`
	// The ID of the Aggregate Config Rule.
	Id string `pulumi:"id"`
	// The settings of the input parameters for the rule.
	InputParameters map[string]interface{} `pulumi:"inputParameters"`
	// The frequency of the compliance evaluations.
	MaximumExecutionFrequency string `pulumi:"maximumExecutionFrequency"`
	// The timestamp when the rule was last modified.
	ModifiedTimestamp string `pulumi:"modifiedTimestamp"`
	// The Exclude ResourceId List.
	RegionIdsScope string `pulumi:"regionIdsScope"`
	// The scope of resource group ids.
	ResourceGroupIdsScope string   `pulumi:"resourceGroupIdsScope"`
	ResourceTypesScopes   []string `pulumi:"resourceTypesScopes"`
	// The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical, `2`: warning, `3`: info.
	RiskLevel int `pulumi:"riskLevel"`
	// The name of the custom rule or managed rule.
	SourceIdentifier string `pulumi:"sourceIdentifier"`
	// The source owner of the Config Rule.
	SourceOwner string `pulumi:"sourceOwner"`
	// The status of the rule.
	Status string `pulumi:"status"`
	// The scope of tay key.
	TagKeyScope string `pulumi:"tagKeyScope"`
	// The scope of tay value.
	TagValueScope string `pulumi:"tagValueScope"`
}

type GetAggregateConfigRulesRuleArgs added in v3.3.0

type GetAggregateConfigRulesRuleArgs struct {
	// The Aliyun User ID.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The name of the rule.
	AggregateConfigRuleName pulumi.StringInput `pulumi:"aggregateConfigRuleName"`
	// The ID of Compliance Package.
	CompliancePackId pulumi.StringInput `pulumi:"compliancePackId"`
	// -The Compliance information.
	Compliances GetAggregateConfigRulesRuleComplianceArrayInput `pulumi:"compliances"`
	// The config rule arn.
	ConfigRuleArn pulumi.StringInput `pulumi:"configRuleArn"`
	// The ID of the rule.
	ConfigRuleId pulumi.StringInput `pulumi:"configRuleId"`
	// The trigger types of config rules.
	ConfigRuleTriggerTypes pulumi.StringInput `pulumi:"configRuleTriggerTypes"`
	// The description of the rule.
	Description pulumi.StringInput `pulumi:"description"`
	// Event source of the Config Rule.
	EventSource pulumi.StringInput `pulumi:"eventSource"`
	// The types of the resources to be evaluated against the rule.
	ExcludeResourceIdsScope pulumi.StringInput `pulumi:"excludeResourceIdsScope"`
	// The ID of the Aggregate Config Rule.
	Id pulumi.StringInput `pulumi:"id"`
	// The settings of the input parameters for the rule.
	InputParameters pulumi.MapInput `pulumi:"inputParameters"`
	// The frequency of the compliance evaluations.
	MaximumExecutionFrequency pulumi.StringInput `pulumi:"maximumExecutionFrequency"`
	// The timestamp when the rule was last modified.
	ModifiedTimestamp pulumi.StringInput `pulumi:"modifiedTimestamp"`
	// The Exclude ResourceId List.
	RegionIdsScope pulumi.StringInput `pulumi:"regionIdsScope"`
	// The scope of resource group ids.
	ResourceGroupIdsScope pulumi.StringInput      `pulumi:"resourceGroupIdsScope"`
	ResourceTypesScopes   pulumi.StringArrayInput `pulumi:"resourceTypesScopes"`
	// The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical, `2`: warning, `3`: info.
	RiskLevel pulumi.IntInput `pulumi:"riskLevel"`
	// The name of the custom rule or managed rule.
	SourceIdentifier pulumi.StringInput `pulumi:"sourceIdentifier"`
	// The source owner of the Config Rule.
	SourceOwner pulumi.StringInput `pulumi:"sourceOwner"`
	// The status of the rule.
	Status pulumi.StringInput `pulumi:"status"`
	// The scope of tay key.
	TagKeyScope pulumi.StringInput `pulumi:"tagKeyScope"`
	// The scope of tay value.
	TagValueScope pulumi.StringInput `pulumi:"tagValueScope"`
}

func (GetAggregateConfigRulesRuleArgs) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutput added in v3.3.0

func (i GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput

func (GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutputWithContext added in v3.3.0

func (i GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleOutput

type GetAggregateConfigRulesRuleArray added in v3.3.0

type GetAggregateConfigRulesRuleArray []GetAggregateConfigRulesRuleInput

func (GetAggregateConfigRulesRuleArray) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutput added in v3.3.0

func (i GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput

func (GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutputWithContext added in v3.3.0

func (i GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleArrayOutput

type GetAggregateConfigRulesRuleArrayInput added in v3.3.0

type GetAggregateConfigRulesRuleArrayInput interface {
	pulumi.Input

	ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput
	ToGetAggregateConfigRulesRuleArrayOutputWithContext(context.Context) GetAggregateConfigRulesRuleArrayOutput
}

GetAggregateConfigRulesRuleArrayInput is an input type that accepts GetAggregateConfigRulesRuleArray and GetAggregateConfigRulesRuleArrayOutput values. You can construct a concrete instance of `GetAggregateConfigRulesRuleArrayInput` via:

GetAggregateConfigRulesRuleArray{ GetAggregateConfigRulesRuleArgs{...} }

type GetAggregateConfigRulesRuleArrayOutput added in v3.3.0

type GetAggregateConfigRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleArrayOutput) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleArrayOutput) Index added in v3.3.0

func (GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutput added in v3.3.0

func (o GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput

func (GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutputWithContext added in v3.3.0

func (o GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleArrayOutput

type GetAggregateConfigRulesRuleCompliance added in v3.3.0

type GetAggregateConfigRulesRuleCompliance struct {
	// The Compliance Type.
	ComplianceType string `pulumi:"complianceType"`
	// The Count.
	Count int `pulumi:"count"`
}

type GetAggregateConfigRulesRuleComplianceArgs added in v3.3.0

type GetAggregateConfigRulesRuleComplianceArgs struct {
	// The Compliance Type.
	ComplianceType pulumi.StringInput `pulumi:"complianceType"`
	// The Count.
	Count pulumi.IntInput `pulumi:"count"`
}

func (GetAggregateConfigRulesRuleComplianceArgs) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutput added in v3.3.0

func (i GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput

func (GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutputWithContext added in v3.3.0

func (i GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceOutput

type GetAggregateConfigRulesRuleComplianceArray added in v3.3.0

type GetAggregateConfigRulesRuleComplianceArray []GetAggregateConfigRulesRuleComplianceInput

func (GetAggregateConfigRulesRuleComplianceArray) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutput added in v3.3.0

func (i GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput

func (GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext added in v3.3.0

func (i GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceArrayOutput

type GetAggregateConfigRulesRuleComplianceArrayInput added in v3.3.0

type GetAggregateConfigRulesRuleComplianceArrayInput interface {
	pulumi.Input

	ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput
	ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext(context.Context) GetAggregateConfigRulesRuleComplianceArrayOutput
}

GetAggregateConfigRulesRuleComplianceArrayInput is an input type that accepts GetAggregateConfigRulesRuleComplianceArray and GetAggregateConfigRulesRuleComplianceArrayOutput values. You can construct a concrete instance of `GetAggregateConfigRulesRuleComplianceArrayInput` via:

GetAggregateConfigRulesRuleComplianceArray{ GetAggregateConfigRulesRuleComplianceArgs{...} }

type GetAggregateConfigRulesRuleComplianceArrayOutput added in v3.3.0

type GetAggregateConfigRulesRuleComplianceArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleComplianceArrayOutput) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleComplianceArrayOutput) Index added in v3.3.0

func (GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutput added in v3.3.0

func (o GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput

func (GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext added in v3.3.0

func (o GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceArrayOutput

type GetAggregateConfigRulesRuleComplianceInput added in v3.3.0

type GetAggregateConfigRulesRuleComplianceInput interface {
	pulumi.Input

	ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput
	ToGetAggregateConfigRulesRuleComplianceOutputWithContext(context.Context) GetAggregateConfigRulesRuleComplianceOutput
}

GetAggregateConfigRulesRuleComplianceInput is an input type that accepts GetAggregateConfigRulesRuleComplianceArgs and GetAggregateConfigRulesRuleComplianceOutput values. You can construct a concrete instance of `GetAggregateConfigRulesRuleComplianceInput` via:

GetAggregateConfigRulesRuleComplianceArgs{...}

type GetAggregateConfigRulesRuleComplianceOutput added in v3.3.0

type GetAggregateConfigRulesRuleComplianceOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleComplianceOutput) ComplianceType added in v3.3.0

The Compliance Type.

func (GetAggregateConfigRulesRuleComplianceOutput) Count added in v3.3.0

The Count.

func (GetAggregateConfigRulesRuleComplianceOutput) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutput added in v3.3.0

func (o GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput

func (GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutputWithContext added in v3.3.0

func (o GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleComplianceOutput

type GetAggregateConfigRulesRuleInput added in v3.3.0

type GetAggregateConfigRulesRuleInput interface {
	pulumi.Input

	ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput
	ToGetAggregateConfigRulesRuleOutputWithContext(context.Context) GetAggregateConfigRulesRuleOutput
}

GetAggregateConfigRulesRuleInput is an input type that accepts GetAggregateConfigRulesRuleArgs and GetAggregateConfigRulesRuleOutput values. You can construct a concrete instance of `GetAggregateConfigRulesRuleInput` via:

GetAggregateConfigRulesRuleArgs{...}

type GetAggregateConfigRulesRuleOutput added in v3.3.0

type GetAggregateConfigRulesRuleOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleOutput) AccountId added in v3.3.0

The Aliyun User ID.

func (GetAggregateConfigRulesRuleOutput) AggregateConfigRuleName added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) AggregateConfigRuleName() pulumi.StringOutput

The name of the rule.

func (GetAggregateConfigRulesRuleOutput) CompliancePackId added in v3.3.0

The ID of Compliance Package.

func (GetAggregateConfigRulesRuleOutput) Compliances added in v3.3.0

-The Compliance information.

func (GetAggregateConfigRulesRuleOutput) ConfigRuleArn added in v3.3.0

The config rule arn.

func (GetAggregateConfigRulesRuleOutput) ConfigRuleId added in v3.3.0

The ID of the rule.

func (GetAggregateConfigRulesRuleOutput) ConfigRuleTriggerTypes added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput

The trigger types of config rules.

func (GetAggregateConfigRulesRuleOutput) Description added in v3.3.0

The description of the rule.

func (GetAggregateConfigRulesRuleOutput) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleOutput) EventSource added in v3.3.0

Event source of the Config Rule.

func (GetAggregateConfigRulesRuleOutput) ExcludeResourceIdsScope added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) ExcludeResourceIdsScope() pulumi.StringOutput

The types of the resources to be evaluated against the rule.

func (GetAggregateConfigRulesRuleOutput) Id added in v3.3.0

The ID of the Aggregate Config Rule.

func (GetAggregateConfigRulesRuleOutput) InputParameters added in v3.3.0

The settings of the input parameters for the rule.

func (GetAggregateConfigRulesRuleOutput) MaximumExecutionFrequency added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput

The frequency of the compliance evaluations.

func (GetAggregateConfigRulesRuleOutput) ModifiedTimestamp added in v3.3.0

The timestamp when the rule was last modified.

func (GetAggregateConfigRulesRuleOutput) RegionIdsScope added in v3.3.0

The Exclude ResourceId List.

func (GetAggregateConfigRulesRuleOutput) ResourceGroupIdsScope added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) ResourceGroupIdsScope() pulumi.StringOutput

The scope of resource group ids.

func (GetAggregateConfigRulesRuleOutput) ResourceTypesScopes added in v3.3.0

func (GetAggregateConfigRulesRuleOutput) RiskLevel added in v3.3.0

The risk level of the resources that are not compliant with the rule. Valid values: `1`: critical, `2`: warning, `3`: info.

func (GetAggregateConfigRulesRuleOutput) SourceIdentifier added in v3.3.0

The name of the custom rule or managed rule.

func (GetAggregateConfigRulesRuleOutput) SourceOwner added in v3.3.0

The source owner of the Config Rule.

func (GetAggregateConfigRulesRuleOutput) Status added in v3.3.0

The status of the rule.

func (GetAggregateConfigRulesRuleOutput) TagKeyScope added in v3.3.0

The scope of tay key.

func (GetAggregateConfigRulesRuleOutput) TagValueScope added in v3.3.0

The scope of tay value.

func (GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutput added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput

func (GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutputWithContext added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutputWithContext(ctx context.Context) GetAggregateConfigRulesRuleOutput

type GetAggregatorsAggregator added in v3.3.0

type GetAggregatorsAggregator struct {
	// Aggregator account uid.
	AccountId string `pulumi:"accountId"`
	// Account information in aggregator.
	AggregatorAccounts []GetAggregatorsAggregatorAggregatorAccount `pulumi:"aggregatorAccounts"`
	// The id of aggregator.
	AggregatorId string `pulumi:"aggregatorId"`
	// The name of aggregator.
	AggregatorName string `pulumi:"aggregatorName"`
	// The type of aggregator.
	AggregatorType string `pulumi:"aggregatorType"`
	// The description of aggregator.
	Description string `pulumi:"description"`
	// The id of the aggregator.
	Id string `pulumi:"id"`
	// The status of the resource.
	Status string `pulumi:"status"`
}

type GetAggregatorsAggregatorAggregatorAccount added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccount struct {
	// Aggregator account uid.
	AccountId string `pulumi:"accountId"`
	// Aggregator account name.
	AccountName string `pulumi:"accountName"`
	// Aggregator account source type.
	AccountType string `pulumi:"accountType"`
}

type GetAggregatorsAggregatorAggregatorAccountArgs added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountArgs struct {
	// Aggregator account uid.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// Aggregator account name.
	AccountName pulumi.StringInput `pulumi:"accountName"`
	// Aggregator account source type.
	AccountType pulumi.StringInput `pulumi:"accountType"`
}

func (GetAggregatorsAggregatorAggregatorAccountArgs) ElementType added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutput added in v3.3.0

func (i GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput

func (GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext added in v3.3.0

func (i GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountOutput

type GetAggregatorsAggregatorAggregatorAccountArray added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountArray []GetAggregatorsAggregatorAggregatorAccountInput

func (GetAggregatorsAggregatorAggregatorAccountArray) ElementType added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput added in v3.3.0

func (i GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput() GetAggregatorsAggregatorAggregatorAccountArrayOutput

func (GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext added in v3.3.0

func (i GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountArrayOutput

type GetAggregatorsAggregatorAggregatorAccountArrayInput added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountArrayInput interface {
	pulumi.Input

	ToGetAggregatorsAggregatorAggregatorAccountArrayOutput() GetAggregatorsAggregatorAggregatorAccountArrayOutput
	ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext(context.Context) GetAggregatorsAggregatorAggregatorAccountArrayOutput
}

GetAggregatorsAggregatorAggregatorAccountArrayInput is an input type that accepts GetAggregatorsAggregatorAggregatorAccountArray and GetAggregatorsAggregatorAggregatorAccountArrayOutput values. You can construct a concrete instance of `GetAggregatorsAggregatorAggregatorAccountArrayInput` via:

GetAggregatorsAggregatorAggregatorAccountArray{ GetAggregatorsAggregatorAggregatorAccountArgs{...} }

type GetAggregatorsAggregatorAggregatorAccountArrayOutput added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountArrayOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ElementType added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) Index added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext added in v3.3.0

func (o GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountArrayOutput

type GetAggregatorsAggregatorAggregatorAccountInput added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountInput interface {
	pulumi.Input

	ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput
	ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext(context.Context) GetAggregatorsAggregatorAggregatorAccountOutput
}

GetAggregatorsAggregatorAggregatorAccountInput is an input type that accepts GetAggregatorsAggregatorAggregatorAccountArgs and GetAggregatorsAggregatorAggregatorAccountOutput values. You can construct a concrete instance of `GetAggregatorsAggregatorAggregatorAccountInput` via:

GetAggregatorsAggregatorAggregatorAccountArgs{...}

type GetAggregatorsAggregatorAggregatorAccountOutput added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountId added in v3.3.0

Aggregator account uid.

func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountName added in v3.3.0

Aggregator account name.

func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountType added in v3.3.0

Aggregator account source type.

func (GetAggregatorsAggregatorAggregatorAccountOutput) ElementType added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutput added in v3.3.0

func (o GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput

func (GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext added in v3.3.0

func (o GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext(ctx context.Context) GetAggregatorsAggregatorAggregatorAccountOutput

type GetAggregatorsAggregatorArgs added in v3.3.0

type GetAggregatorsAggregatorArgs struct {
	// Aggregator account uid.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// Account information in aggregator.
	AggregatorAccounts GetAggregatorsAggregatorAggregatorAccountArrayInput `pulumi:"aggregatorAccounts"`
	// The id of aggregator.
	AggregatorId pulumi.StringInput `pulumi:"aggregatorId"`
	// The name of aggregator.
	AggregatorName pulumi.StringInput `pulumi:"aggregatorName"`
	// The type of aggregator.
	AggregatorType pulumi.StringInput `pulumi:"aggregatorType"`
	// The description of aggregator.
	Description pulumi.StringInput `pulumi:"description"`
	// The id of the aggregator.
	Id pulumi.StringInput `pulumi:"id"`
	// The status of the resource.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetAggregatorsAggregatorArgs) ElementType added in v3.3.0

func (GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutput added in v3.3.0

func (i GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput

func (GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutputWithContext added in v3.3.0

func (i GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutputWithContext(ctx context.Context) GetAggregatorsAggregatorOutput

type GetAggregatorsAggregatorArray added in v3.3.0

type GetAggregatorsAggregatorArray []GetAggregatorsAggregatorInput

func (GetAggregatorsAggregatorArray) ElementType added in v3.3.0

func (GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutput added in v3.3.0

func (i GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput

func (GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutputWithContext added in v3.3.0

func (i GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorArrayOutput

type GetAggregatorsAggregatorArrayInput added in v3.3.0

type GetAggregatorsAggregatorArrayInput interface {
	pulumi.Input

	ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput
	ToGetAggregatorsAggregatorArrayOutputWithContext(context.Context) GetAggregatorsAggregatorArrayOutput
}

GetAggregatorsAggregatorArrayInput is an input type that accepts GetAggregatorsAggregatorArray and GetAggregatorsAggregatorArrayOutput values. You can construct a concrete instance of `GetAggregatorsAggregatorArrayInput` via:

GetAggregatorsAggregatorArray{ GetAggregatorsAggregatorArgs{...} }

type GetAggregatorsAggregatorArrayOutput added in v3.3.0

type GetAggregatorsAggregatorArrayOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorArrayOutput) ElementType added in v3.3.0

func (GetAggregatorsAggregatorArrayOutput) Index added in v3.3.0

func (GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutput added in v3.3.0

func (o GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput

func (GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutputWithContext added in v3.3.0

func (o GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutputWithContext(ctx context.Context) GetAggregatorsAggregatorArrayOutput

type GetAggregatorsAggregatorInput added in v3.3.0

type GetAggregatorsAggregatorInput interface {
	pulumi.Input

	ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput
	ToGetAggregatorsAggregatorOutputWithContext(context.Context) GetAggregatorsAggregatorOutput
}

GetAggregatorsAggregatorInput is an input type that accepts GetAggregatorsAggregatorArgs and GetAggregatorsAggregatorOutput values. You can construct a concrete instance of `GetAggregatorsAggregatorInput` via:

GetAggregatorsAggregatorArgs{...}

type GetAggregatorsAggregatorOutput added in v3.3.0

type GetAggregatorsAggregatorOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorOutput) AccountId added in v3.3.0

Aggregator account uid.

func (GetAggregatorsAggregatorOutput) AggregatorAccounts added in v3.3.0

Account information in aggregator.

func (GetAggregatorsAggregatorOutput) AggregatorId added in v3.3.0

The id of aggregator.

func (GetAggregatorsAggregatorOutput) AggregatorName added in v3.3.0

The name of aggregator.

func (GetAggregatorsAggregatorOutput) AggregatorType added in v3.3.0

The type of aggregator.

func (GetAggregatorsAggregatorOutput) Description added in v3.3.0

The description of aggregator.

func (GetAggregatorsAggregatorOutput) ElementType added in v3.3.0

func (GetAggregatorsAggregatorOutput) Id added in v3.3.0

The id of the aggregator.

func (GetAggregatorsAggregatorOutput) Status added in v3.3.0

The status of the resource.

func (GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutput added in v3.3.0

func (o GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput

func (GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutputWithContext added in v3.3.0

func (o GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutputWithContext(ctx context.Context) GetAggregatorsAggregatorOutput

type GetAggregatorsArgs added in v3.3.0

type GetAggregatorsArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of aggregator ids.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by aggregator name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAggregators.

type GetAggregatorsOutputArgs added in v3.9.0

type GetAggregatorsOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of aggregator ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by aggregator name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAggregators.

func (GetAggregatorsOutputArgs) ElementType added in v3.9.0

func (GetAggregatorsOutputArgs) ElementType() reflect.Type

type GetAggregatorsResult added in v3.3.0

type GetAggregatorsResult struct {
	Aggregators   []GetAggregatorsAggregator `pulumi:"aggregators"`
	EnableDetails *bool                      `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *string  `pulumi:"status"`
}

A collection of values returned by getAggregators.

func GetAggregators added in v3.3.0

func GetAggregators(ctx *pulumi.Context, args *GetAggregatorsArgs, opts ...pulumi.InvokeOption) (*GetAggregatorsResult, error)

This data source provides the Config Aggregators of the current Alibaba Cloud user.

> **NOTE:** Available in v1.124.0+.

## Example Usage

Basic Usage

```go 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 {
		opt0 := "the_resource_name"
		example, err := cfg.GetAggregators(ctx, &cfg.GetAggregatorsArgs{
			Ids: []string{
				"ca-3ce2626622af0005****",
			},
			NameRegex: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigAggregatorId", example.Aggregators[0].Id)
		return nil
	})
}

```

type GetAggregatorsResultOutput added in v3.9.0

type GetAggregatorsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregators.

func GetAggregatorsOutput added in v3.9.0

func GetAggregatorsOutput(ctx *pulumi.Context, args GetAggregatorsOutputArgs, opts ...pulumi.InvokeOption) GetAggregatorsResultOutput

func (GetAggregatorsResultOutput) Aggregators added in v3.9.0

func (GetAggregatorsResultOutput) ElementType added in v3.9.0

func (GetAggregatorsResultOutput) ElementType() reflect.Type

func (GetAggregatorsResultOutput) EnableDetails added in v3.9.0

func (GetAggregatorsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAggregatorsResultOutput) Ids added in v3.9.0

func (GetAggregatorsResultOutput) NameRegex added in v3.9.0

func (GetAggregatorsResultOutput) Names added in v3.9.0

func (GetAggregatorsResultOutput) OutputFile added in v3.9.0

func (GetAggregatorsResultOutput) Status added in v3.9.0

func (GetAggregatorsResultOutput) ToGetAggregatorsResultOutput added in v3.9.0

func (o GetAggregatorsResultOutput) ToGetAggregatorsResultOutput() GetAggregatorsResultOutput

func (GetAggregatorsResultOutput) ToGetAggregatorsResultOutputWithContext added in v3.9.0

func (o GetAggregatorsResultOutput) ToGetAggregatorsResultOutputWithContext(ctx context.Context) GetAggregatorsResultOutput

type GetCompliancePacksArgs added in v3.3.0

type GetCompliancePacksArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Compliance Pack IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Compliance Pack name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getCompliancePacks.

type GetCompliancePacksOutputArgs added in v3.9.0

type GetCompliancePacksOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Compliance Pack IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Compliance Pack name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getCompliancePacks.

func (GetCompliancePacksOutputArgs) ElementType added in v3.9.0

type GetCompliancePacksPack added in v3.3.0

type GetCompliancePacksPack struct {
	// The Aliyun User Id.
	AccountId string `pulumi:"accountId"`
	// The Compliance Package ID.
	CompliancePackId string `pulumi:"compliancePackId"`
	// The Compliance Package Name.
	CompliancePackName string `pulumi:"compliancePackName"`
	// The template ID of the Compliance Package.
	CompliancePackTemplateId string `pulumi:"compliancePackTemplateId"`
	// A list of The Compliance Package Rules.
	ConfigRules []GetCompliancePacksPackConfigRule `pulumi:"configRules"`
	// The description of compliance pack.
	Description string `pulumi:"description"`
	// The ID of the Compliance Pack.
	Id string `pulumi:"id"`
	// The Ris Level.
	RiskLevel int `pulumi:"riskLevel"`
	// The status of the resource.
	Status string `pulumi:"status"`
}

type GetCompliancePacksPackArgs added in v3.3.0

type GetCompliancePacksPackArgs struct {
	// The Aliyun User Id.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The Compliance Package ID.
	CompliancePackId pulumi.StringInput `pulumi:"compliancePackId"`
	// The Compliance Package Name.
	CompliancePackName pulumi.StringInput `pulumi:"compliancePackName"`
	// The template ID of the Compliance Package.
	CompliancePackTemplateId pulumi.StringInput `pulumi:"compliancePackTemplateId"`
	// A list of The Compliance Package Rules.
	ConfigRules GetCompliancePacksPackConfigRuleArrayInput `pulumi:"configRules"`
	// The description of compliance pack.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Compliance Pack.
	Id pulumi.StringInput `pulumi:"id"`
	// The Ris Level.
	RiskLevel pulumi.IntInput `pulumi:"riskLevel"`
	// The status of the resource.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetCompliancePacksPackArgs) ElementType added in v3.3.0

func (GetCompliancePacksPackArgs) ElementType() reflect.Type

func (GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutput added in v3.3.0

func (i GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput

func (GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutputWithContext added in v3.3.0

func (i GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutputWithContext(ctx context.Context) GetCompliancePacksPackOutput

type GetCompliancePacksPackArray added in v3.3.0

type GetCompliancePacksPackArray []GetCompliancePacksPackInput

func (GetCompliancePacksPackArray) ElementType added in v3.3.0

func (GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutput added in v3.3.0

func (i GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput

func (GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutputWithContext added in v3.3.0

func (i GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackArrayOutput

type GetCompliancePacksPackArrayInput added in v3.3.0

type GetCompliancePacksPackArrayInput interface {
	pulumi.Input

	ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput
	ToGetCompliancePacksPackArrayOutputWithContext(context.Context) GetCompliancePacksPackArrayOutput
}

GetCompliancePacksPackArrayInput is an input type that accepts GetCompliancePacksPackArray and GetCompliancePacksPackArrayOutput values. You can construct a concrete instance of `GetCompliancePacksPackArrayInput` via:

GetCompliancePacksPackArray{ GetCompliancePacksPackArgs{...} }

type GetCompliancePacksPackArrayOutput added in v3.3.0

type GetCompliancePacksPackArrayOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackArrayOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackArrayOutput) Index added in v3.3.0

func (GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutput added in v3.3.0

func (o GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput

func (GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutputWithContext added in v3.3.0

func (o GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackArrayOutput

type GetCompliancePacksPackConfigRule added in v3.3.0

type GetCompliancePacksPackConfigRule struct {
	// The ID of the rule.
	ConfigRuleId string `pulumi:"configRuleId"`
	// A list of parameter rules.
	ConfigRuleParameters []GetCompliancePacksPackConfigRuleConfigRuleParameter `pulumi:"configRuleParameters"`
	// Managed Rule Identifier.
	ManagedRuleIdentifier string `pulumi:"managedRuleIdentifier"`
}

type GetCompliancePacksPackConfigRuleArgs added in v3.3.0

type GetCompliancePacksPackConfigRuleArgs struct {
	// The ID of the rule.
	ConfigRuleId pulumi.StringInput `pulumi:"configRuleId"`
	// A list of parameter rules.
	ConfigRuleParameters GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput `pulumi:"configRuleParameters"`
	// Managed Rule Identifier.
	ManagedRuleIdentifier pulumi.StringInput `pulumi:"managedRuleIdentifier"`
}

func (GetCompliancePacksPackConfigRuleArgs) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutput added in v3.3.0

func (i GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput

func (GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutputWithContext added in v3.3.0

func (i GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleOutput

type GetCompliancePacksPackConfigRuleArray added in v3.3.0

type GetCompliancePacksPackConfigRuleArray []GetCompliancePacksPackConfigRuleInput

func (GetCompliancePacksPackConfigRuleArray) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

func (i GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput

func (GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext added in v3.3.0

func (i GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleArrayOutput

type GetCompliancePacksPackConfigRuleArrayInput added in v3.3.0

type GetCompliancePacksPackConfigRuleArrayInput interface {
	pulumi.Input

	ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput
	ToGetCompliancePacksPackConfigRuleArrayOutputWithContext(context.Context) GetCompliancePacksPackConfigRuleArrayOutput
}

GetCompliancePacksPackConfigRuleArrayInput is an input type that accepts GetCompliancePacksPackConfigRuleArray and GetCompliancePacksPackConfigRuleArrayOutput values. You can construct a concrete instance of `GetCompliancePacksPackConfigRuleArrayInput` via:

GetCompliancePacksPackConfigRuleArray{ GetCompliancePacksPackConfigRuleArgs{...} }

type GetCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

type GetCompliancePacksPackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleArrayOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleArrayOutput) Index added in v3.3.0

func (GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

func (o GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput

func (GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext added in v3.3.0

func (o GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleArrayOutput

type GetCompliancePacksPackConfigRuleConfigRuleParameter added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameter struct {
	// The Parameter Name.
	ParameterName string `pulumi:"parameterName"`
	// The Parameter Value.
	ParameterValue string `pulumi:"parameterValue"`
	// Required.
	Required bool `pulumi:"required"`
}

type GetCompliancePacksPackConfigRuleConfigRuleParameterArgs added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterArgs struct {
	// The Parameter Name.
	ParameterName pulumi.StringInput `pulumi:"parameterName"`
	// The Parameter Value.
	ParameterValue pulumi.StringInput `pulumi:"parameterValue"`
	// Required.
	Required pulumi.BoolInput `pulumi:"required"`
}

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterOutput

type GetCompliancePacksPackConfigRuleConfigRuleParameterArray added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterArray []GetCompliancePacksPackConfigRuleConfigRuleParameterInput

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput interface {
	pulumi.Input

	ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
	ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput
}

GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput is an input type that accepts GetCompliancePacksPackConfigRuleConfigRuleParameterArray and GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput values. You can construct a concrete instance of `GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput` via:

GetCompliancePacksPackConfigRuleConfigRuleParameterArray{ GetCompliancePacksPackConfigRuleConfigRuleParameterArgs{...} }

type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) Index added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

func (o GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

type GetCompliancePacksPackConfigRuleConfigRuleParameterInput added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterInput interface {
	pulumi.Input

	ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
	ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterOutput
}

GetCompliancePacksPackConfigRuleConfigRuleParameterInput is an input type that accepts GetCompliancePacksPackConfigRuleConfigRuleParameterArgs and GetCompliancePacksPackConfigRuleConfigRuleParameterOutput values. You can construct a concrete instance of `GetCompliancePacksPackConfigRuleConfigRuleParameterInput` via:

GetCompliancePacksPackConfigRuleConfigRuleParameterArgs{...}

type GetCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName added in v3.3.0

The Parameter Name.

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue added in v3.3.0

The Parameter Value.

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required added in v3.3.0

Required.

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

func (o GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleConfigRuleParameterOutput

type GetCompliancePacksPackConfigRuleInput added in v3.3.0

type GetCompliancePacksPackConfigRuleInput interface {
	pulumi.Input

	ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput
	ToGetCompliancePacksPackConfigRuleOutputWithContext(context.Context) GetCompliancePacksPackConfigRuleOutput
}

GetCompliancePacksPackConfigRuleInput is an input type that accepts GetCompliancePacksPackConfigRuleArgs and GetCompliancePacksPackConfigRuleOutput values. You can construct a concrete instance of `GetCompliancePacksPackConfigRuleInput` via:

GetCompliancePacksPackConfigRuleArgs{...}

type GetCompliancePacksPackConfigRuleOutput added in v3.3.0

type GetCompliancePacksPackConfigRuleOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleOutput) ConfigRuleId added in v3.3.0

The ID of the rule.

func (GetCompliancePacksPackConfigRuleOutput) ConfigRuleParameters added in v3.3.0

A list of parameter rules.

func (GetCompliancePacksPackConfigRuleOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier added in v3.3.0

Managed Rule Identifier.

func (GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutput added in v3.3.0

func (o GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput

func (GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutputWithContext added in v3.3.0

func (o GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutputWithContext(ctx context.Context) GetCompliancePacksPackConfigRuleOutput

type GetCompliancePacksPackInput added in v3.3.0

type GetCompliancePacksPackInput interface {
	pulumi.Input

	ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput
	ToGetCompliancePacksPackOutputWithContext(context.Context) GetCompliancePacksPackOutput
}

GetCompliancePacksPackInput is an input type that accepts GetCompliancePacksPackArgs and GetCompliancePacksPackOutput values. You can construct a concrete instance of `GetCompliancePacksPackInput` via:

GetCompliancePacksPackArgs{...}

type GetCompliancePacksPackOutput added in v3.3.0

type GetCompliancePacksPackOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackOutput) AccountId added in v3.3.0

The Aliyun User Id.

func (GetCompliancePacksPackOutput) CompliancePackId added in v3.3.0

func (o GetCompliancePacksPackOutput) CompliancePackId() pulumi.StringOutput

The Compliance Package ID.

func (GetCompliancePacksPackOutput) CompliancePackName added in v3.3.0

func (o GetCompliancePacksPackOutput) CompliancePackName() pulumi.StringOutput

The Compliance Package Name.

func (GetCompliancePacksPackOutput) CompliancePackTemplateId added in v3.3.0

func (o GetCompliancePacksPackOutput) CompliancePackTemplateId() pulumi.StringOutput

The template ID of the Compliance Package.

func (GetCompliancePacksPackOutput) ConfigRules added in v3.3.0

A list of The Compliance Package Rules.

func (GetCompliancePacksPackOutput) Description added in v3.3.0

The description of compliance pack.

func (GetCompliancePacksPackOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackOutput) Id added in v3.3.0

The ID of the Compliance Pack.

func (GetCompliancePacksPackOutput) RiskLevel added in v3.3.0

The Ris Level.

func (GetCompliancePacksPackOutput) Status added in v3.3.0

The status of the resource.

func (GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutput added in v3.3.0

func (o GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput

func (GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutputWithContext added in v3.3.0

func (o GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutputWithContext(ctx context.Context) GetCompliancePacksPackOutput

type GetCompliancePacksResult added in v3.3.0

type GetCompliancePacksResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                   `pulumi:"id"`
	Ids        []string                 `pulumi:"ids"`
	NameRegex  *string                  `pulumi:"nameRegex"`
	Names      []string                 `pulumi:"names"`
	OutputFile *string                  `pulumi:"outputFile"`
	Packs      []GetCompliancePacksPack `pulumi:"packs"`
	Status     *string                  `pulumi:"status"`
}

A collection of values returned by getCompliancePacks.

func GetCompliancePacks added in v3.3.0

func GetCompliancePacks(ctx *pulumi.Context, args *GetCompliancePacksArgs, opts ...pulumi.InvokeOption) (*GetCompliancePacksResult, error)

This data source provides the Config Compliance Packs of the current Alibaba Cloud user.

> **NOTE:** Available in v1.124.0+.

## Example Usage

Basic Usage

```go 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 {
		opt0 := "the_resource_name"
		example, err := cfg.GetCompliancePacks(ctx, &cfg.GetCompliancePacksArgs{
			Ids: []string{
				"cp-152a626622af00bc****",
			},
			NameRegex: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigCompliancePackId", example.Packs[0].Id)
		return nil
	})
}

```

type GetCompliancePacksResultOutput added in v3.9.0

type GetCompliancePacksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCompliancePacks.

func GetCompliancePacksOutput added in v3.9.0

func (GetCompliancePacksResultOutput) ElementType added in v3.9.0

func (GetCompliancePacksResultOutput) EnableDetails added in v3.9.0

func (GetCompliancePacksResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetCompliancePacksResultOutput) Ids added in v3.9.0

func (GetCompliancePacksResultOutput) NameRegex added in v3.9.0

func (GetCompliancePacksResultOutput) Names added in v3.9.0

func (GetCompliancePacksResultOutput) OutputFile added in v3.9.0

func (GetCompliancePacksResultOutput) Packs added in v3.9.0

func (GetCompliancePacksResultOutput) Status added in v3.9.0

func (GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutput added in v3.9.0

func (o GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutput() GetCompliancePacksResultOutput

func (GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutputWithContext added in v3.9.0

func (o GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutputWithContext(ctx context.Context) GetCompliancePacksResultOutput

type GetConfigurationRecordersArgs

type GetConfigurationRecordersArgs struct {
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getConfigurationRecorders.

type GetConfigurationRecordersOutputArgs added in v3.9.0

type GetConfigurationRecordersOutputArgs struct {
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getConfigurationRecorders.

func (GetConfigurationRecordersOutputArgs) ElementType added in v3.9.0

type GetConfigurationRecordersRecorder

type GetConfigurationRecordersRecorder struct {
	AccountId string `pulumi:"accountId"`
	// The ID of the Config Configuration Recorder. Value as the `accountId`.
	// * `accountId`- The ID of the Alicloud account.
	Id string `pulumi:"id"`
	// Status of resource monitoring.
	OrganizationEnableStatus string `pulumi:"organizationEnableStatus"`
	// The ID of the Enterprise management account.
	OrganizationMasterId int `pulumi:"organizationMasterId"`
	// A list of resource types to be monitored.
	ResourceTypes []string `pulumi:"resourceTypes"`
	// Enterprise version configuration audit enabled status.
	Status string `pulumi:"status"`
}

type GetConfigurationRecordersRecorderArgs

type GetConfigurationRecordersRecorderArgs struct {
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The ID of the Config Configuration Recorder. Value as the `accountId`.
	// * `accountId`- The ID of the Alicloud account.
	Id pulumi.StringInput `pulumi:"id"`
	// Status of resource monitoring.
	OrganizationEnableStatus pulumi.StringInput `pulumi:"organizationEnableStatus"`
	// The ID of the Enterprise management account.
	OrganizationMasterId pulumi.IntInput `pulumi:"organizationMasterId"`
	// A list of resource types to be monitored.
	ResourceTypes pulumi.StringArrayInput `pulumi:"resourceTypes"`
	// Enterprise version configuration audit enabled status.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetConfigurationRecordersRecorderArgs) ElementType

func (GetConfigurationRecordersRecorderArgs) ToGetConfigurationRecordersRecorderOutput

func (i GetConfigurationRecordersRecorderArgs) ToGetConfigurationRecordersRecorderOutput() GetConfigurationRecordersRecorderOutput

func (GetConfigurationRecordersRecorderArgs) ToGetConfigurationRecordersRecorderOutputWithContext

func (i GetConfigurationRecordersRecorderArgs) ToGetConfigurationRecordersRecorderOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderOutput

type GetConfigurationRecordersRecorderArray

type GetConfigurationRecordersRecorderArray []GetConfigurationRecordersRecorderInput

func (GetConfigurationRecordersRecorderArray) ElementType

func (GetConfigurationRecordersRecorderArray) ToGetConfigurationRecordersRecorderArrayOutput

func (i GetConfigurationRecordersRecorderArray) ToGetConfigurationRecordersRecorderArrayOutput() GetConfigurationRecordersRecorderArrayOutput

func (GetConfigurationRecordersRecorderArray) ToGetConfigurationRecordersRecorderArrayOutputWithContext

func (i GetConfigurationRecordersRecorderArray) ToGetConfigurationRecordersRecorderArrayOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderArrayOutput

type GetConfigurationRecordersRecorderArrayInput

type GetConfigurationRecordersRecorderArrayInput interface {
	pulumi.Input

	ToGetConfigurationRecordersRecorderArrayOutput() GetConfigurationRecordersRecorderArrayOutput
	ToGetConfigurationRecordersRecorderArrayOutputWithContext(context.Context) GetConfigurationRecordersRecorderArrayOutput
}

GetConfigurationRecordersRecorderArrayInput is an input type that accepts GetConfigurationRecordersRecorderArray and GetConfigurationRecordersRecorderArrayOutput values. You can construct a concrete instance of `GetConfigurationRecordersRecorderArrayInput` via:

GetConfigurationRecordersRecorderArray{ GetConfigurationRecordersRecorderArgs{...} }

type GetConfigurationRecordersRecorderArrayOutput

type GetConfigurationRecordersRecorderArrayOutput struct{ *pulumi.OutputState }

func (GetConfigurationRecordersRecorderArrayOutput) ElementType

func (GetConfigurationRecordersRecorderArrayOutput) Index

func (GetConfigurationRecordersRecorderArrayOutput) ToGetConfigurationRecordersRecorderArrayOutput

func (o GetConfigurationRecordersRecorderArrayOutput) ToGetConfigurationRecordersRecorderArrayOutput() GetConfigurationRecordersRecorderArrayOutput

func (GetConfigurationRecordersRecorderArrayOutput) ToGetConfigurationRecordersRecorderArrayOutputWithContext

func (o GetConfigurationRecordersRecorderArrayOutput) ToGetConfigurationRecordersRecorderArrayOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderArrayOutput

type GetConfigurationRecordersRecorderInput

type GetConfigurationRecordersRecorderInput interface {
	pulumi.Input

	ToGetConfigurationRecordersRecorderOutput() GetConfigurationRecordersRecorderOutput
	ToGetConfigurationRecordersRecorderOutputWithContext(context.Context) GetConfigurationRecordersRecorderOutput
}

GetConfigurationRecordersRecorderInput is an input type that accepts GetConfigurationRecordersRecorderArgs and GetConfigurationRecordersRecorderOutput values. You can construct a concrete instance of `GetConfigurationRecordersRecorderInput` via:

GetConfigurationRecordersRecorderArgs{...}

type GetConfigurationRecordersRecorderOutput

type GetConfigurationRecordersRecorderOutput struct{ *pulumi.OutputState }

func (GetConfigurationRecordersRecorderOutput) AccountId

func (GetConfigurationRecordersRecorderOutput) ElementType

func (GetConfigurationRecordersRecorderOutput) Id

The ID of the Config Configuration Recorder. Value as the `accountId`. * `accountId`- The ID of the Alicloud account.

func (GetConfigurationRecordersRecorderOutput) OrganizationEnableStatus

func (o GetConfigurationRecordersRecorderOutput) OrganizationEnableStatus() pulumi.StringOutput

Status of resource monitoring.

func (GetConfigurationRecordersRecorderOutput) OrganizationMasterId

func (o GetConfigurationRecordersRecorderOutput) OrganizationMasterId() pulumi.IntOutput

The ID of the Enterprise management account.

func (GetConfigurationRecordersRecorderOutput) ResourceTypes

A list of resource types to be monitored.

func (GetConfigurationRecordersRecorderOutput) Status

Enterprise version configuration audit enabled status.

func (GetConfigurationRecordersRecorderOutput) ToGetConfigurationRecordersRecorderOutput

func (o GetConfigurationRecordersRecorderOutput) ToGetConfigurationRecordersRecorderOutput() GetConfigurationRecordersRecorderOutput

func (GetConfigurationRecordersRecorderOutput) ToGetConfigurationRecordersRecorderOutputWithContext

func (o GetConfigurationRecordersRecorderOutput) ToGetConfigurationRecordersRecorderOutputWithContext(ctx context.Context) GetConfigurationRecordersRecorderOutput

type GetConfigurationRecordersResult

type GetConfigurationRecordersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	OutputFile *string `pulumi:"outputFile"`
	// A list of Config Configuration Recorders. Each element contains the following attributes:
	Recorders []GetConfigurationRecordersRecorder `pulumi:"recorders"`
}

A collection of values returned by getConfigurationRecorders.

func GetConfigurationRecorders

func GetConfigurationRecorders(ctx *pulumi.Context, args *GetConfigurationRecordersArgs, opts ...pulumi.InvokeOption) (*GetConfigurationRecordersResult, error)

This data source provides the Config Configuration Recorders of the current Alibaba Cloud user.

> **NOTE:** Available in 1.99.0+.

> **NOTE:** The Cloud Config region only support `cn-shanghai` and `ap-southeast-1`.

## Example Usage

```go 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 {
		_, err := cfg.GetConfigurationRecorders(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("listOfResourceTypes", data.Alicloud_config_configuration_recorders.This.Recorders[0].Resource_types)
		return nil
	})
}

```

type GetConfigurationRecordersResultOutput added in v3.9.0

type GetConfigurationRecordersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfigurationRecorders.

func (GetConfigurationRecordersResultOutput) ElementType added in v3.9.0

func (GetConfigurationRecordersResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetConfigurationRecordersResultOutput) OutputFile added in v3.9.0

func (GetConfigurationRecordersResultOutput) Recorders added in v3.9.0

A list of Config Configuration Recorders. Each element contains the following attributes:

func (GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutput added in v3.9.0

func (o GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutput() GetConfigurationRecordersResultOutput

func (GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutputWithContext added in v3.9.0

func (o GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutputWithContext(ctx context.Context) GetConfigurationRecordersResultOutput

type GetDeliveryChannelsArgs

type GetDeliveryChannelsArgs struct {
	// A list of Config Delivery Channel IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by delivery channel name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the config delivery channel. Valid values `0`: Disable delivery channel, `1`: Enable delivery channel.
	Status *int `pulumi:"status"`
}

A collection of arguments for invoking getDeliveryChannels.

type GetDeliveryChannelsChannel

type GetDeliveryChannelsChannel struct {
	// The Alibaba Cloud Resource Name (ARN) of the role assumed by delivery method.
	DeliveryChannelAssumeRoleArn string `pulumi:"deliveryChannelAssumeRoleArn"`
	// The rule attached to the delivery method. This parameter is applicable only to delivery methods of the Message Service (MNS) type.
	DeliveryChannelCondition string `pulumi:"deliveryChannelCondition"`
	// The ID of the delivery channel.
	DeliveryChannelId string `pulumi:"deliveryChannelId"`
	// The name of the delivery channel.
	DeliveryChannelName string `pulumi:"deliveryChannelName"`
	// The ARN of the delivery destination.
	DeliveryChannelTargetArn string `pulumi:"deliveryChannelTargetArn"`
	// The type of the delivery method.
	DeliveryChannelType string `pulumi:"deliveryChannelType"`
	// The description of the delivery method.
	Description string `pulumi:"description"`
	// The ID of the Config Delivery Channel.
	Id string `pulumi:"id"`
	// The status of the config delivery channel. Valid values `0`: Disable delivery channel, `1`: Enable delivery channel.
	Status int `pulumi:"status"`
}

type GetDeliveryChannelsChannelArgs

type GetDeliveryChannelsChannelArgs struct {
	// The Alibaba Cloud Resource Name (ARN) of the role assumed by delivery method.
	DeliveryChannelAssumeRoleArn pulumi.StringInput `pulumi:"deliveryChannelAssumeRoleArn"`
	// The rule attached to the delivery method. This parameter is applicable only to delivery methods of the Message Service (MNS) type.
	DeliveryChannelCondition pulumi.StringInput `pulumi:"deliveryChannelCondition"`
	// The ID of the delivery channel.
	DeliveryChannelId pulumi.StringInput `pulumi:"deliveryChannelId"`
	// The name of the delivery channel.
	DeliveryChannelName pulumi.StringInput `pulumi:"deliveryChannelName"`
	// The ARN of the delivery destination.
	DeliveryChannelTargetArn pulumi.StringInput `pulumi:"deliveryChannelTargetArn"`
	// The type of the delivery method.
	DeliveryChannelType pulumi.StringInput `pulumi:"deliveryChannelType"`
	// The description of the delivery method.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Config Delivery Channel.
	Id pulumi.StringInput `pulumi:"id"`
	// The status of the config delivery channel. Valid values `0`: Disable delivery channel, `1`: Enable delivery channel.
	Status pulumi.IntInput `pulumi:"status"`
}

func (GetDeliveryChannelsChannelArgs) ElementType

func (GetDeliveryChannelsChannelArgs) ToGetDeliveryChannelsChannelOutput

func (i GetDeliveryChannelsChannelArgs) ToGetDeliveryChannelsChannelOutput() GetDeliveryChannelsChannelOutput

func (GetDeliveryChannelsChannelArgs) ToGetDeliveryChannelsChannelOutputWithContext

func (i GetDeliveryChannelsChannelArgs) ToGetDeliveryChannelsChannelOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelOutput

type GetDeliveryChannelsChannelArray

type GetDeliveryChannelsChannelArray []GetDeliveryChannelsChannelInput

func (GetDeliveryChannelsChannelArray) ElementType

func (GetDeliveryChannelsChannelArray) ToGetDeliveryChannelsChannelArrayOutput

func (i GetDeliveryChannelsChannelArray) ToGetDeliveryChannelsChannelArrayOutput() GetDeliveryChannelsChannelArrayOutput

func (GetDeliveryChannelsChannelArray) ToGetDeliveryChannelsChannelArrayOutputWithContext

func (i GetDeliveryChannelsChannelArray) ToGetDeliveryChannelsChannelArrayOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelArrayOutput

type GetDeliveryChannelsChannelArrayInput

type GetDeliveryChannelsChannelArrayInput interface {
	pulumi.Input

	ToGetDeliveryChannelsChannelArrayOutput() GetDeliveryChannelsChannelArrayOutput
	ToGetDeliveryChannelsChannelArrayOutputWithContext(context.Context) GetDeliveryChannelsChannelArrayOutput
}

GetDeliveryChannelsChannelArrayInput is an input type that accepts GetDeliveryChannelsChannelArray and GetDeliveryChannelsChannelArrayOutput values. You can construct a concrete instance of `GetDeliveryChannelsChannelArrayInput` via:

GetDeliveryChannelsChannelArray{ GetDeliveryChannelsChannelArgs{...} }

type GetDeliveryChannelsChannelArrayOutput

type GetDeliveryChannelsChannelArrayOutput struct{ *pulumi.OutputState }

func (GetDeliveryChannelsChannelArrayOutput) ElementType

func (GetDeliveryChannelsChannelArrayOutput) Index

func (GetDeliveryChannelsChannelArrayOutput) ToGetDeliveryChannelsChannelArrayOutput

func (o GetDeliveryChannelsChannelArrayOutput) ToGetDeliveryChannelsChannelArrayOutput() GetDeliveryChannelsChannelArrayOutput

func (GetDeliveryChannelsChannelArrayOutput) ToGetDeliveryChannelsChannelArrayOutputWithContext

func (o GetDeliveryChannelsChannelArrayOutput) ToGetDeliveryChannelsChannelArrayOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelArrayOutput

type GetDeliveryChannelsChannelInput

type GetDeliveryChannelsChannelInput interface {
	pulumi.Input

	ToGetDeliveryChannelsChannelOutput() GetDeliveryChannelsChannelOutput
	ToGetDeliveryChannelsChannelOutputWithContext(context.Context) GetDeliveryChannelsChannelOutput
}

GetDeliveryChannelsChannelInput is an input type that accepts GetDeliveryChannelsChannelArgs and GetDeliveryChannelsChannelOutput values. You can construct a concrete instance of `GetDeliveryChannelsChannelInput` via:

GetDeliveryChannelsChannelArgs{...}

type GetDeliveryChannelsChannelOutput

type GetDeliveryChannelsChannelOutput struct{ *pulumi.OutputState }

func (GetDeliveryChannelsChannelOutput) DeliveryChannelAssumeRoleArn

func (o GetDeliveryChannelsChannelOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput

The Alibaba Cloud Resource Name (ARN) of the role assumed by delivery method.

func (GetDeliveryChannelsChannelOutput) DeliveryChannelCondition

func (o GetDeliveryChannelsChannelOutput) DeliveryChannelCondition() pulumi.StringOutput

The rule attached to the delivery method. This parameter is applicable only to delivery methods of the Message Service (MNS) type.

func (GetDeliveryChannelsChannelOutput) DeliveryChannelId

The ID of the delivery channel.

func (GetDeliveryChannelsChannelOutput) DeliveryChannelName

func (o GetDeliveryChannelsChannelOutput) DeliveryChannelName() pulumi.StringOutput

The name of the delivery channel.

func (GetDeliveryChannelsChannelOutput) DeliveryChannelTargetArn

func (o GetDeliveryChannelsChannelOutput) DeliveryChannelTargetArn() pulumi.StringOutput

The ARN of the delivery destination.

func (GetDeliveryChannelsChannelOutput) DeliveryChannelType

func (o GetDeliveryChannelsChannelOutput) DeliveryChannelType() pulumi.StringOutput

The type of the delivery method.

func (GetDeliveryChannelsChannelOutput) Description

The description of the delivery method.

func (GetDeliveryChannelsChannelOutput) ElementType

func (GetDeliveryChannelsChannelOutput) Id

The ID of the Config Delivery Channel.

func (GetDeliveryChannelsChannelOutput) Status

The status of the config delivery channel. Valid values `0`: Disable delivery channel, `1`: Enable delivery channel.

func (GetDeliveryChannelsChannelOutput) ToGetDeliveryChannelsChannelOutput

func (o GetDeliveryChannelsChannelOutput) ToGetDeliveryChannelsChannelOutput() GetDeliveryChannelsChannelOutput

func (GetDeliveryChannelsChannelOutput) ToGetDeliveryChannelsChannelOutputWithContext

func (o GetDeliveryChannelsChannelOutput) ToGetDeliveryChannelsChannelOutputWithContext(ctx context.Context) GetDeliveryChannelsChannelOutput

type GetDeliveryChannelsOutputArgs added in v3.9.0

type GetDeliveryChannelsOutputArgs struct {
	// A list of Config Delivery Channel IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by delivery channel name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the config delivery channel. Valid values `0`: Disable delivery channel, `1`: Enable delivery channel.
	Status pulumi.IntPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getDeliveryChannels.

func (GetDeliveryChannelsOutputArgs) ElementType added in v3.9.0

type GetDeliveryChannelsResult

type GetDeliveryChannelsResult struct {
	// A list of Config Delivery Channels. Each element contains the following attributes:
	Channels []GetDeliveryChannelsChannel `pulumi:"channels"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of Config Delivery Channel IDs.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of Config Delivery Channel names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the delivery method.
	Status *int `pulumi:"status"`
}

A collection of values returned by getDeliveryChannels.

func GetDeliveryChannels

func GetDeliveryChannels(ctx *pulumi.Context, args *GetDeliveryChannelsArgs, opts ...pulumi.InvokeOption) (*GetDeliveryChannelsResult, error)

This data source provides the Config Delivery Channels of the current Alibaba Cloud user.

> **NOTE:** Available in 1.99.0+.

> **NOTE:** The Cloud Config region only support `cn-shanghai` and `ap-southeast-1`.

## Example Usage

```go 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 {
		opt0 := "tftest"
		example, err := cfg.GetDeliveryChannels(ctx, &cfg.GetDeliveryChannelsArgs{
			Ids: []string{
				"cdc-49a2ad756057********",
			},
			NameRegex: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigDeliveryChannelId", example.Channels[0].Id)
		return nil
	})
}

```

type GetDeliveryChannelsResultOutput added in v3.9.0

type GetDeliveryChannelsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDeliveryChannels.

func GetDeliveryChannelsOutput added in v3.9.0

func (GetDeliveryChannelsResultOutput) Channels added in v3.9.0

A list of Config Delivery Channels. Each element contains the following attributes:

func (GetDeliveryChannelsResultOutput) ElementType added in v3.9.0

func (GetDeliveryChannelsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetDeliveryChannelsResultOutput) Ids added in v3.9.0

A list of Config Delivery Channel IDs.

func (GetDeliveryChannelsResultOutput) NameRegex added in v3.9.0

func (GetDeliveryChannelsResultOutput) Names added in v3.9.0

A list of Config Delivery Channel names.

func (GetDeliveryChannelsResultOutput) OutputFile added in v3.9.0

func (GetDeliveryChannelsResultOutput) Status added in v3.9.0

The status of the delivery method.

func (GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutput added in v3.9.0

func (o GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutput() GetDeliveryChannelsResultOutput

func (GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutputWithContext added in v3.9.0

func (o GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutputWithContext(ctx context.Context) GetDeliveryChannelsResultOutput

type GetRulesArgs

type GetRulesArgs struct {
	// Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead.
	//
	// Deprecated: Field 'config_rule_state' has been deprecated from provider version 1.124.1. New field 'status' instead.
	ConfigRuleState *string `pulumi:"configRuleState"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Config Rule IDs.
	Ids []string `pulumi:"ids"`
	// The ID of the member account to which the rule to be queried belongs. The default is empty. When `multiAccount` is set to true, this parameter is valid.
	MemberId *int `pulumi:"memberId"`
	// Whether the enterprise management account queries the rule details of member accounts.
	MultiAccount *bool `pulumi:"multiAccount"`
	// A regex string to filter results by rule name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
	RiskLevel *int `pulumi:"riskLevel"`
	// The name of config rule.
	RuleName *string `pulumi:"ruleName"`
	// The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getRules.

type GetRulesOutputArgs added in v3.9.0

type GetRulesOutputArgs struct {
	// Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead.
	//
	// Deprecated: Field 'config_rule_state' has been deprecated from provider version 1.124.1. New field 'status' instead.
	ConfigRuleState pulumi.StringPtrInput `pulumi:"configRuleState"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Config Rule IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The ID of the member account to which the rule to be queried belongs. The default is empty. When `multiAccount` is set to true, this parameter is valid.
	MemberId pulumi.IntPtrInput `pulumi:"memberId"`
	// Whether the enterprise management account queries the rule details of member accounts.
	MultiAccount pulumi.BoolPtrInput `pulumi:"multiAccount"`
	// A regex string to filter results by rule name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
	RiskLevel pulumi.IntPtrInput `pulumi:"riskLevel"`
	// The name of config rule.
	RuleName pulumi.StringPtrInput `pulumi:"ruleName"`
	// The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getRules.

func (GetRulesOutputArgs) ElementType added in v3.9.0

func (GetRulesOutputArgs) ElementType() reflect.Type

type GetRulesResult

type GetRulesResult struct {
	// Deprecated: Field 'config_rule_state' has been deprecated from provider version 1.124.1. New field 'status' instead.
	ConfigRuleState *string `pulumi:"configRuleState"`
	EnableDetails   *bool   `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of Config Rule IDs.
	Ids          []string `pulumi:"ids"`
	MemberId     *int     `pulumi:"memberId"`
	MultiAccount *bool    `pulumi:"multiAccount"`
	NameRegex    *string  `pulumi:"nameRegex"`
	// A list of Config Rule names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	RiskLevel  *int     `pulumi:"riskLevel"`
	RuleName   *string  `pulumi:"ruleName"`
	// A list of Config Rules. Each element contains the following attributes:
	Rules []GetRulesRule `pulumi:"rules"`
	// (Available in 1.124.1+) The status of config rule.
	Status *string `pulumi:"status"`
}

A collection of values returned by getRules.

func GetRules

func GetRules(ctx *pulumi.Context, args *GetRulesArgs, opts ...pulumi.InvokeOption) (*GetRulesResult, error)

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-shanghai` and `ap-southeast-1`.

## Example Usage

```go 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 {
		opt0 := "tftest"
		example, err := cfg.GetRules(ctx, &cfg.GetRulesArgs{
			Ids: []string{
				"cr-ed4bad756057********",
			},
			NameRegex: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigRuleId", example.Rules[0].Id)
		return nil
	})
}

```

type GetRulesResultOutput added in v3.9.0

type GetRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRules.

func GetRulesOutput added in v3.9.0

func GetRulesOutput(ctx *pulumi.Context, args GetRulesOutputArgs, opts ...pulumi.InvokeOption) GetRulesResultOutput

func (GetRulesResultOutput) ConfigRuleState deprecated added in v3.9.0

func (o GetRulesResultOutput) ConfigRuleState() pulumi.StringPtrOutput

Deprecated: Field 'config_rule_state' has been deprecated from provider version 1.124.1. New field 'status' instead.

func (GetRulesResultOutput) ElementType added in v3.9.0

func (GetRulesResultOutput) ElementType() reflect.Type

func (GetRulesResultOutput) EnableDetails added in v3.9.0

func (o GetRulesResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetRulesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetRulesResultOutput) Ids added in v3.9.0

A list of Config Rule IDs.

func (GetRulesResultOutput) MemberId added in v3.9.0

func (GetRulesResultOutput) MultiAccount added in v3.9.0

func (o GetRulesResultOutput) MultiAccount() pulumi.BoolPtrOutput

func (GetRulesResultOutput) NameRegex added in v3.9.0

func (GetRulesResultOutput) Names added in v3.9.0

A list of Config Rule names.

func (GetRulesResultOutput) OutputFile added in v3.9.0

func (GetRulesResultOutput) RiskLevel added in v3.9.0

func (GetRulesResultOutput) RuleName added in v3.9.0

func (GetRulesResultOutput) Rules added in v3.9.0

A list of Config Rules. Each element contains the following attributes:

func (GetRulesResultOutput) Status added in v3.9.0

(Available in 1.124.1+) The status of config rule.

func (GetRulesResultOutput) ToGetRulesResultOutput added in v3.9.0

func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput

func (GetRulesResultOutput) ToGetRulesResultOutputWithContext added in v3.9.0

func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput

type GetRulesRule

type GetRulesRule struct {
	AccountId        string `pulumi:"accountId"`
	CompliancePackId string `pulumi:"compliancePackId"`
	// The information about the compliance evaluations based on the rule.
	Compliances   []GetRulesRuleCompliance `pulumi:"compliances"`
	ConfigRuleArn string                   `pulumi:"configRuleArn"`
	ConfigRuleId  string                   `pulumi:"configRuleId"`
	// Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead.
	ConfigRuleState string `pulumi:"configRuleState"`
	// (Available in 1.124.1+) A list of trigger types of config rule.
	ConfigRuleTriggerTypes string `pulumi:"configRuleTriggerTypes"`
	Description            string `pulumi:"description"`
	// Event source of the Config Rule.
	EventSource string `pulumi:"eventSource"`
	// (Available in 1.124.1+) The scope of exclude of resource ids.
	ExcludeResourceIdsScope string `pulumi:"excludeResourceIdsScope"`
	// The ID of the Config Rule.
	// * `accountId`- The ID of the Alicloud account.
	// * `configRuleArn`- The ARN of the Config Rule.
	// * `configRuleId`- The ID of the Config Rule.
	// * `configRuleState`- The state of the Config Rule.
	// * `description`- The description of the Config Rule.
	// * `inputParameters`- The input parameters of the Config Rule.
	// * `modifiedTimestamp`- the timestamp of the Config Rule modified.
	// * `riskLevel`- The risk level of the Config Rule.
	// * `ruleName`- The name of the Config Rule.
	Id              string                 `pulumi:"id"`
	InputParameters map[string]interface{} `pulumi:"inputParameters"`
	// (Available in 1.124.1+) The frequency of maximum execution.
	MaximumExecutionFrequency string `pulumi:"maximumExecutionFrequency"`
	ModifiedTimestamp         string `pulumi:"modifiedTimestamp"`
	// (Available in 1.124.1+) The scope of region ids.
	RegionIdsScope string `pulumi:"regionIdsScope"`
	// (Available in 1.124.1+) The scope of resource ids.
	ResourceGroupIdsScope string `pulumi:"resourceGroupIdsScope"`
	// (Available in 1.124.1+) The scope of resource types.
	ResourceTypesScopes []string `pulumi:"resourceTypesScopes"`
	// The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
	RiskLevel int `pulumi:"riskLevel"`
	// The name of config rule.
	RuleName string `pulumi:"ruleName"`
	// The types of the resources to be evaluated against the rule.
	ScopeComplianceResourceTypes []string `pulumi:"scopeComplianceResourceTypes"`
	// Rule trigger mechanism.
	SourceDetailMessageType string `pulumi:"sourceDetailMessageType"`
	SourceIdentifier        string `pulumi:"sourceIdentifier"`
	// Rule execution cycle.
	// * `sourceIdentifier`- The name of the custom rule or managed rule.
	// * `sourceOwner`- The source owner of the Config Rule.
	SourceMaximumExecutionFrequency string `pulumi:"sourceMaximumExecutionFrequency"`
	SourceOwner                     string `pulumi:"sourceOwner"`
	// The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
	Status string `pulumi:"status"`
	// (Available in 1.124.1+) The scope of tag key.
	TagKeyScope string `pulumi:"tagKeyScope"`
	// (Available in 1.124.1+) The scope of tag value.
	TagValueScope string `pulumi:"tagValueScope"`
}

type GetRulesRuleArgs

type GetRulesRuleArgs struct {
	AccountId        pulumi.StringInput `pulumi:"accountId"`
	CompliancePackId pulumi.StringInput `pulumi:"compliancePackId"`
	// The information about the compliance evaluations based on the rule.
	Compliances   GetRulesRuleComplianceArrayInput `pulumi:"compliances"`
	ConfigRuleArn pulumi.StringInput               `pulumi:"configRuleArn"`
	ConfigRuleId  pulumi.StringInput               `pulumi:"configRuleId"`
	// Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead.
	ConfigRuleState pulumi.StringInput `pulumi:"configRuleState"`
	// (Available in 1.124.1+) A list of trigger types of config rule.
	ConfigRuleTriggerTypes pulumi.StringInput `pulumi:"configRuleTriggerTypes"`
	Description            pulumi.StringInput `pulumi:"description"`
	// Event source of the Config Rule.
	EventSource pulumi.StringInput `pulumi:"eventSource"`
	// (Available in 1.124.1+) The scope of exclude of resource ids.
	ExcludeResourceIdsScope pulumi.StringInput `pulumi:"excludeResourceIdsScope"`
	// The ID of the Config Rule.
	// * `accountId`- The ID of the Alicloud account.
	// * `configRuleArn`- The ARN of the Config Rule.
	// * `configRuleId`- The ID of the Config Rule.
	// * `configRuleState`- The state of the Config Rule.
	// * `description`- The description of the Config Rule.
	// * `inputParameters`- The input parameters of the Config Rule.
	// * `modifiedTimestamp`- the timestamp of the Config Rule modified.
	// * `riskLevel`- The risk level of the Config Rule.
	// * `ruleName`- The name of the Config Rule.
	Id              pulumi.StringInput `pulumi:"id"`
	InputParameters pulumi.MapInput    `pulumi:"inputParameters"`
	// (Available in 1.124.1+) The frequency of maximum execution.
	MaximumExecutionFrequency pulumi.StringInput `pulumi:"maximumExecutionFrequency"`
	ModifiedTimestamp         pulumi.StringInput `pulumi:"modifiedTimestamp"`
	// (Available in 1.124.1+) The scope of region ids.
	RegionIdsScope pulumi.StringInput `pulumi:"regionIdsScope"`
	// (Available in 1.124.1+) The scope of resource ids.
	ResourceGroupIdsScope pulumi.StringInput `pulumi:"resourceGroupIdsScope"`
	// (Available in 1.124.1+) The scope of resource types.
	ResourceTypesScopes pulumi.StringArrayInput `pulumi:"resourceTypesScopes"`
	// The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
	RiskLevel pulumi.IntInput `pulumi:"riskLevel"`
	// The name of config rule.
	RuleName pulumi.StringInput `pulumi:"ruleName"`
	// The types of the resources to be evaluated against the rule.
	ScopeComplianceResourceTypes pulumi.StringArrayInput `pulumi:"scopeComplianceResourceTypes"`
	// Rule trigger mechanism.
	SourceDetailMessageType pulumi.StringInput `pulumi:"sourceDetailMessageType"`
	SourceIdentifier        pulumi.StringInput `pulumi:"sourceIdentifier"`
	// Rule execution cycle.
	// * `sourceIdentifier`- The name of the custom rule or managed rule.
	// * `sourceOwner`- The source owner of the Config Rule.
	SourceMaximumExecutionFrequency pulumi.StringInput `pulumi:"sourceMaximumExecutionFrequency"`
	SourceOwner                     pulumi.StringInput `pulumi:"sourceOwner"`
	// The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
	Status pulumi.StringInput `pulumi:"status"`
	// (Available in 1.124.1+) The scope of tag key.
	TagKeyScope pulumi.StringInput `pulumi:"tagKeyScope"`
	// (Available in 1.124.1+) The scope of tag value.
	TagValueScope pulumi.StringInput `pulumi:"tagValueScope"`
}

func (GetRulesRuleArgs) ElementType

func (GetRulesRuleArgs) ElementType() reflect.Type

func (GetRulesRuleArgs) ToGetRulesRuleOutput

func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput

func (GetRulesRuleArgs) ToGetRulesRuleOutputWithContext

func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput

type GetRulesRuleArray

type GetRulesRuleArray []GetRulesRuleInput

func (GetRulesRuleArray) ElementType

func (GetRulesRuleArray) ElementType() reflect.Type

func (GetRulesRuleArray) ToGetRulesRuleArrayOutput

func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput

func (GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext

func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput

type GetRulesRuleArrayInput

type GetRulesRuleArrayInput interface {
	pulumi.Input

	ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
	ToGetRulesRuleArrayOutputWithContext(context.Context) GetRulesRuleArrayOutput
}

GetRulesRuleArrayInput is an input type that accepts GetRulesRuleArray and GetRulesRuleArrayOutput values. You can construct a concrete instance of `GetRulesRuleArrayInput` via:

GetRulesRuleArray{ GetRulesRuleArgs{...} }

type GetRulesRuleArrayOutput

type GetRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetRulesRuleArrayOutput) ElementType

func (GetRulesRuleArrayOutput) ElementType() reflect.Type

func (GetRulesRuleArrayOutput) Index

func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput

func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput

func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext

func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput

type GetRulesRuleCompliance

type GetRulesRuleCompliance struct {
	// The compliance evaluation result of the target resources.
	ComplianceType string `pulumi:"complianceType"`
	// The number of resources with the specified compliance evaluation result.
	Count int `pulumi:"count"`
}

type GetRulesRuleComplianceArgs

type GetRulesRuleComplianceArgs struct {
	// The compliance evaluation result of the target resources.
	ComplianceType pulumi.StringInput `pulumi:"complianceType"`
	// The number of resources with the specified compliance evaluation result.
	Count pulumi.IntInput `pulumi:"count"`
}

func (GetRulesRuleComplianceArgs) ElementType

func (GetRulesRuleComplianceArgs) ElementType() reflect.Type

func (GetRulesRuleComplianceArgs) ToGetRulesRuleComplianceOutput

func (i GetRulesRuleComplianceArgs) ToGetRulesRuleComplianceOutput() GetRulesRuleComplianceOutput

func (GetRulesRuleComplianceArgs) ToGetRulesRuleComplianceOutputWithContext

func (i GetRulesRuleComplianceArgs) ToGetRulesRuleComplianceOutputWithContext(ctx context.Context) GetRulesRuleComplianceOutput

type GetRulesRuleComplianceArray

type GetRulesRuleComplianceArray []GetRulesRuleComplianceInput

func (GetRulesRuleComplianceArray) ElementType

func (GetRulesRuleComplianceArray) ToGetRulesRuleComplianceArrayOutput

func (i GetRulesRuleComplianceArray) ToGetRulesRuleComplianceArrayOutput() GetRulesRuleComplianceArrayOutput

func (GetRulesRuleComplianceArray) ToGetRulesRuleComplianceArrayOutputWithContext

func (i GetRulesRuleComplianceArray) ToGetRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetRulesRuleComplianceArrayOutput

type GetRulesRuleComplianceArrayInput

type GetRulesRuleComplianceArrayInput interface {
	pulumi.Input

	ToGetRulesRuleComplianceArrayOutput() GetRulesRuleComplianceArrayOutput
	ToGetRulesRuleComplianceArrayOutputWithContext(context.Context) GetRulesRuleComplianceArrayOutput
}

GetRulesRuleComplianceArrayInput is an input type that accepts GetRulesRuleComplianceArray and GetRulesRuleComplianceArrayOutput values. You can construct a concrete instance of `GetRulesRuleComplianceArrayInput` via:

GetRulesRuleComplianceArray{ GetRulesRuleComplianceArgs{...} }

type GetRulesRuleComplianceArrayOutput

type GetRulesRuleComplianceArrayOutput struct{ *pulumi.OutputState }

func (GetRulesRuleComplianceArrayOutput) ElementType

func (GetRulesRuleComplianceArrayOutput) Index

func (GetRulesRuleComplianceArrayOutput) ToGetRulesRuleComplianceArrayOutput

func (o GetRulesRuleComplianceArrayOutput) ToGetRulesRuleComplianceArrayOutput() GetRulesRuleComplianceArrayOutput

func (GetRulesRuleComplianceArrayOutput) ToGetRulesRuleComplianceArrayOutputWithContext

func (o GetRulesRuleComplianceArrayOutput) ToGetRulesRuleComplianceArrayOutputWithContext(ctx context.Context) GetRulesRuleComplianceArrayOutput

type GetRulesRuleComplianceInput

type GetRulesRuleComplianceInput interface {
	pulumi.Input

	ToGetRulesRuleComplianceOutput() GetRulesRuleComplianceOutput
	ToGetRulesRuleComplianceOutputWithContext(context.Context) GetRulesRuleComplianceOutput
}

GetRulesRuleComplianceInput is an input type that accepts GetRulesRuleComplianceArgs and GetRulesRuleComplianceOutput values. You can construct a concrete instance of `GetRulesRuleComplianceInput` via:

GetRulesRuleComplianceArgs{...}

type GetRulesRuleComplianceOutput

type GetRulesRuleComplianceOutput struct{ *pulumi.OutputState }

func (GetRulesRuleComplianceOutput) ComplianceType

The compliance evaluation result of the target resources.

func (GetRulesRuleComplianceOutput) Count

The number of resources with the specified compliance evaluation result.

func (GetRulesRuleComplianceOutput) ElementType

func (GetRulesRuleComplianceOutput) ToGetRulesRuleComplianceOutput

func (o GetRulesRuleComplianceOutput) ToGetRulesRuleComplianceOutput() GetRulesRuleComplianceOutput

func (GetRulesRuleComplianceOutput) ToGetRulesRuleComplianceOutputWithContext

func (o GetRulesRuleComplianceOutput) ToGetRulesRuleComplianceOutputWithContext(ctx context.Context) GetRulesRuleComplianceOutput

type GetRulesRuleInput

type GetRulesRuleInput interface {
	pulumi.Input

	ToGetRulesRuleOutput() GetRulesRuleOutput
	ToGetRulesRuleOutputWithContext(context.Context) GetRulesRuleOutput
}

GetRulesRuleInput is an input type that accepts GetRulesRuleArgs and GetRulesRuleOutput values. You can construct a concrete instance of `GetRulesRuleInput` via:

GetRulesRuleArgs{...}

type GetRulesRuleOutput

type GetRulesRuleOutput struct{ *pulumi.OutputState }

func (GetRulesRuleOutput) AccountId

func (o GetRulesRuleOutput) AccountId() pulumi.StringOutput

func (GetRulesRuleOutput) CompliancePackId added in v3.3.0

func (o GetRulesRuleOutput) CompliancePackId() pulumi.StringOutput

func (GetRulesRuleOutput) Compliances

The information about the compliance evaluations based on the rule.

func (GetRulesRuleOutput) ConfigRuleArn

func (o GetRulesRuleOutput) ConfigRuleArn() pulumi.StringOutput

func (GetRulesRuleOutput) ConfigRuleId

func (o GetRulesRuleOutput) ConfigRuleId() pulumi.StringOutput

func (GetRulesRuleOutput) ConfigRuleState

func (o GetRulesRuleOutput) ConfigRuleState() pulumi.StringOutput

Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead.

func (GetRulesRuleOutput) ConfigRuleTriggerTypes added in v3.3.0

func (o GetRulesRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput

(Available in 1.124.1+) A list of trigger types of config rule.

func (GetRulesRuleOutput) Description

func (o GetRulesRuleOutput) Description() pulumi.StringOutput

func (GetRulesRuleOutput) ElementType

func (GetRulesRuleOutput) ElementType() reflect.Type

func (GetRulesRuleOutput) EventSource

func (o GetRulesRuleOutput) EventSource() pulumi.StringOutput

Event source of the Config Rule.

func (GetRulesRuleOutput) ExcludeResourceIdsScope added in v3.3.0

func (o GetRulesRuleOutput) ExcludeResourceIdsScope() pulumi.StringOutput

(Available in 1.124.1+) The scope of exclude of resource ids.

func (GetRulesRuleOutput) Id

The ID of the Config Rule. * `accountId`- The ID of the Alicloud account. * `configRuleArn`- The ARN of the Config Rule. * `configRuleId`- The ID of the Config Rule. * `configRuleState`- The state of the Config Rule. * `description`- The description of the Config Rule. * `inputParameters`- The input parameters of the Config Rule. * `modifiedTimestamp`- the timestamp of the Config Rule modified. * `riskLevel`- The risk level of the Config Rule. * `ruleName`- The name of the Config Rule.

func (GetRulesRuleOutput) InputParameters

func (o GetRulesRuleOutput) InputParameters() pulumi.MapOutput

func (GetRulesRuleOutput) MaximumExecutionFrequency added in v3.3.0

func (o GetRulesRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput

(Available in 1.124.1+) The frequency of maximum execution.

func (GetRulesRuleOutput) ModifiedTimestamp

func (o GetRulesRuleOutput) ModifiedTimestamp() pulumi.StringOutput

func (GetRulesRuleOutput) RegionIdsScope added in v3.3.0

func (o GetRulesRuleOutput) RegionIdsScope() pulumi.StringOutput

(Available in 1.124.1+) The scope of region ids.

func (GetRulesRuleOutput) ResourceGroupIdsScope added in v3.3.0

func (o GetRulesRuleOutput) ResourceGroupIdsScope() pulumi.StringOutput

(Available in 1.124.1+) The scope of resource ids.

func (GetRulesRuleOutput) ResourceTypesScopes added in v3.3.0

func (o GetRulesRuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput

(Available in 1.124.1+) The scope of resource types.

func (GetRulesRuleOutput) RiskLevel

func (o GetRulesRuleOutput) RiskLevel() pulumi.IntOutput

The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.

func (GetRulesRuleOutput) RuleName

func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput

The name of config rule.

func (GetRulesRuleOutput) ScopeComplianceResourceTypes

func (o GetRulesRuleOutput) ScopeComplianceResourceTypes() pulumi.StringArrayOutput

The types of the resources to be evaluated against the rule.

func (GetRulesRuleOutput) SourceDetailMessageType

func (o GetRulesRuleOutput) SourceDetailMessageType() pulumi.StringOutput

Rule trigger mechanism.

func (GetRulesRuleOutput) SourceIdentifier

func (o GetRulesRuleOutput) SourceIdentifier() pulumi.StringOutput

func (GetRulesRuleOutput) SourceMaximumExecutionFrequency

func (o GetRulesRuleOutput) SourceMaximumExecutionFrequency() pulumi.StringOutput

Rule execution cycle. * `sourceIdentifier`- The name of the custom rule or managed rule. * `sourceOwner`- The source owner of the Config Rule.

func (GetRulesRuleOutput) SourceOwner

func (o GetRulesRuleOutput) SourceOwner() pulumi.StringOutput

func (GetRulesRuleOutput) Status added in v3.3.0

The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.

func (GetRulesRuleOutput) TagKeyScope added in v3.3.0

func (o GetRulesRuleOutput) TagKeyScope() pulumi.StringOutput

(Available in 1.124.1+) The scope of tag key.

func (GetRulesRuleOutput) TagValueScope added in v3.3.0

func (o GetRulesRuleOutput) TagValueScope() pulumi.StringOutput

(Available in 1.124.1+) The scope of tag value.

func (GetRulesRuleOutput) ToGetRulesRuleOutput

func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput

func (GetRulesRuleOutput) ToGetRulesRuleOutputWithContext

func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput

type Rule

type Rule struct {
	pulumi.CustomResourceState

	// The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.
	ConfigRuleTriggerTypes pulumi.StringOutput `pulumi:"configRuleTriggerTypes"`
	// The description of the Config Rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, custom rule this field is empty.
	ExcludeResourceIdsScope pulumi.StringPtrOutput `pulumi:"excludeResourceIdsScope"`
	// Threshold value for managed rule triggering.
	InputParameters pulumi.MapOutput `pulumi:"inputParameters"`
	// The frequency of the compliance evaluations, it is required if the ConfigRuleTriggerTypes value is ScheduledNotification. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`.
	MaximumExecutionFrequency pulumi.StringOutput `pulumi:"maximumExecutionFrequency"`
	// The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.
	RegionIdsScope pulumi.StringPtrOutput `pulumi:"regionIdsScope"`
	// The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.
	ResourceGroupIdsScope pulumi.StringPtrOutput `pulumi:"resourceGroupIdsScope"`
	// Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
	ResourceTypesScopes pulumi.StringArrayOutput `pulumi:"resourceTypesScopes"`
	// The risk level of the Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
	RiskLevel pulumi.IntOutput `pulumi:"riskLevel"`
	// The name of the Config Rule.
	RuleName pulumi.StringOutput `pulumi:"ruleName"`
	// Field `scopeComplianceResourceTypes` has been deprecated from provider version 1.124.1. New field `resourceTypesScope` instead.
	//
	// Deprecated: Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead.
	ScopeComplianceResourceTypes pulumi.StringArrayOutput `pulumi:"scopeComplianceResourceTypes"`
	// Field `sourceDetailMessageType` has been deprecated from provider version 1.124.1. New field `configRuleTriggerTypes` instead.
	//
	// Deprecated: Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead.
	SourceDetailMessageType pulumi.StringOutput `pulumi:"sourceDetailMessageType"`
	// The identifier of the rule. For a managed rule, the value is the name of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm)
	SourceIdentifier pulumi.StringOutput `pulumi:"sourceIdentifier"`
	// Field `sourceMaximumExecutionFrequency` has been deprecated from provider version 1.124.1. New field `maximumExecutionFrequency` instead.
	//
	// Deprecated: Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' instead.
	SourceMaximumExecutionFrequency pulumi.StringOutput `pulumi:"sourceMaximumExecutionFrequency"`
	// Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule.
	SourceOwner pulumi.StringOutput `pulumi:"sourceOwner"`
	Status      pulumi.StringOutput `pulumi:"status"`
	// The rule monitors the tag key, only applies to rules created based on managed rules.
	TagKeyScope pulumi.StringPtrOutput `pulumi:"tagKeyScope"`
	// The rule monitors the tag value, use with the TagKeyScope options. only applies to rules created based on managed rules.
	TagValueScope pulumi.StringPtrOutput `pulumi:"tagValueScope"`
}

Provides a a Alicloud Config Rule resource. Cloud Config checks the validity of resources based on rules. You can create rules to evaluate resources as needed. For information about Alicloud Config Rule and how to use it, see [What is Alicloud Config Rule](https://www.alibabacloud.com/help/en/doc-detail/127388.htm).

> **NOTE:** Available in v1.99.0+.

> **NOTE:** The Cloud Config region only support `cn-shanghai` and `ap-southeast-1`.

> **NOTE:** If you use custom rules, you need to create your own rule functions in advance. Please refer to the link for [Create a custom rule.](https://www.alibabacloud.com/help/en/doc-detail/127405.htm)

## Example Usage

```go 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 {
		_, err := cfg.NewRule(ctx, "example", &cfg.RuleArgs{
			ConfigRuleTriggerTypes: pulumi.String("ConfigurationItemChangeNotification"),
			Description:            pulumi.String("ecs instances in vpc"),
			InputParameters: pulumi.AnyMap{
				"vpcIds": pulumi.Any("vpc-uf6gksw4ctjd******"),
			},
			ResourceTypesScopes: pulumi.StringArray{
				pulumi.String("ACS::ECS::Instance"),
			},
			RiskLevel:        pulumi.Int(1),
			RuleName:         pulumi.String("instances-in-vpc"),
			SourceIdentifier: pulumi.String("ecs-instances-in-vpc"),
			SourceOwner:      pulumi.String("ALIYUN"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Alicloud Config Rule can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cfg/rule:Rule this cr-ed4bad756057********

```

func GetRule

func GetRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)

GetRule gets an existing Rule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRule

func NewRule(ctx *pulumi.Context,
	name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)

NewRule registers a new resource with the given unique name, arguments, and options.

func (*Rule) ElementType

func (*Rule) ElementType() reflect.Type

func (*Rule) ToRuleOutput

func (i *Rule) ToRuleOutput() RuleOutput

func (*Rule) ToRuleOutputWithContext

func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput

func (*Rule) ToRulePtrOutput

func (i *Rule) ToRulePtrOutput() RulePtrOutput

func (*Rule) ToRulePtrOutputWithContext

func (i *Rule) ToRulePtrOutputWithContext(ctx context.Context) RulePtrOutput

type RuleArgs

type RuleArgs struct {
	// The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.
	ConfigRuleTriggerTypes pulumi.StringPtrInput
	// The description of the Config Rule.
	Description pulumi.StringPtrInput
	// The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, custom rule this field is empty.
	ExcludeResourceIdsScope pulumi.StringPtrInput
	// Threshold value for managed rule triggering.
	InputParameters pulumi.MapInput
	// The frequency of the compliance evaluations, it is required if the ConfigRuleTriggerTypes value is ScheduledNotification. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`.
	MaximumExecutionFrequency pulumi.StringPtrInput
	// The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.
	RegionIdsScope pulumi.StringPtrInput
	// The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.
	ResourceGroupIdsScope pulumi.StringPtrInput
	// Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
	ResourceTypesScopes pulumi.StringArrayInput
	// The risk level of the Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
	RiskLevel pulumi.IntInput
	// The name of the Config Rule.
	RuleName pulumi.StringInput
	// Field `scopeComplianceResourceTypes` has been deprecated from provider version 1.124.1. New field `resourceTypesScope` instead.
	//
	// Deprecated: Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead.
	ScopeComplianceResourceTypes pulumi.StringArrayInput
	// Field `sourceDetailMessageType` has been deprecated from provider version 1.124.1. New field `configRuleTriggerTypes` instead.
	//
	// Deprecated: Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead.
	SourceDetailMessageType pulumi.StringPtrInput
	// The identifier of the rule. For a managed rule, the value is the name of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm)
	SourceIdentifier pulumi.StringInput
	// Field `sourceMaximumExecutionFrequency` has been deprecated from provider version 1.124.1. New field `maximumExecutionFrequency` instead.
	//
	// Deprecated: Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' instead.
	SourceMaximumExecutionFrequency pulumi.StringPtrInput
	// Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule.
	SourceOwner pulumi.StringInput
	// The rule monitors the tag key, only applies to rules created based on managed rules.
	TagKeyScope pulumi.StringPtrInput
	// The rule monitors the tag value, use with the TagKeyScope options. only applies to rules created based on managed rules.
	TagValueScope pulumi.StringPtrInput
}

The set of arguments for constructing a Rule resource.

func (RuleArgs) ElementType

func (RuleArgs) ElementType() reflect.Type

type RuleArray

type RuleArray []RuleInput

func (RuleArray) ElementType

func (RuleArray) ElementType() reflect.Type

func (RuleArray) ToRuleArrayOutput

func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput

func (RuleArray) ToRuleArrayOutputWithContext

func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleArrayInput

type RuleArrayInput interface {
	pulumi.Input

	ToRuleArrayOutput() RuleArrayOutput
	ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput
}

RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:

RuleArray{ RuleArgs{...} }

type RuleArrayOutput

type RuleArrayOutput struct{ *pulumi.OutputState }

func (RuleArrayOutput) ElementType

func (RuleArrayOutput) ElementType() reflect.Type

func (RuleArrayOutput) Index

func (RuleArrayOutput) ToRuleArrayOutput

func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput

func (RuleArrayOutput) ToRuleArrayOutputWithContext

func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleInput

type RuleInput interface {
	pulumi.Input

	ToRuleOutput() RuleOutput
	ToRuleOutputWithContext(ctx context.Context) RuleOutput
}

type RuleMap

type RuleMap map[string]RuleInput

func (RuleMap) ElementType

func (RuleMap) ElementType() reflect.Type

func (RuleMap) ToRuleMapOutput

func (i RuleMap) ToRuleMapOutput() RuleMapOutput

func (RuleMap) ToRuleMapOutputWithContext

func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput

type RuleMapInput

type RuleMapInput interface {
	pulumi.Input

	ToRuleMapOutput() RuleMapOutput
	ToRuleMapOutputWithContext(context.Context) RuleMapOutput
}

RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:

RuleMap{ "key": RuleArgs{...} }

type RuleMapOutput

type RuleMapOutput struct{ *pulumi.OutputState }

func (RuleMapOutput) ElementType

func (RuleMapOutput) ElementType() reflect.Type

func (RuleMapOutput) MapIndex

func (RuleMapOutput) ToRuleMapOutput

func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput

func (RuleMapOutput) ToRuleMapOutputWithContext

func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput

type RuleOutput

type RuleOutput struct{ *pulumi.OutputState }

func (RuleOutput) ElementType

func (RuleOutput) ElementType() reflect.Type

func (RuleOutput) ToRuleOutput

func (o RuleOutput) ToRuleOutput() RuleOutput

func (RuleOutput) ToRuleOutputWithContext

func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput

func (RuleOutput) ToRulePtrOutput

func (o RuleOutput) ToRulePtrOutput() RulePtrOutput

func (RuleOutput) ToRulePtrOutputWithContext

func (o RuleOutput) ToRulePtrOutputWithContext(ctx context.Context) RulePtrOutput

type RulePtrInput

type RulePtrInput interface {
	pulumi.Input

	ToRulePtrOutput() RulePtrOutput
	ToRulePtrOutputWithContext(ctx context.Context) RulePtrOutput
}

type RulePtrOutput

type RulePtrOutput struct{ *pulumi.OutputState }

func (RulePtrOutput) Elem added in v3.9.0

func (o RulePtrOutput) Elem() RuleOutput

func (RulePtrOutput) ElementType

func (RulePtrOutput) ElementType() reflect.Type

func (RulePtrOutput) ToRulePtrOutput

func (o RulePtrOutput) ToRulePtrOutput() RulePtrOutput

func (RulePtrOutput) ToRulePtrOutputWithContext

func (o RulePtrOutput) ToRulePtrOutputWithContext(ctx context.Context) RulePtrOutput

type RuleState

type RuleState struct {
	// The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.
	ConfigRuleTriggerTypes pulumi.StringPtrInput
	// The description of the Config Rule.
	Description pulumi.StringPtrInput
	// The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, custom rule this field is empty.
	ExcludeResourceIdsScope pulumi.StringPtrInput
	// Threshold value for managed rule triggering.
	InputParameters pulumi.MapInput
	// The frequency of the compliance evaluations, it is required if the ConfigRuleTriggerTypes value is ScheduledNotification. Valid values: `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`.
	MaximumExecutionFrequency pulumi.StringPtrInput
	// The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.
	RegionIdsScope pulumi.StringPtrInput
	// The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.
	ResourceGroupIdsScope pulumi.StringPtrInput
	// Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
	ResourceTypesScopes pulumi.StringArrayInput
	// The risk level of the Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
	RiskLevel pulumi.IntPtrInput
	// The name of the Config Rule.
	RuleName pulumi.StringPtrInput
	// Field `scopeComplianceResourceTypes` has been deprecated from provider version 1.124.1. New field `resourceTypesScope` instead.
	//
	// Deprecated: Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead.
	ScopeComplianceResourceTypes pulumi.StringArrayInput
	// Field `sourceDetailMessageType` has been deprecated from provider version 1.124.1. New field `configRuleTriggerTypes` instead.
	//
	// Deprecated: Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead.
	SourceDetailMessageType pulumi.StringPtrInput
	// The identifier of the rule. For a managed rule, the value is the name of the managed rule. For a custom rule, the value is the ARN of the custom rule. Using managed rules, refer to [List of Managed rules.](https://www.alibabacloud.com/help/en/doc-detail/127404.htm)
	SourceIdentifier pulumi.StringPtrInput
	// Field `sourceMaximumExecutionFrequency` has been deprecated from provider version 1.124.1. New field `maximumExecutionFrequency` instead.
	//
	// Deprecated: Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' instead.
	SourceMaximumExecutionFrequency pulumi.StringPtrInput
	// Specifies whether you or Alibaba Cloud owns and manages the rule. Valid values: `CUSTOM_FC`: The rule is a custom rule and you own the rule. `ALIYUN`: The rule is a managed rule and Alibaba Cloud owns the rule.
	SourceOwner pulumi.StringPtrInput
	Status      pulumi.StringPtrInput
	// The rule monitors the tag key, only applies to rules created based on managed rules.
	TagKeyScope pulumi.StringPtrInput
	// The rule monitors the tag value, use with the TagKeyScope options. only applies to rules created based on managed rules.
	TagValueScope pulumi.StringPtrInput
}

func (RuleState) ElementType

func (RuleState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL