cfg

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type AggregateCompliancePack

type AggregateCompliancePack struct {
	pulumi.CustomResourceState

	// The name of compliance package name. **NOTE:** the `aggregateCompliancePackName` supports modification since V1.145.0.
	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`: critical `2`: warning `3`: info.
	RiskLevel pulumi.IntOutput `pulumi:"riskLevel"`
	// The status of the resource. The valid values: `CREATING`, `ACTIVE`.
	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://www.alibabacloud.com/help/en/doc-detail/194753.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "example_name"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{
			Status: pulumi.StringRef("OK"),
		}, 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

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

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

func (*AggregateCompliancePack) ElementType() reflect.Type

func (*AggregateCompliancePack) ToAggregateCompliancePackOutput

func (i *AggregateCompliancePack) ToAggregateCompliancePackOutput() AggregateCompliancePackOutput

func (*AggregateCompliancePack) ToAggregateCompliancePackOutputWithContext

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

type AggregateCompliancePackArgs

type AggregateCompliancePackArgs struct {
	// The name of compliance package name. **NOTE:** the `aggregateCompliancePackName` supports modification since V1.145.0.
	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`: critical `2`: warning `3`: info.
	RiskLevel pulumi.IntInput
}

The set of arguments for constructing a AggregateCompliancePack resource.

func (AggregateCompliancePackArgs) ElementType

type AggregateCompliancePackArray

type AggregateCompliancePackArray []AggregateCompliancePackInput

func (AggregateCompliancePackArray) ElementType

func (AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutput

func (i AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput

func (AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutputWithContext

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

type AggregateCompliancePackArrayInput

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

type AggregateCompliancePackArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackArrayOutput) ElementType

func (AggregateCompliancePackArrayOutput) Index

func (AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutput

func (o AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput

func (AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutputWithContext

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

type AggregateCompliancePackConfigRule

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

type AggregateCompliancePackConfigRuleArgs

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

func (AggregateCompliancePackConfigRuleArgs) ElementType

func (AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutput

func (i AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput

func (AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutputWithContext

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

type AggregateCompliancePackConfigRuleArray

type AggregateCompliancePackConfigRuleArray []AggregateCompliancePackConfigRuleInput

func (AggregateCompliancePackConfigRuleArray) ElementType

func (AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutput

func (i AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput

func (AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutputWithContext

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

type AggregateCompliancePackConfigRuleArrayInput

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

type AggregateCompliancePackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleArrayOutput) ElementType

func (AggregateCompliancePackConfigRuleArrayOutput) Index

func (AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutput

func (o AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput

func (AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutputWithContext

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

type AggregateCompliancePackConfigRuleConfigRuleParameter

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

type AggregateCompliancePackConfigRuleConfigRuleParameterArgs

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

func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ElementType

func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput

func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext

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

type AggregateCompliancePackConfigRuleConfigRuleParameterArray

type AggregateCompliancePackConfigRuleConfigRuleParameterArray []AggregateCompliancePackConfigRuleConfigRuleParameterInput

func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ElementType

func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput

func (i AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput

func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext

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

type AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput

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

type AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) Index

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext

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

type AggregateCompliancePackConfigRuleConfigRuleParameterInput

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

type AggregateCompliancePackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ElementType

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterName

The Parameter Name.

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue

The Parameter Value.

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext

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

type AggregateCompliancePackConfigRuleId

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

type AggregateCompliancePackConfigRuleIdArgs

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

func (AggregateCompliancePackConfigRuleIdArgs) ElementType

func (AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutput

func (i AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput

func (AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutputWithContext

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

type AggregateCompliancePackConfigRuleIdArray

type AggregateCompliancePackConfigRuleIdArray []AggregateCompliancePackConfigRuleIdInput

func (AggregateCompliancePackConfigRuleIdArray) ElementType

func (AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutput

func (i AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput

func (AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext

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

type AggregateCompliancePackConfigRuleIdArrayInput

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

type AggregateCompliancePackConfigRuleIdArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleIdArrayOutput) ElementType

func (AggregateCompliancePackConfigRuleIdArrayOutput) Index

func (AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutput

func (o AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput

func (AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext

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

type AggregateCompliancePackConfigRuleIdInput

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

type AggregateCompliancePackConfigRuleIdOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleIdOutput) ConfigRuleId

The rule ID of Aggregate Config Rule.

func (AggregateCompliancePackConfigRuleIdOutput) ElementType

func (AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutput

func (o AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput

func (AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutputWithContext

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

type AggregateCompliancePackConfigRuleInput

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

type AggregateCompliancePackConfigRuleOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleOutput) ConfigRuleParameters

A list of parameter rules.

func (AggregateCompliancePackConfigRuleOutput) ElementType

func (AggregateCompliancePackConfigRuleOutput) ManagedRuleIdentifier

The Managed Rule Identifier.

func (AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutput

func (o AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput

func (AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutputWithContext

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

type AggregateCompliancePackInput

type AggregateCompliancePackInput interface {
	pulumi.Input

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

type AggregateCompliancePackMap

type AggregateCompliancePackMap map[string]AggregateCompliancePackInput

func (AggregateCompliancePackMap) ElementType

func (AggregateCompliancePackMap) ElementType() reflect.Type

func (AggregateCompliancePackMap) ToAggregateCompliancePackMapOutput

func (i AggregateCompliancePackMap) ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput

func (AggregateCompliancePackMap) ToAggregateCompliancePackMapOutputWithContext

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

type AggregateCompliancePackMapInput

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

type AggregateCompliancePackMapOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackMapOutput) ElementType

func (AggregateCompliancePackMapOutput) MapIndex

func (AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutput

func (o AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput

func (AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutputWithContext

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

type AggregateCompliancePackOutput

type AggregateCompliancePackOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackOutput) AggregateCompliancePackName

func (o AggregateCompliancePackOutput) AggregateCompliancePackName() pulumi.StringOutput

The name of compliance package name. **NOTE:** the `aggregateCompliancePackName` supports modification since V1.145.0.

func (AggregateCompliancePackOutput) AggregatorId

The ID of aggregator.

func (AggregateCompliancePackOutput) CompliancePackTemplateId

func (o AggregateCompliancePackOutput) CompliancePackTemplateId() pulumi.StringPtrOutput

The Template ID of compliance package.

func (AggregateCompliancePackOutput) ConfigRuleIds

A list of Config Rule IDs.

func (AggregateCompliancePackOutput) ConfigRules deprecated

A list of Config Rules.

Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead.

func (AggregateCompliancePackOutput) Description

The description of compliance package.

func (AggregateCompliancePackOutput) ElementType

func (AggregateCompliancePackOutput) RiskLevel

The Risk Level. Valid values: `1`: critical `2`: warning `3`: info.

func (AggregateCompliancePackOutput) Status

The status of the resource. The valid values: `CREATING`, `ACTIVE`.

func (AggregateCompliancePackOutput) ToAggregateCompliancePackOutput

func (o AggregateCompliancePackOutput) ToAggregateCompliancePackOutput() AggregateCompliancePackOutput

func (AggregateCompliancePackOutput) ToAggregateCompliancePackOutputWithContext

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

type AggregateCompliancePackState

type AggregateCompliancePackState struct {
	// The name of compliance package name. **NOTE:** the `aggregateCompliancePackName` supports modification since V1.145.0.
	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`: critical `2`: warning `3`: info.
	RiskLevel pulumi.IntPtrInput
	// The status of the resource. The valid values: `CREATING`, `ACTIVE`.
	Status pulumi.StringPtrInput
}

func (AggregateCompliancePackState) ElementType

type AggregateConfigRule

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 identifier 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"`
	// The rule status. The valid values: `ACTIVE`, `INACTIVE`.
	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://www.alibabacloud.com/help/doc-detail/154216.html).

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAggregator, err := cfg.NewAggregator(ctx, "exampleAggregator", &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
		}
		_, err = cfg.NewAggregateConfigRule(ctx, "exampleAggregateConfigRule", &cfg.AggregateConfigRuleArgs{
			AggregateConfigRuleName: pulumi.String("tf-testaccconfig1234"),
			AggregatorId:            exampleAggregator.ID(),
			ConfigRuleTriggerTypes:  pulumi.String("ConfigurationItemChangeNotification"),
			SourceOwner:             pulumi.String("ALIYUN"),
			SourceIdentifier:        pulumi.String("ecs-cpu-min-count-limit"),
			RiskLevel:               pulumi.Int(1),
			ResourceTypesScopes: pulumi.StringArray{
				pulumi.String("ACS::ECS::Instance"),
			},
			InputParameters: pulumi.AnyMap{
				"cpuCount": pulumi.Any("4"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## 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

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

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

func (*AggregateConfigRule) ElementType() reflect.Type

func (*AggregateConfigRule) ToAggregateConfigRuleOutput

func (i *AggregateConfigRule) ToAggregateConfigRuleOutput() AggregateConfigRuleOutput

func (*AggregateConfigRule) ToAggregateConfigRuleOutputWithContext

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

type AggregateConfigRuleArgs

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 identifier 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 status. The valid values: `ACTIVE`, `INACTIVE`.
	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
}

The set of arguments for constructing a AggregateConfigRule resource.

func (AggregateConfigRuleArgs) ElementType

func (AggregateConfigRuleArgs) ElementType() reflect.Type

type AggregateConfigRuleArray

type AggregateConfigRuleArray []AggregateConfigRuleInput

func (AggregateConfigRuleArray) ElementType

func (AggregateConfigRuleArray) ElementType() reflect.Type

func (AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutput

func (i AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput

func (AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutputWithContext

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

type AggregateConfigRuleArrayInput

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

type AggregateConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (AggregateConfigRuleArrayOutput) ElementType

func (AggregateConfigRuleArrayOutput) Index

func (AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutput

func (o AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput

func (AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutputWithContext

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

type AggregateConfigRuleInput

type AggregateConfigRuleInput interface {
	pulumi.Input

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

type AggregateConfigRuleMap

type AggregateConfigRuleMap map[string]AggregateConfigRuleInput

func (AggregateConfigRuleMap) ElementType

func (AggregateConfigRuleMap) ElementType() reflect.Type

func (AggregateConfigRuleMap) ToAggregateConfigRuleMapOutput

func (i AggregateConfigRuleMap) ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput

func (AggregateConfigRuleMap) ToAggregateConfigRuleMapOutputWithContext

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

type AggregateConfigRuleMapInput

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

type AggregateConfigRuleMapOutput struct{ *pulumi.OutputState }

func (AggregateConfigRuleMapOutput) ElementType

func (AggregateConfigRuleMapOutput) MapIndex

func (AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutput

func (o AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput

func (AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutputWithContext

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

type AggregateConfigRuleOutput

type AggregateConfigRuleOutput struct{ *pulumi.OutputState }

func (AggregateConfigRuleOutput) AggregateConfigRuleName

func (o AggregateConfigRuleOutput) AggregateConfigRuleName() pulumi.StringOutput

The name of the rule.

func (AggregateConfigRuleOutput) AggregatorId

The Aggregator Id.

func (AggregateConfigRuleOutput) ConfigRuleId

(Available in 1.141.0+) The rule ID of Aggregate Config Rule.

func (AggregateConfigRuleOutput) ConfigRuleTriggerTypes

func (o AggregateConfigRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput

The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.

func (AggregateConfigRuleOutput) Description

The description of the rule.

func (AggregateConfigRuleOutput) ElementType

func (AggregateConfigRuleOutput) ElementType() reflect.Type

func (AggregateConfigRuleOutput) ExcludeResourceIdsScope

func (o AggregateConfigRuleOutput) ExcludeResourceIdsScope() pulumi.StringPtrOutput

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.

func (AggregateConfigRuleOutput) InputParameters

func (o AggregateConfigRuleOutput) InputParameters() pulumi.MapOutput

The settings map of the input parameters for the rule.

func (AggregateConfigRuleOutput) MaximumExecutionFrequency

func (o AggregateConfigRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput

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`.

func (AggregateConfigRuleOutput) RegionIdsScope

The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.

func (AggregateConfigRuleOutput) ResourceGroupIdsScope

func (o AggregateConfigRuleOutput) ResourceGroupIdsScope() pulumi.StringPtrOutput

The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.

func (AggregateConfigRuleOutput) ResourceTypesScopes

func (o AggregateConfigRuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput

Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)

func (AggregateConfigRuleOutput) RiskLevel

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

func (AggregateConfigRuleOutput) SourceIdentifier

func (o AggregateConfigRuleOutput) SourceIdentifier() pulumi.StringOutput

The identifier of the rule. For a managed rule, the value is the identifier 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)

func (AggregateConfigRuleOutput) SourceOwner

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.

func (AggregateConfigRuleOutput) Status

The rule status. The valid values: `ACTIVE`, `INACTIVE`.

func (AggregateConfigRuleOutput) TagKeyScope

The rule monitors the tag key, only applies to rules created based on managed rules.

func (AggregateConfigRuleOutput) TagValueScope

The rule monitors the tag value, use with the `tagKeyScope` options. only applies to rules created based on managed rules.

func (AggregateConfigRuleOutput) ToAggregateConfigRuleOutput

func (o AggregateConfigRuleOutput) ToAggregateConfigRuleOutput() AggregateConfigRuleOutput

func (AggregateConfigRuleOutput) ToAggregateConfigRuleOutputWithContext

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

type AggregateConfigRuleState

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 identifier 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
	// The rule status. The valid values: `ACTIVE`, `INACTIVE`.
	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

func (AggregateConfigRuleState) ElementType() reflect.Type

type AggregateDelivery

type AggregateDelivery struct {
	pulumi.CustomResourceState

	// The ID of the Aggregator.
	AggregatorId pulumi.StringOutput `pulumi:"aggregatorId"`
	// Open or close delivery configuration change history.
	ConfigurationItemChangeNotification pulumi.BoolOutput `pulumi:"configurationItemChangeNotification"`
	// Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
	ConfigurationSnapshot pulumi.BoolOutput `pulumi:"configurationSnapshot"`
	// The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
	DeliveryChannelCondition pulumi.StringPtrOutput `pulumi:"deliveryChannelCondition"`
	// The ID of the delivery method.
	DeliveryChannelId pulumi.StringOutput `pulumi:"deliveryChannelId"`
	// The name of the delivery method.
	DeliveryChannelName pulumi.StringPtrOutput `pulumi:"deliveryChannelName"`
	// The ARN of the delivery destination. 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. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
	DeliveryChannelType pulumi.StringOutput `pulumi:"deliveryChannelType"`
	// The description of the delivery method.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
	NonCompliantNotification pulumi.BoolOutput `pulumi:"nonCompliantNotification"`
	// The oss ARN of the delivery channel when the value data oversized limit.
	// * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket.
	// * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
	OversizedDataOssTargetArn pulumi.StringPtrOutput `pulumi:"oversizedDataOssTargetArn"`
	// 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"`
}

Provides a Cloud Config Aggregate Delivery resource.

For information about Cloud Config Aggregate Delivery and how to use it, see [What is Aggregate Delivery](https://www.alibabacloud.com/help/en/cloud-config/latest/delivery-destination-services-overview).

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

## Import

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

```sh

$ pulumi import alicloud:cfg/aggregateDelivery:AggregateDelivery example <aggregator_id>:<delivery_channel_id>

```

func GetAggregateDelivery

func GetAggregateDelivery(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AggregateDeliveryState, opts ...pulumi.ResourceOption) (*AggregateDelivery, error)

GetAggregateDelivery gets an existing AggregateDelivery 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 NewAggregateDelivery

func NewAggregateDelivery(ctx *pulumi.Context,
	name string, args *AggregateDeliveryArgs, opts ...pulumi.ResourceOption) (*AggregateDelivery, error)

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

func (*AggregateDelivery) ElementType

func (*AggregateDelivery) ElementType() reflect.Type

func (*AggregateDelivery) ToAggregateDeliveryOutput

func (i *AggregateDelivery) ToAggregateDeliveryOutput() AggregateDeliveryOutput

func (*AggregateDelivery) ToAggregateDeliveryOutputWithContext

func (i *AggregateDelivery) ToAggregateDeliveryOutputWithContext(ctx context.Context) AggregateDeliveryOutput

type AggregateDeliveryArgs

type AggregateDeliveryArgs struct {
	// The ID of the Aggregator.
	AggregatorId pulumi.StringInput
	// Open or close delivery configuration change history.
	ConfigurationItemChangeNotification pulumi.BoolPtrInput
	// Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
	ConfigurationSnapshot pulumi.BoolPtrInput
	// The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
	DeliveryChannelCondition pulumi.StringPtrInput
	// The name of the delivery method.
	DeliveryChannelName pulumi.StringPtrInput
	// The ARN of the delivery destination. 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. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
	DeliveryChannelType pulumi.StringInput
	// The description of the delivery method.
	Description pulumi.StringPtrInput
	// Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
	NonCompliantNotification pulumi.BoolPtrInput
	// The oss ARN of the delivery channel when the value data oversized limit.
	// * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket.
	// * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
	OversizedDataOssTargetArn 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 AggregateDelivery resource.

func (AggregateDeliveryArgs) ElementType

func (AggregateDeliveryArgs) ElementType() reflect.Type

type AggregateDeliveryArray

type AggregateDeliveryArray []AggregateDeliveryInput

func (AggregateDeliveryArray) ElementType

func (AggregateDeliveryArray) ElementType() reflect.Type

func (AggregateDeliveryArray) ToAggregateDeliveryArrayOutput

func (i AggregateDeliveryArray) ToAggregateDeliveryArrayOutput() AggregateDeliveryArrayOutput

func (AggregateDeliveryArray) ToAggregateDeliveryArrayOutputWithContext

func (i AggregateDeliveryArray) ToAggregateDeliveryArrayOutputWithContext(ctx context.Context) AggregateDeliveryArrayOutput

type AggregateDeliveryArrayInput

type AggregateDeliveryArrayInput interface {
	pulumi.Input

	ToAggregateDeliveryArrayOutput() AggregateDeliveryArrayOutput
	ToAggregateDeliveryArrayOutputWithContext(context.Context) AggregateDeliveryArrayOutput
}

AggregateDeliveryArrayInput is an input type that accepts AggregateDeliveryArray and AggregateDeliveryArrayOutput values. You can construct a concrete instance of `AggregateDeliveryArrayInput` via:

AggregateDeliveryArray{ AggregateDeliveryArgs{...} }

type AggregateDeliveryArrayOutput

type AggregateDeliveryArrayOutput struct{ *pulumi.OutputState }

func (AggregateDeliveryArrayOutput) ElementType

func (AggregateDeliveryArrayOutput) Index

func (AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutput

func (o AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutput() AggregateDeliveryArrayOutput

func (AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutputWithContext

func (o AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutputWithContext(ctx context.Context) AggregateDeliveryArrayOutput

type AggregateDeliveryInput

type AggregateDeliveryInput interface {
	pulumi.Input

	ToAggregateDeliveryOutput() AggregateDeliveryOutput
	ToAggregateDeliveryOutputWithContext(ctx context.Context) AggregateDeliveryOutput
}

type AggregateDeliveryMap

type AggregateDeliveryMap map[string]AggregateDeliveryInput

func (AggregateDeliveryMap) ElementType

func (AggregateDeliveryMap) ElementType() reflect.Type

func (AggregateDeliveryMap) ToAggregateDeliveryMapOutput

func (i AggregateDeliveryMap) ToAggregateDeliveryMapOutput() AggregateDeliveryMapOutput

func (AggregateDeliveryMap) ToAggregateDeliveryMapOutputWithContext

func (i AggregateDeliveryMap) ToAggregateDeliveryMapOutputWithContext(ctx context.Context) AggregateDeliveryMapOutput

type AggregateDeliveryMapInput

type AggregateDeliveryMapInput interface {
	pulumi.Input

	ToAggregateDeliveryMapOutput() AggregateDeliveryMapOutput
	ToAggregateDeliveryMapOutputWithContext(context.Context) AggregateDeliveryMapOutput
}

AggregateDeliveryMapInput is an input type that accepts AggregateDeliveryMap and AggregateDeliveryMapOutput values. You can construct a concrete instance of `AggregateDeliveryMapInput` via:

AggregateDeliveryMap{ "key": AggregateDeliveryArgs{...} }

type AggregateDeliveryMapOutput

type AggregateDeliveryMapOutput struct{ *pulumi.OutputState }

func (AggregateDeliveryMapOutput) ElementType

func (AggregateDeliveryMapOutput) ElementType() reflect.Type

func (AggregateDeliveryMapOutput) MapIndex

func (AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutput

func (o AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutput() AggregateDeliveryMapOutput

func (AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutputWithContext

func (o AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutputWithContext(ctx context.Context) AggregateDeliveryMapOutput

type AggregateDeliveryOutput

type AggregateDeliveryOutput struct{ *pulumi.OutputState }

func (AggregateDeliveryOutput) AggregatorId

func (o AggregateDeliveryOutput) AggregatorId() pulumi.StringOutput

The ID of the Aggregator.

func (AggregateDeliveryOutput) ConfigurationItemChangeNotification

func (o AggregateDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput

Open or close delivery configuration change history.

func (AggregateDeliveryOutput) ConfigurationSnapshot

func (o AggregateDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput

Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.

func (AggregateDeliveryOutput) DeliveryChannelCondition

func (o AggregateDeliveryOutput) DeliveryChannelCondition() pulumi.StringPtrOutput

The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.

func (AggregateDeliveryOutput) DeliveryChannelId

func (o AggregateDeliveryOutput) DeliveryChannelId() pulumi.StringOutput

The ID of the delivery method.

func (AggregateDeliveryOutput) DeliveryChannelName

func (o AggregateDeliveryOutput) DeliveryChannelName() pulumi.StringPtrOutput

The name of the delivery method.

func (AggregateDeliveryOutput) DeliveryChannelTargetArn

func (o AggregateDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput

The ARN of the delivery destination. 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.

func (AggregateDeliveryOutput) DeliveryChannelType

func (o AggregateDeliveryOutput) DeliveryChannelType() pulumi.StringOutput

The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.

func (AggregateDeliveryOutput) Description

The description of the delivery method.

func (AggregateDeliveryOutput) ElementType

func (AggregateDeliveryOutput) ElementType() reflect.Type

func (AggregateDeliveryOutput) NonCompliantNotification

func (o AggregateDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput

Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.

func (AggregateDeliveryOutput) OversizedDataOssTargetArn

func (o AggregateDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringPtrOutput

The oss ARN of the delivery channel when the value data oversized limit. * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket. * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.

func (AggregateDeliveryOutput) Status

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.

func (AggregateDeliveryOutput) ToAggregateDeliveryOutput

func (o AggregateDeliveryOutput) ToAggregateDeliveryOutput() AggregateDeliveryOutput

func (AggregateDeliveryOutput) ToAggregateDeliveryOutputWithContext

func (o AggregateDeliveryOutput) ToAggregateDeliveryOutputWithContext(ctx context.Context) AggregateDeliveryOutput

type AggregateDeliveryState

type AggregateDeliveryState struct {
	// The ID of the Aggregator.
	AggregatorId pulumi.StringPtrInput
	// Open or close delivery configuration change history.
	ConfigurationItemChangeNotification pulumi.BoolPtrInput
	// Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
	ConfigurationSnapshot pulumi.BoolPtrInput
	// The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
	DeliveryChannelCondition pulumi.StringPtrInput
	// The ID of the delivery method.
	DeliveryChannelId pulumi.StringPtrInput
	// The name of the delivery method.
	DeliveryChannelName pulumi.StringPtrInput
	// The ARN of the delivery destination. 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. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
	DeliveryChannelType pulumi.StringPtrInput
	// The description of the delivery method.
	Description pulumi.StringPtrInput
	// Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
	NonCompliantNotification pulumi.BoolPtrInput
	// The oss ARN of the delivery channel when the value data oversized limit.
	// * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket.
	// * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
	OversizedDataOssTargetArn 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 (AggregateDeliveryState) ElementType

func (AggregateDeliveryState) ElementType() reflect.Type

type Aggregator

type Aggregator struct {
	pulumi.CustomResourceState

	// The information of account in aggregator. If the aggregatorType is RD, it is optional and means add all members in the resource directory to the account group. **NOTE:** the field `aggregatorAccounts` is not required from version 1.148.0.
	AggregatorAccounts AggregatorAggregatorAccountArrayOutput `pulumi:"aggregatorAccounts"`
	// The name of aggregator.
	AggregatorName pulumi.StringOutput `pulumi:"aggregatorName"`
	// The type of aggregator. Valid values: `CUSTOM`, `RD`. The Default value: `CUSTOM`.
	AggregatorType pulumi.StringOutput `pulumi:"aggregatorType"`
	// The description of aggregator.
	Description pulumi.StringOutput `pulumi:"description"`
	// The status of the resource. Valid values: `0`: creating `1`: normal `2`: deleting.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Cloud Config Aggregator resource.

For information about Cloud Config Aggregate Config Rule and how to use it, see [What is Aggregator](https://www.alibabacloud.com/help/en/doc-detail/211197.html).

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

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

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

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

func (*Aggregator) ElementType() reflect.Type

func (*Aggregator) ToAggregatorOutput

func (i *Aggregator) ToAggregatorOutput() AggregatorOutput

func (*Aggregator) ToAggregatorOutputWithContext

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

type AggregatorAggregatorAccount

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

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

func (AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutput

func (i AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput

func (AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutputWithContext

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

type AggregatorAggregatorAccountArray

type AggregatorAggregatorAccountArray []AggregatorAggregatorAccountInput

func (AggregatorAggregatorAccountArray) ElementType

func (AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutput

func (i AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput

func (AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutputWithContext

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

type AggregatorAggregatorAccountArrayInput

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

type AggregatorAggregatorAccountArrayOutput struct{ *pulumi.OutputState }

func (AggregatorAggregatorAccountArrayOutput) ElementType

func (AggregatorAggregatorAccountArrayOutput) Index

func (AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutput

func (o AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput

func (AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutputWithContext

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

type AggregatorAggregatorAccountInput

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

type AggregatorAggregatorAccountOutput struct{ *pulumi.OutputState }

func (AggregatorAggregatorAccountOutput) AccountId

Aggregator account Uid.

func (AggregatorAggregatorAccountOutput) AccountName

Aggregator account name.

func (AggregatorAggregatorAccountOutput) AccountType

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

func (AggregatorAggregatorAccountOutput) ElementType

func (AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutput

func (o AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput

func (AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutputWithContext

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

type AggregatorArgs

type AggregatorArgs struct {
	// The information of account in aggregator. If the aggregatorType is RD, it is optional and means add all members in the resource directory to the account group. **NOTE:** the field `aggregatorAccounts` is not required from version 1.148.0.
	AggregatorAccounts AggregatorAggregatorAccountArrayInput
	// The name of aggregator.
	AggregatorName pulumi.StringInput
	// The type of aggregator. Valid values: `CUSTOM`, `RD`. The Default value: `CUSTOM`.
	AggregatorType pulumi.StringPtrInput
	// The description of aggregator.
	Description pulumi.StringInput
}

The set of arguments for constructing a Aggregator resource.

func (AggregatorArgs) ElementType

func (AggregatorArgs) ElementType() reflect.Type

type AggregatorArray

type AggregatorArray []AggregatorInput

func (AggregatorArray) ElementType

func (AggregatorArray) ElementType() reflect.Type

func (AggregatorArray) ToAggregatorArrayOutput

func (i AggregatorArray) ToAggregatorArrayOutput() AggregatorArrayOutput

func (AggregatorArray) ToAggregatorArrayOutputWithContext

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

type AggregatorArrayInput

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

type AggregatorArrayOutput struct{ *pulumi.OutputState }

func (AggregatorArrayOutput) ElementType

func (AggregatorArrayOutput) ElementType() reflect.Type

func (AggregatorArrayOutput) Index

func (AggregatorArrayOutput) ToAggregatorArrayOutput

func (o AggregatorArrayOutput) ToAggregatorArrayOutput() AggregatorArrayOutput

func (AggregatorArrayOutput) ToAggregatorArrayOutputWithContext

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

type AggregatorInput

type AggregatorInput interface {
	pulumi.Input

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

type AggregatorMap

type AggregatorMap map[string]AggregatorInput

func (AggregatorMap) ElementType

func (AggregatorMap) ElementType() reflect.Type

func (AggregatorMap) ToAggregatorMapOutput

func (i AggregatorMap) ToAggregatorMapOutput() AggregatorMapOutput

func (AggregatorMap) ToAggregatorMapOutputWithContext

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

type AggregatorMapInput

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

type AggregatorMapOutput struct{ *pulumi.OutputState }

func (AggregatorMapOutput) ElementType

func (AggregatorMapOutput) ElementType() reflect.Type

func (AggregatorMapOutput) MapIndex

func (AggregatorMapOutput) ToAggregatorMapOutput

func (o AggregatorMapOutput) ToAggregatorMapOutput() AggregatorMapOutput

func (AggregatorMapOutput) ToAggregatorMapOutputWithContext

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

type AggregatorOutput

type AggregatorOutput struct{ *pulumi.OutputState }

func (AggregatorOutput) AggregatorAccounts

The information of account in aggregator. If the aggregatorType is RD, it is optional and means add all members in the resource directory to the account group. **NOTE:** the field `aggregatorAccounts` is not required from version 1.148.0.

func (AggregatorOutput) AggregatorName

func (o AggregatorOutput) AggregatorName() pulumi.StringOutput

The name of aggregator.

func (AggregatorOutput) AggregatorType

func (o AggregatorOutput) AggregatorType() pulumi.StringOutput

The type of aggregator. Valid values: `CUSTOM`, `RD`. The Default value: `CUSTOM`.

func (AggregatorOutput) Description

func (o AggregatorOutput) Description() pulumi.StringOutput

The description of aggregator.

func (AggregatorOutput) ElementType

func (AggregatorOutput) ElementType() reflect.Type

func (AggregatorOutput) Status

The status of the resource. Valid values: `0`: creating `1`: normal `2`: deleting.

func (AggregatorOutput) ToAggregatorOutput

func (o AggregatorOutput) ToAggregatorOutput() AggregatorOutput

func (AggregatorOutput) ToAggregatorOutputWithContext

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

type AggregatorState

type AggregatorState struct {
	// The information of account in aggregator. If the aggregatorType is RD, it is optional and means add all members in the resource directory to the account group. **NOTE:** the field `aggregatorAccounts` is not required from version 1.148.0.
	AggregatorAccounts AggregatorAggregatorAccountArrayInput
	// The name of aggregator.
	AggregatorName pulumi.StringPtrInput
	// The type of aggregator. Valid values: `CUSTOM`, `RD`. The Default value: `CUSTOM`.
	AggregatorType pulumi.StringPtrInput
	// The description of aggregator.
	Description pulumi.StringPtrInput
	// The status of the resource. Valid values: `0`: creating `1`: normal `2`: deleting.
	Status pulumi.StringPtrInput
}

func (AggregatorState) ElementType

func (AggregatorState) ElementType() reflect.Type

type CompliancePack

type CompliancePack struct {
	pulumi.CustomResourceState

	// The Compliance Package Name. . **NOTE:** the `compliancePackName` supports modification since V1.146.0.
	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. The valid values: `CREATING`, `ACTIVE`.
	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://www.alibabacloud.com/help/en/doc-detail/194753.html).

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

## Example Usage

Basic Usage

```go package main

import (

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

)

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
		}
		defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{
			Status: pulumi.StringRef("OK"),
		}, 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

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

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

func (*CompliancePack) ElementType() reflect.Type

func (*CompliancePack) ToCompliancePackOutput

func (i *CompliancePack) ToCompliancePackOutput() CompliancePackOutput

func (*CompliancePack) ToCompliancePackOutputWithContext

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

type CompliancePackArgs

type CompliancePackArgs struct {
	// The Compliance Package Name. . **NOTE:** the `compliancePackName` supports modification since V1.146.0.
	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

func (CompliancePackArgs) ElementType() reflect.Type

type CompliancePackArray

type CompliancePackArray []CompliancePackInput

func (CompliancePackArray) ElementType

func (CompliancePackArray) ElementType() reflect.Type

func (CompliancePackArray) ToCompliancePackArrayOutput

func (i CompliancePackArray) ToCompliancePackArrayOutput() CompliancePackArrayOutput

func (CompliancePackArray) ToCompliancePackArrayOutputWithContext

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

type CompliancePackArrayInput

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

type CompliancePackArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackArrayOutput) ElementType

func (CompliancePackArrayOutput) ElementType() reflect.Type

func (CompliancePackArrayOutput) Index

func (CompliancePackArrayOutput) ToCompliancePackArrayOutput

func (o CompliancePackArrayOutput) ToCompliancePackArrayOutput() CompliancePackArrayOutput

func (CompliancePackArrayOutput) ToCompliancePackArrayOutputWithContext

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

type CompliancePackConfigRule

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

type CompliancePackConfigRuleArgs

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

func (CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutput

func (i CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput

func (CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutputWithContext

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

type CompliancePackConfigRuleArray

type CompliancePackConfigRuleArray []CompliancePackConfigRuleInput

func (CompliancePackConfigRuleArray) ElementType

func (CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutput

func (i CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput

func (CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutputWithContext

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

type CompliancePackConfigRuleArrayInput

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

type CompliancePackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleArrayOutput) ElementType

func (CompliancePackConfigRuleArrayOutput) Index

func (CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutput

func (o CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput

func (CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutputWithContext

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

type CompliancePackConfigRuleConfigRuleParameter

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

type CompliancePackConfigRuleConfigRuleParameterArgs

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

func (CompliancePackConfigRuleConfigRuleParameterArgs) ElementType

func (CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutput

func (i CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput

func (CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext

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

type CompliancePackConfigRuleConfigRuleParameterArray

type CompliancePackConfigRuleConfigRuleParameterArray []CompliancePackConfigRuleConfigRuleParameterInput

func (CompliancePackConfigRuleConfigRuleParameterArray) ElementType

func (CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput

func (i CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput() CompliancePackConfigRuleConfigRuleParameterArrayOutput

func (CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext

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

type CompliancePackConfigRuleConfigRuleParameterArrayInput

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

type CompliancePackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) Index

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext

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

type CompliancePackConfigRuleConfigRuleParameterInput

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

type CompliancePackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleConfigRuleParameterOutput) ElementType

func (CompliancePackConfigRuleConfigRuleParameterOutput) ParameterName

The parameter name.

func (CompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue

The parameter value.

func (CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutput

func (o CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput

func (CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext

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

type CompliancePackConfigRuleId

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

type CompliancePackConfigRuleIdArgs

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

func (CompliancePackConfigRuleIdArgs) ElementType

func (CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutput

func (i CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput

func (CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutputWithContext

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

type CompliancePackConfigRuleIdArray

type CompliancePackConfigRuleIdArray []CompliancePackConfigRuleIdInput

func (CompliancePackConfigRuleIdArray) ElementType

func (CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutput

func (i CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput

func (CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutputWithContext

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

type CompliancePackConfigRuleIdArrayInput

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

type CompliancePackConfigRuleIdArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleIdArrayOutput) ElementType

func (CompliancePackConfigRuleIdArrayOutput) Index

func (CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutput

func (o CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput

func (CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutputWithContext

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

type CompliancePackConfigRuleIdInput

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

type CompliancePackConfigRuleIdOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleIdOutput) ConfigRuleId

The rule ID of Config Rule.

func (CompliancePackConfigRuleIdOutput) ElementType

func (CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutput

func (o CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput

func (CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutputWithContext

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

type CompliancePackConfigRuleInput

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

type CompliancePackConfigRuleOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleOutput) ConfigRuleParameters

A list of Config Rule Parameters.

func (CompliancePackConfigRuleOutput) ElementType

func (CompliancePackConfigRuleOutput) ManagedRuleIdentifier

func (o CompliancePackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput

The Managed Rule Identifier.

func (CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutput

func (o CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput

func (CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutputWithContext

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

type CompliancePackInput

type CompliancePackInput interface {
	pulumi.Input

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

type CompliancePackMap

type CompliancePackMap map[string]CompliancePackInput

func (CompliancePackMap) ElementType

func (CompliancePackMap) ElementType() reflect.Type

func (CompliancePackMap) ToCompliancePackMapOutput

func (i CompliancePackMap) ToCompliancePackMapOutput() CompliancePackMapOutput

func (CompliancePackMap) ToCompliancePackMapOutputWithContext

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

type CompliancePackMapInput

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

type CompliancePackMapOutput struct{ *pulumi.OutputState }

func (CompliancePackMapOutput) ElementType

func (CompliancePackMapOutput) ElementType() reflect.Type

func (CompliancePackMapOutput) MapIndex

func (CompliancePackMapOutput) ToCompliancePackMapOutput

func (o CompliancePackMapOutput) ToCompliancePackMapOutput() CompliancePackMapOutput

func (CompliancePackMapOutput) ToCompliancePackMapOutputWithContext

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

type CompliancePackOutput

type CompliancePackOutput struct{ *pulumi.OutputState }

func (CompliancePackOutput) CompliancePackName

func (o CompliancePackOutput) CompliancePackName() pulumi.StringOutput

The Compliance Package Name. . **NOTE:** the `compliancePackName` supports modification since V1.146.0.

func (CompliancePackOutput) CompliancePackTemplateId

func (o CompliancePackOutput) CompliancePackTemplateId() pulumi.StringPtrOutput

Compliance Package Template Id.

func (CompliancePackOutput) ConfigRuleIds

A list of Config Rule IDs.

func (CompliancePackOutput) ConfigRules deprecated

A list of Config Rules.

Deprecated: Field 'config_rules' has been deprecated from provider version 1.141.0. New field 'config_rule_ids' instead.

func (CompliancePackOutput) Description

func (o CompliancePackOutput) Description() pulumi.StringOutput

The Description of compliance pack.

func (CompliancePackOutput) ElementType

func (CompliancePackOutput) ElementType() reflect.Type

func (CompliancePackOutput) RiskLevel

func (o CompliancePackOutput) RiskLevel() pulumi.IntOutput

The Risk Level. Valid values: `1`: critical, `2`: warning, `3`: info.

func (CompliancePackOutput) Status

The status of the resource. The valid values: `CREATING`, `ACTIVE`.

func (CompliancePackOutput) ToCompliancePackOutput

func (o CompliancePackOutput) ToCompliancePackOutput() CompliancePackOutput

func (CompliancePackOutput) ToCompliancePackOutputWithContext

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

type CompliancePackState

type CompliancePackState struct {
	// The Compliance Package Name. . **NOTE:** the `compliancePackName` supports modification since V1.146.0.
	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. The valid values: `CREATING`, `ACTIVE`.
	Status pulumi.StringPtrInput
}

func (CompliancePackState) ElementType

func (CompliancePackState) ElementType() reflect.Type

type ConfigurationRecorder

type ConfigurationRecorder struct {
	pulumi.CustomResourceState

	EnterpriseEdition pulumi.BoolOutput `pulumi:"enterpriseEdition"`
	// Enterprise version configuration audit enabled status. 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)
	// * If you use an ordinary account, the `resourceTypes` supports the update operation after the process of creation is completed.
	// * If you use an enterprise account, the `resourceTypes` does not support updating.
	ResourceTypes pulumi.StringArrayOutput `pulumi:"resourceTypes"`
	// Status of resource monitoring. 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 Configuration Recorder.](https://www.alibabacloud.com/help/en/doc-detail/153156.html)

> **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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

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

type ConfigurationRecorderArgs

type ConfigurationRecorderArgs struct {
	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)
	// * If you use an ordinary account, the `resourceTypes` supports the update operation after the process of creation is completed.
	// * If you use an enterprise account, the `resourceTypes` does not support updating.
	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) EnterpriseEdition

func (o ConfigurationRecorderOutput) EnterpriseEdition() pulumi.BoolOutput

func (ConfigurationRecorderOutput) OrganizationEnableStatus

func (o ConfigurationRecorderOutput) OrganizationEnableStatus() pulumi.StringOutput

Enterprise version configuration audit enabled status. Values: `REGISTRABLE`: Not enabled, `BUILDING`: Building and `REGISTERED`: Enabled.

func (ConfigurationRecorderOutput) OrganizationMasterId

func (o ConfigurationRecorderOutput) OrganizationMasterId() pulumi.IntOutput

The ID of the Enterprise management account.

func (ConfigurationRecorderOutput) ResourceTypes

A list of resource types to be monitored. [Resource types that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm) * If you use an ordinary account, the `resourceTypes` supports the update operation after the process of creation is completed. * If you use an enterprise account, the `resourceTypes` does not support updating.

func (ConfigurationRecorderOutput) Status

Status of resource monitoring. Values: `REGISTRABLE`: Not registered, `BUILDING`: Under construction, `REGISTERED`: Registered and `REBUILDING`: Rebuilding.

func (ConfigurationRecorderOutput) ToConfigurationRecorderOutput

func (o ConfigurationRecorderOutput) ToConfigurationRecorderOutput() ConfigurationRecorderOutput

func (ConfigurationRecorderOutput) ToConfigurationRecorderOutputWithContext

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

type ConfigurationRecorderState

type ConfigurationRecorderState struct {
	EnterpriseEdition pulumi.BoolPtrInput
	// Enterprise version configuration audit enabled status. 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)
	// * If you use an ordinary account, the `resourceTypes` supports the update operation after the process of creation is completed.
	// * If you use an enterprise account, the `resourceTypes` does not support updating.
	ResourceTypes pulumi.StringArrayInput
	// Status of resource monitoring. Values: `REGISTRABLE`: Not registered, `BUILDING`: Under construction, `REGISTERED`: Registered and `REBUILDING`: Rebuilding.
	Status pulumi.StringPtrInput
}

func (ConfigurationRecorderState) ElementType

func (ConfigurationRecorderState) ElementType() reflect.Type

type Delivery

type Delivery struct {
	pulumi.CustomResourceState

	// Open or close delivery configuration change history. true: open, false: close.
	ConfigurationItemChangeNotification pulumi.BoolOutput `pulumi:"configurationItemChangeNotification"`
	// Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
	ConfigurationSnapshot pulumi.BoolOutput `pulumi:"configurationSnapshot"`
	// The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
	DeliveryChannelCondition pulumi.StringPtrOutput `pulumi:"deliveryChannelCondition"`
	// The name of the delivery method.
	DeliveryChannelName pulumi.StringPtrOutput `pulumi:"deliveryChannelName"`
	// The ARN of the delivery destination. 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. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
	DeliveryChannelType pulumi.StringOutput `pulumi:"deliveryChannelType"`
	// The description of the delivery method.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
	NonCompliantNotification pulumi.BoolOutput `pulumi:"nonCompliantNotification"`
	// The oss ARN of the delivery channel when the value data oversized limit.
	// * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket.
	// * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
	OversizedDataOssTargetArn pulumi.StringPtrOutput `pulumi:"oversizedDataOssTargetArn"`
	// 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"`
}

Provides a Cloud Config Delivery resource.

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

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

## Import

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

```sh

$ pulumi import alicloud:cfg/delivery:Delivery example <id>

```

func GetDelivery

func GetDelivery(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeliveryState, opts ...pulumi.ResourceOption) (*Delivery, error)

GetDelivery gets an existing Delivery 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 NewDelivery

func NewDelivery(ctx *pulumi.Context,
	name string, args *DeliveryArgs, opts ...pulumi.ResourceOption) (*Delivery, error)

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

func (*Delivery) ElementType

func (*Delivery) ElementType() reflect.Type

func (*Delivery) ToDeliveryOutput

func (i *Delivery) ToDeliveryOutput() DeliveryOutput

func (*Delivery) ToDeliveryOutputWithContext

func (i *Delivery) ToDeliveryOutputWithContext(ctx context.Context) DeliveryOutput

type DeliveryArgs

type DeliveryArgs struct {
	// Open or close delivery configuration change history. true: open, false: close.
	ConfigurationItemChangeNotification pulumi.BoolPtrInput
	// Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
	ConfigurationSnapshot pulumi.BoolPtrInput
	// The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
	DeliveryChannelCondition pulumi.StringPtrInput
	// The name of the delivery method.
	DeliveryChannelName pulumi.StringPtrInput
	// The ARN of the delivery destination. 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. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
	DeliveryChannelType pulumi.StringInput
	// The description of the delivery method.
	Description pulumi.StringPtrInput
	// Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
	NonCompliantNotification pulumi.BoolPtrInput
	// The oss ARN of the delivery channel when the value data oversized limit.
	// * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket.
	// * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
	OversizedDataOssTargetArn 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 Delivery resource.

func (DeliveryArgs) ElementType

func (DeliveryArgs) ElementType() reflect.Type

type DeliveryArray

type DeliveryArray []DeliveryInput

func (DeliveryArray) ElementType

func (DeliveryArray) ElementType() reflect.Type

func (DeliveryArray) ToDeliveryArrayOutput

func (i DeliveryArray) ToDeliveryArrayOutput() DeliveryArrayOutput

func (DeliveryArray) ToDeliveryArrayOutputWithContext

func (i DeliveryArray) ToDeliveryArrayOutputWithContext(ctx context.Context) DeliveryArrayOutput

type DeliveryArrayInput

type DeliveryArrayInput interface {
	pulumi.Input

	ToDeliveryArrayOutput() DeliveryArrayOutput
	ToDeliveryArrayOutputWithContext(context.Context) DeliveryArrayOutput
}

DeliveryArrayInput is an input type that accepts DeliveryArray and DeliveryArrayOutput values. You can construct a concrete instance of `DeliveryArrayInput` via:

DeliveryArray{ DeliveryArgs{...} }

type DeliveryArrayOutput

type DeliveryArrayOutput struct{ *pulumi.OutputState }

func (DeliveryArrayOutput) ElementType

func (DeliveryArrayOutput) ElementType() reflect.Type

func (DeliveryArrayOutput) Index

func (DeliveryArrayOutput) ToDeliveryArrayOutput

func (o DeliveryArrayOutput) ToDeliveryArrayOutput() DeliveryArrayOutput

func (DeliveryArrayOutput) ToDeliveryArrayOutputWithContext

func (o DeliveryArrayOutput) ToDeliveryArrayOutputWithContext(ctx context.Context) DeliveryArrayOutput

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

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) DeliveryChannelAssumeRoleArn

func (o DeliveryChannelOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput

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

func (DeliveryChannelOutput) DeliveryChannelCondition

func (o DeliveryChannelOutput) DeliveryChannelCondition() pulumi.StringOutput

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.

func (DeliveryChannelOutput) DeliveryChannelName

func (o DeliveryChannelOutput) DeliveryChannelName() pulumi.StringOutput

The name of the delivery channel.

func (DeliveryChannelOutput) DeliveryChannelTargetArn

func (o DeliveryChannelOutput) DeliveryChannelTargetArn() pulumi.StringOutput

- 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.

func (DeliveryChannelOutput) DeliveryChannelType

func (o DeliveryChannelOutput) DeliveryChannelType() pulumi.StringOutput

- 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.

func (DeliveryChannelOutput) Description

func (o DeliveryChannelOutput) Description() pulumi.StringOutput

The description of the delivery method.

func (DeliveryChannelOutput) ElementType

func (DeliveryChannelOutput) ElementType() reflect.Type

func (DeliveryChannelOutput) Status

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.

func (DeliveryChannelOutput) ToDeliveryChannelOutput

func (o DeliveryChannelOutput) ToDeliveryChannelOutput() DeliveryChannelOutput

func (DeliveryChannelOutput) ToDeliveryChannelOutputWithContext

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

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 DeliveryInput

type DeliveryInput interface {
	pulumi.Input

	ToDeliveryOutput() DeliveryOutput
	ToDeliveryOutputWithContext(ctx context.Context) DeliveryOutput
}

type DeliveryMap

type DeliveryMap map[string]DeliveryInput

func (DeliveryMap) ElementType

func (DeliveryMap) ElementType() reflect.Type

func (DeliveryMap) ToDeliveryMapOutput

func (i DeliveryMap) ToDeliveryMapOutput() DeliveryMapOutput

func (DeliveryMap) ToDeliveryMapOutputWithContext

func (i DeliveryMap) ToDeliveryMapOutputWithContext(ctx context.Context) DeliveryMapOutput

type DeliveryMapInput

type DeliveryMapInput interface {
	pulumi.Input

	ToDeliveryMapOutput() DeliveryMapOutput
	ToDeliveryMapOutputWithContext(context.Context) DeliveryMapOutput
}

DeliveryMapInput is an input type that accepts DeliveryMap and DeliveryMapOutput values. You can construct a concrete instance of `DeliveryMapInput` via:

DeliveryMap{ "key": DeliveryArgs{...} }

type DeliveryMapOutput

type DeliveryMapOutput struct{ *pulumi.OutputState }

func (DeliveryMapOutput) ElementType

func (DeliveryMapOutput) ElementType() reflect.Type

func (DeliveryMapOutput) MapIndex

func (DeliveryMapOutput) ToDeliveryMapOutput

func (o DeliveryMapOutput) ToDeliveryMapOutput() DeliveryMapOutput

func (DeliveryMapOutput) ToDeliveryMapOutputWithContext

func (o DeliveryMapOutput) ToDeliveryMapOutputWithContext(ctx context.Context) DeliveryMapOutput

type DeliveryOutput

type DeliveryOutput struct{ *pulumi.OutputState }

func (DeliveryOutput) ConfigurationItemChangeNotification

func (o DeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput

Open or close delivery configuration change history. true: open, false: close.

func (DeliveryOutput) ConfigurationSnapshot

func (o DeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput

Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.

func (DeliveryOutput) DeliveryChannelCondition

func (o DeliveryOutput) DeliveryChannelCondition() pulumi.StringPtrOutput

The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.

func (DeliveryOutput) DeliveryChannelName

func (o DeliveryOutput) DeliveryChannelName() pulumi.StringPtrOutput

The name of the delivery method.

func (DeliveryOutput) DeliveryChannelTargetArn

func (o DeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput

The ARN of the delivery destination. 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.

func (DeliveryOutput) DeliveryChannelType

func (o DeliveryOutput) DeliveryChannelType() pulumi.StringOutput

The type of the delivery method. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.

func (DeliveryOutput) Description

func (o DeliveryOutput) Description() pulumi.StringPtrOutput

The description of the delivery method.

func (DeliveryOutput) ElementType

func (DeliveryOutput) ElementType() reflect.Type

func (DeliveryOutput) NonCompliantNotification

func (o DeliveryOutput) NonCompliantNotification() pulumi.BoolOutput

Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.

func (DeliveryOutput) OversizedDataOssTargetArn

func (o DeliveryOutput) OversizedDataOssTargetArn() pulumi.StringPtrOutput

The oss ARN of the delivery channel when the value data oversized limit. * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket. * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.

func (DeliveryOutput) Status

func (o DeliveryOutput) Status() pulumi.IntOutput

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.

func (DeliveryOutput) ToDeliveryOutput

func (o DeliveryOutput) ToDeliveryOutput() DeliveryOutput

func (DeliveryOutput) ToDeliveryOutputWithContext

func (o DeliveryOutput) ToDeliveryOutputWithContext(ctx context.Context) DeliveryOutput

type DeliveryState

type DeliveryState struct {
	// Open or close delivery configuration change history. true: open, false: close.
	ConfigurationItemChangeNotification pulumi.BoolPtrInput
	// Open or close timed snapshot of shipping resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `OSS`.
	ConfigurationSnapshot pulumi.BoolPtrInput
	// The rule attached to the delivery method. Please refer to api [CreateConfigDeliveryChannel](https://help.aliyun.com/document_detail/429798.html) for example format. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `MNS`.
	DeliveryChannelCondition pulumi.StringPtrInput
	// The name of the delivery method.
	DeliveryChannelName pulumi.StringPtrInput
	// The ARN of the delivery destination. 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. Valid values: `OSS`: Object Storage, `MNS`: Message Service, `SLS`: Log Service.
	DeliveryChannelType pulumi.StringPtrInput
	// The description of the delivery method.
	Description pulumi.StringPtrInput
	// Open or close non-compliance events of delivery resources. **NOTE:** The attribute is valid when the attribute `deliveryChannelType` is `SLS` or `MNS`.
	NonCompliantNotification pulumi.BoolPtrInput
	// The oss ARN of the delivery channel when the value data oversized limit.
	// * The value must be in one of the following formats: `acs:oss:{RegionId}:{accountId}:{bucketName}`, if your delivery destination is an Object Storage Service (OSS) bucket.
	// * Only delivery channels `SLS` and `MNS` are supported. The delivery channel limit for Log Service SLS is 1 MB, and the delivery channel limit for Message Service MNS is 64 KB.
	OversizedDataOssTargetArn 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 (DeliveryState) ElementType

func (DeliveryState) ElementType() reflect.Type

type GetAggregateCompliancePacksArgs

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. Valid values `ACTIVE`, `CREATING`, `INACTIVE`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAggregateCompliancePacks.

type GetAggregateCompliancePacksOutputArgs

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. Valid values `ACTIVE`, `CREATING`, `INACTIVE`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAggregateCompliancePacks.

func (GetAggregateCompliancePacksOutputArgs) ElementType

type GetAggregateCompliancePacksPack

type GetAggregateCompliancePacksPack struct {
	// The Aliyun User Id.
	AccountId                   string `pulumi:"accountId"`
	AggregateCompliancePackName string `pulumi:"aggregateCompliancePackName"`
	// The Aggregate Compliance Package Id.
	// * `aggregateCompliancePackName` -The Aggregate Compliance Package Name.
	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. Valid values `ACTIVE`, `CREATING`, `INACTIVE`.
	Status string `pulumi:"status"`
}

type GetAggregateCompliancePacksPackArgs

type GetAggregateCompliancePacksPackArgs struct {
	// The Aliyun User Id.
	AccountId                   pulumi.StringInput `pulumi:"accountId"`
	AggregateCompliancePackName pulumi.StringInput `pulumi:"aggregateCompliancePackName"`
	// The Aggregate Compliance Package Id.
	// * `aggregateCompliancePackName` -The Aggregate Compliance Package Name.
	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. Valid values `ACTIVE`, `CREATING`, `INACTIVE`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetAggregateCompliancePacksPackArgs) ElementType

func (GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutput

func (i GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput

func (GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutputWithContext

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

type GetAggregateCompliancePacksPackArray

type GetAggregateCompliancePacksPackArray []GetAggregateCompliancePacksPackInput

func (GetAggregateCompliancePacksPackArray) ElementType

func (GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutput

func (i GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput

func (GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutputWithContext

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

type GetAggregateCompliancePacksPackArrayInput

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

type GetAggregateCompliancePacksPackArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackArrayOutput) ElementType

func (GetAggregateCompliancePacksPackArrayOutput) Index

func (GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutput

func (o GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput

func (GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutputWithContext

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

type GetAggregateCompliancePacksPackConfigRule

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

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

func (GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutput

func (i GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput

func (GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext

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

type GetAggregateCompliancePacksPackConfigRuleArray

type GetAggregateCompliancePacksPackConfigRuleArray []GetAggregateCompliancePacksPackConfigRuleInput

func (GetAggregateCompliancePacksPackConfigRuleArray) ElementType

func (GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput

func (i GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput() GetAggregateCompliancePacksPackConfigRuleArrayOutput

func (GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext

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

type GetAggregateCompliancePacksPackConfigRuleArrayInput

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

type GetAggregateCompliancePacksPackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ElementType

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) Index

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameter

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs

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

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray []GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName

The Parameter Name.

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue

The Parameter Value.

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required

Required.

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext

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

type GetAggregateCompliancePacksPackConfigRuleInput

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

type GetAggregateCompliancePacksPackConfigRuleOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleId

The ID of the rule.

func (GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleParameters

A list of parameter rules.

func (GetAggregateCompliancePacksPackConfigRuleOutput) ElementType

func (GetAggregateCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier

Managed Rule Identifier.

func (GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutput

func (o GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput

func (GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext

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

type GetAggregateCompliancePacksPackInput

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

type GetAggregateCompliancePacksPackOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackOutput) AccountId

The Aliyun User Id.

func (GetAggregateCompliancePacksPackOutput) AggregateCompliancePackName

func (o GetAggregateCompliancePacksPackOutput) AggregateCompliancePackName() pulumi.StringOutput

func (GetAggregateCompliancePacksPackOutput) AggregatorCompliancePackId

func (o GetAggregateCompliancePacksPackOutput) AggregatorCompliancePackId() pulumi.StringOutput

The Aggregate Compliance Package Id. * `aggregateCompliancePackName` -The Aggregate Compliance Package Name.

func (GetAggregateCompliancePacksPackOutput) CompliancePackTemplateId

func (o GetAggregateCompliancePacksPackOutput) CompliancePackTemplateId() pulumi.StringOutput

The template ID of the Compliance Package.

func (GetAggregateCompliancePacksPackOutput) ConfigRules

A list of The Aggregate Compliance Package Rules.

func (GetAggregateCompliancePacksPackOutput) Description

The description of aggregate compliance pack.

func (GetAggregateCompliancePacksPackOutput) ElementType

func (GetAggregateCompliancePacksPackOutput) Id

The ID of the Aggregate Compliance Pack.

func (GetAggregateCompliancePacksPackOutput) RiskLevel

The Risk Level.

func (GetAggregateCompliancePacksPackOutput) Status

The status of the resource. Valid values `ACTIVE`, `CREATING`, `INACTIVE`.

func (GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutput

func (o GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput

func (GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutputWithContext

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

type GetAggregateCompliancePacksResult

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"`
	// A list of Config Aggregate Compliance Pack names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of Config Aggregate Compliance Packs. Each element contains the following attributes:
	Packs []GetAggregateCompliancePacksPack `pulumi:"packs"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of values returned by getAggregateCompliancePacks.

func GetAggregateCompliancePacks

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/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cfg.GetAggregateCompliancePacks(ctx, &cfg.GetAggregateCompliancePacksArgs{
			AggregatorId: "ca-3a9b626622af001d****",
			Ids: []string{
				"cp-152a626622af00bc****",
			},
			NameRegex: pulumi.StringRef("the_resource_name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigAggregateCompliancePackId", example.Packs[0].Id)
		return nil
	})
}

```

type GetAggregateCompliancePacksResultOutput

type GetAggregateCompliancePacksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregateCompliancePacks.

func (GetAggregateCompliancePacksResultOutput) AggregatorId

func (GetAggregateCompliancePacksResultOutput) ElementType

func (GetAggregateCompliancePacksResultOutput) EnableDetails

func (GetAggregateCompliancePacksResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAggregateCompliancePacksResultOutput) Ids

func (GetAggregateCompliancePacksResultOutput) NameRegex

func (GetAggregateCompliancePacksResultOutput) Names

A list of Config Aggregate Compliance Pack names.

func (GetAggregateCompliancePacksResultOutput) OutputFile

func (GetAggregateCompliancePacksResultOutput) Packs

A list of Config Aggregate Compliance Packs. Each element contains the following attributes:

func (GetAggregateCompliancePacksResultOutput) Status

The status of the resource.

func (GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutput

func (o GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutput() GetAggregateCompliancePacksResultOutput

func (GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutputWithContext

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

type GetAggregateConfigRulesArgs

type GetAggregateConfigRulesArgs struct {
	// The config rule name.
	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"`
	// Optional, ForceNew) The Risk Level. Valid values `1`: critical, `2`: warning, `3`: info.
	RiskLevel *int `pulumi:"riskLevel"`
	// The state of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAggregateConfigRules.

type GetAggregateConfigRulesOutputArgs

type GetAggregateConfigRulesOutputArgs struct {
	// The config rule name.
	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"`
	// Optional, ForceNew) The Risk Level. Valid values `1`: critical, `2`: warning, `3`: info.
	RiskLevel pulumi.IntPtrInput `pulumi:"riskLevel"`
	// The state of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAggregateConfigRules.

func (GetAggregateConfigRulesOutputArgs) ElementType

type GetAggregateConfigRulesResult

type GetAggregateConfigRulesResult struct {
	// The name of the rule.
	AggregateConfigRuleName *string `pulumi:"aggregateConfigRuleName"`
	// The ID of Aggregator.
	// * `compliance` -The Compliance information.
	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"`
	// A list of Aggregate Config Rule names.
	Names      []string `pulumi:"names"`
	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"`
	// A list of Config Aggregate Config Rules. Each element contains the following attributes:
	Rules []GetAggregateConfigRulesRule `pulumi:"rules"`
	// The status of the rule.
	Status *string `pulumi:"status"`
}

A collection of values returned by getAggregateConfigRules.

func GetAggregateConfigRules

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/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cfg.GetAggregateConfigRules(ctx, &cfg.GetAggregateConfigRulesArgs{
			AggregatorId: "ca-3a9b626622af001d****",
			Ids: []string{
				"cr-5154626622af0034****",
			},
			NameRegex: pulumi.StringRef("the_resource_name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigAggregateConfigRuleId", example.Rules[0].Id)
		return nil
	})
}

```

type GetAggregateConfigRulesResultOutput

type GetAggregateConfigRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregateConfigRules.

func (GetAggregateConfigRulesResultOutput) AggregateConfigRuleName

func (o GetAggregateConfigRulesResultOutput) AggregateConfigRuleName() pulumi.StringPtrOutput

The name of the rule.

func (GetAggregateConfigRulesResultOutput) AggregatorId

The ID of Aggregator. * `compliance` -The Compliance information.

func (GetAggregateConfigRulesResultOutput) ElementType

func (GetAggregateConfigRulesResultOutput) EnableDetails

func (GetAggregateConfigRulesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAggregateConfigRulesResultOutput) Ids

func (GetAggregateConfigRulesResultOutput) NameRegex

func (GetAggregateConfigRulesResultOutput) Names

A list of Aggregate Config Rule names.

func (GetAggregateConfigRulesResultOutput) OutputFile

func (GetAggregateConfigRulesResultOutput) RiskLevel

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

func (GetAggregateConfigRulesResultOutput) Rules

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

func (GetAggregateConfigRulesResultOutput) Status

The status of the rule.

func (GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutput

func (o GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutput() GetAggregateConfigRulesResultOutput

func (GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutputWithContext

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

type GetAggregateConfigRulesRule

type GetAggregateConfigRulesRule struct {
	// The Aliyun User ID.
	AccountId string `pulumi:"accountId"`
	// The config rule name.
	AggregateConfigRuleName string `pulumi:"aggregateConfigRuleName"`
	// The ID of aggregator.
	AggregatorId string `pulumi:"aggregatorId"`
	// The ID of Compliance Package.
	CompliancePackId string                                  `pulumi:"compliancePackId"`
	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 id of the resources to be evaluated against the rule.
	// * `sourceIdentifier`- The identifier of the managed rule or the arn of the custom function.
	// * `sourceOwner`- The source owner of the Config 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 scope of resource region ids.
	RegionIdsScope string `pulumi:"regionIdsScope"`
	// The scope of resource group ids.
	ResourceGroupIdsScope string   `pulumi:"resourceGroupIdsScope"`
	ResourceTypesScopes   []string `pulumi:"resourceTypesScopes"`
	// Optional, ForceNew) The Risk Level. Valid values `1`: critical, `2`: warning, `3`: info.
	RiskLevel        int    `pulumi:"riskLevel"`
	SourceIdentifier string `pulumi:"sourceIdentifier"`
	SourceOwner      string `pulumi:"sourceOwner"`
	// The state of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
	Status string `pulumi:"status"`
	// The scope of tay key.
	TagKeyScope string `pulumi:"tagKeyScope"`
	// The scope of tay value.
	TagValueScope string `pulumi:"tagValueScope"`
}

type GetAggregateConfigRulesRuleArgs

type GetAggregateConfigRulesRuleArgs struct {
	// The Aliyun User ID.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The config rule name.
	AggregateConfigRuleName pulumi.StringInput `pulumi:"aggregateConfigRuleName"`
	// The ID of aggregator.
	AggregatorId pulumi.StringInput `pulumi:"aggregatorId"`
	// The ID of Compliance Package.
	CompliancePackId pulumi.StringInput                              `pulumi:"compliancePackId"`
	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 id of the resources to be evaluated against the rule.
	// * `sourceIdentifier`- The identifier of the managed rule or the arn of the custom function.
	// * `sourceOwner`- The source owner of the Config 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 scope of resource region ids.
	RegionIdsScope pulumi.StringInput `pulumi:"regionIdsScope"`
	// The scope of resource group ids.
	ResourceGroupIdsScope pulumi.StringInput      `pulumi:"resourceGroupIdsScope"`
	ResourceTypesScopes   pulumi.StringArrayInput `pulumi:"resourceTypesScopes"`
	// Optional, ForceNew) The Risk Level. Valid values `1`: critical, `2`: warning, `3`: info.
	RiskLevel        pulumi.IntInput    `pulumi:"riskLevel"`
	SourceIdentifier pulumi.StringInput `pulumi:"sourceIdentifier"`
	SourceOwner      pulumi.StringInput `pulumi:"sourceOwner"`
	// The state of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
	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

func (GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutput

func (i GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput

func (GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutputWithContext

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

type GetAggregateConfigRulesRuleArray

type GetAggregateConfigRulesRuleArray []GetAggregateConfigRulesRuleInput

func (GetAggregateConfigRulesRuleArray) ElementType

func (GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutput

func (i GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput

func (GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutputWithContext

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

type GetAggregateConfigRulesRuleArrayInput

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

type GetAggregateConfigRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleArrayOutput) ElementType

func (GetAggregateConfigRulesRuleArrayOutput) Index

func (GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutput

func (o GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput

func (GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutputWithContext

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

type GetAggregateConfigRulesRuleCompliance

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

type GetAggregateConfigRulesRuleComplianceArgs

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

func (GetAggregateConfigRulesRuleComplianceArgs) ElementType

func (GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutput

func (i GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput

func (GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutputWithContext

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

type GetAggregateConfigRulesRuleComplianceArray

type GetAggregateConfigRulesRuleComplianceArray []GetAggregateConfigRulesRuleComplianceInput

func (GetAggregateConfigRulesRuleComplianceArray) ElementType

func (GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutput

func (i GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput

func (GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext

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

type GetAggregateConfigRulesRuleComplianceArrayInput

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

type GetAggregateConfigRulesRuleComplianceArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleComplianceArrayOutput) ElementType

func (GetAggregateConfigRulesRuleComplianceArrayOutput) Index

func (GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutput

func (o GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput

func (GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext

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

type GetAggregateConfigRulesRuleComplianceInput

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

type GetAggregateConfigRulesRuleComplianceOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleComplianceOutput) ComplianceType

The Compliance Type.

func (GetAggregateConfigRulesRuleComplianceOutput) Count

The Count.

func (GetAggregateConfigRulesRuleComplianceOutput) ElementType

func (GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutput

func (o GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput

func (GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutputWithContext

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

type GetAggregateConfigRulesRuleInput

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

type GetAggregateConfigRulesRuleOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleOutput) AccountId

The Aliyun User ID.

func (GetAggregateConfigRulesRuleOutput) AggregateConfigRuleName

func (o GetAggregateConfigRulesRuleOutput) AggregateConfigRuleName() pulumi.StringOutput

The config rule name.

func (GetAggregateConfigRulesRuleOutput) AggregatorId

The ID of aggregator.

func (GetAggregateConfigRulesRuleOutput) CompliancePackId

The ID of Compliance Package.

func (GetAggregateConfigRulesRuleOutput) Compliances

func (GetAggregateConfigRulesRuleOutput) ConfigRuleArn

The config rule arn.

func (GetAggregateConfigRulesRuleOutput) ConfigRuleId

The ID of the rule.

func (GetAggregateConfigRulesRuleOutput) ConfigRuleTriggerTypes

func (o GetAggregateConfigRulesRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput

The trigger types of config rules.

func (GetAggregateConfigRulesRuleOutput) Description

The description of the rule.

func (GetAggregateConfigRulesRuleOutput) ElementType

func (GetAggregateConfigRulesRuleOutput) EventSource

Event source of the Config Rule.

func (GetAggregateConfigRulesRuleOutput) ExcludeResourceIdsScope

func (o GetAggregateConfigRulesRuleOutput) ExcludeResourceIdsScope() pulumi.StringOutput

The id of the resources to be evaluated against the rule. * `sourceIdentifier`- The identifier of the managed rule or the arn of the custom function. * `sourceOwner`- The source owner of the Config Rule.

func (GetAggregateConfigRulesRuleOutput) Id

The ID of the Aggregate Config Rule.

func (GetAggregateConfigRulesRuleOutput) InputParameters

The settings of the input parameters for the rule.

func (GetAggregateConfigRulesRuleOutput) MaximumExecutionFrequency

func (o GetAggregateConfigRulesRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput

The frequency of the compliance evaluations.

func (GetAggregateConfigRulesRuleOutput) ModifiedTimestamp

The timestamp when the rule was last modified.

func (GetAggregateConfigRulesRuleOutput) RegionIdsScope

The scope of resource region ids.

func (GetAggregateConfigRulesRuleOutput) ResourceGroupIdsScope

func (o GetAggregateConfigRulesRuleOutput) ResourceGroupIdsScope() pulumi.StringOutput

The scope of resource group ids.

func (GetAggregateConfigRulesRuleOutput) ResourceTypesScopes

func (GetAggregateConfigRulesRuleOutput) RiskLevel

Optional, ForceNew) The Risk Level. Valid values `1`: critical, `2`: warning, `3`: info.

func (GetAggregateConfigRulesRuleOutput) SourceIdentifier

func (GetAggregateConfigRulesRuleOutput) SourceOwner

func (GetAggregateConfigRulesRuleOutput) Status

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

func (GetAggregateConfigRulesRuleOutput) TagKeyScope

The scope of tay key.

func (GetAggregateConfigRulesRuleOutput) TagValueScope

The scope of tay value.

func (GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutput

func (o GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput

func (GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutputWithContext

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

type GetAggregateDeliveriesArgs

type GetAggregateDeliveriesArgs struct {
	// The ID of the Aggregator.
	AggregatorId string `pulumi:"aggregatorId"`
	// A list of Aggregate Delivery IDs.
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
	Status *int `pulumi:"status"`
}

A collection of arguments for invoking getAggregateDeliveries.

type GetAggregateDeliveriesDelivery

type GetAggregateDeliveriesDelivery struct {
	// The Aliyun User Id.
	AccountId string `pulumi:"accountId"`
	// The ID of the Aggregator.
	AggregatorId string `pulumi:"aggregatorId"`
	// Open or close delivery configuration change history.
	ConfigurationItemChangeNotification bool `pulumi:"configurationItemChangeNotification"`
	// Open or close timed snapshot of shipping resources.
	ConfigurationSnapshot bool `pulumi:"configurationSnapshot"`
	// The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
	DeliveryChannelAssumeRoleArn string `pulumi:"deliveryChannelAssumeRoleArn"`
	// The rule attached to the delivery method.
	DeliveryChannelCondition string `pulumi:"deliveryChannelCondition"`
	// The ID of the delivery method.
	DeliveryChannelId string `pulumi:"deliveryChannelId"`
	// The name of the delivery method.
	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 Aggregate Delivery.
	Id string `pulumi:"id"`
	// Open or close non-compliance events of delivery resources.
	NonCompliantNotification bool `pulumi:"nonCompliantNotification"`
	// The oss ARN of the delivery channel when the value data oversized limit.
	OversizedDataOssTargetArn string `pulumi:"oversizedDataOssTargetArn"`
	// The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
	Status int `pulumi:"status"`
}

type GetAggregateDeliveriesDeliveryArgs

type GetAggregateDeliveriesDeliveryArgs struct {
	// The Aliyun User Id.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The ID of the Aggregator.
	AggregatorId pulumi.StringInput `pulumi:"aggregatorId"`
	// Open or close delivery configuration change history.
	ConfigurationItemChangeNotification pulumi.BoolInput `pulumi:"configurationItemChangeNotification"`
	// Open or close timed snapshot of shipping resources.
	ConfigurationSnapshot pulumi.BoolInput `pulumi:"configurationSnapshot"`
	// The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
	DeliveryChannelAssumeRoleArn pulumi.StringInput `pulumi:"deliveryChannelAssumeRoleArn"`
	// The rule attached to the delivery method.
	DeliveryChannelCondition pulumi.StringInput `pulumi:"deliveryChannelCondition"`
	// The ID of the delivery method.
	DeliveryChannelId pulumi.StringInput `pulumi:"deliveryChannelId"`
	// The name of the delivery method.
	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 Aggregate Delivery.
	Id pulumi.StringInput `pulumi:"id"`
	// Open or close non-compliance events of delivery resources.
	NonCompliantNotification pulumi.BoolInput `pulumi:"nonCompliantNotification"`
	// The oss ARN of the delivery channel when the value data oversized limit.
	OversizedDataOssTargetArn pulumi.StringInput `pulumi:"oversizedDataOssTargetArn"`
	// The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
	Status pulumi.IntInput `pulumi:"status"`
}

func (GetAggregateDeliveriesDeliveryArgs) ElementType

func (GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutput

func (i GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutput() GetAggregateDeliveriesDeliveryOutput

func (GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutputWithContext

func (i GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryOutput

type GetAggregateDeliveriesDeliveryArray

type GetAggregateDeliveriesDeliveryArray []GetAggregateDeliveriesDeliveryInput

func (GetAggregateDeliveriesDeliveryArray) ElementType

func (GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutput

func (i GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutput() GetAggregateDeliveriesDeliveryArrayOutput

func (GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext

func (i GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryArrayOutput

type GetAggregateDeliveriesDeliveryArrayInput

type GetAggregateDeliveriesDeliveryArrayInput interface {
	pulumi.Input

	ToGetAggregateDeliveriesDeliveryArrayOutput() GetAggregateDeliveriesDeliveryArrayOutput
	ToGetAggregateDeliveriesDeliveryArrayOutputWithContext(context.Context) GetAggregateDeliveriesDeliveryArrayOutput
}

GetAggregateDeliveriesDeliveryArrayInput is an input type that accepts GetAggregateDeliveriesDeliveryArray and GetAggregateDeliveriesDeliveryArrayOutput values. You can construct a concrete instance of `GetAggregateDeliveriesDeliveryArrayInput` via:

GetAggregateDeliveriesDeliveryArray{ GetAggregateDeliveriesDeliveryArgs{...} }

type GetAggregateDeliveriesDeliveryArrayOutput

type GetAggregateDeliveriesDeliveryArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateDeliveriesDeliveryArrayOutput) ElementType

func (GetAggregateDeliveriesDeliveryArrayOutput) Index

func (GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutput

func (o GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutput() GetAggregateDeliveriesDeliveryArrayOutput

func (GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext

func (o GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryArrayOutput

type GetAggregateDeliveriesDeliveryInput

type GetAggregateDeliveriesDeliveryInput interface {
	pulumi.Input

	ToGetAggregateDeliveriesDeliveryOutput() GetAggregateDeliveriesDeliveryOutput
	ToGetAggregateDeliveriesDeliveryOutputWithContext(context.Context) GetAggregateDeliveriesDeliveryOutput
}

GetAggregateDeliveriesDeliveryInput is an input type that accepts GetAggregateDeliveriesDeliveryArgs and GetAggregateDeliveriesDeliveryOutput values. You can construct a concrete instance of `GetAggregateDeliveriesDeliveryInput` via:

GetAggregateDeliveriesDeliveryArgs{...}

type GetAggregateDeliveriesDeliveryOutput

type GetAggregateDeliveriesDeliveryOutput struct{ *pulumi.OutputState }

func (GetAggregateDeliveriesDeliveryOutput) AccountId

The Aliyun User Id.

func (GetAggregateDeliveriesDeliveryOutput) AggregatorId

The ID of the Aggregator.

func (GetAggregateDeliveriesDeliveryOutput) ConfigurationItemChangeNotification

func (o GetAggregateDeliveriesDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput

Open or close delivery configuration change history.

func (GetAggregateDeliveriesDeliveryOutput) ConfigurationSnapshot

func (o GetAggregateDeliveriesDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput

Open or close timed snapshot of shipping resources.

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn

func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput

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

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelCondition

func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelCondition() pulumi.StringOutput

The rule attached to the delivery method.

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelId

The ID of the delivery method.

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelName

The name of the delivery method.

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelTargetArn

func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput

The ARN of the delivery destination.

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelType

The type of the delivery method.

func (GetAggregateDeliveriesDeliveryOutput) Description

The description of the delivery method.

func (GetAggregateDeliveriesDeliveryOutput) ElementType

func (GetAggregateDeliveriesDeliveryOutput) Id

The ID of the Aggregate Delivery.

func (GetAggregateDeliveriesDeliveryOutput) NonCompliantNotification

func (o GetAggregateDeliveriesDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput

Open or close non-compliance events of delivery resources.

func (GetAggregateDeliveriesDeliveryOutput) OversizedDataOssTargetArn

func (o GetAggregateDeliveriesDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringOutput

The oss ARN of the delivery channel when the value data oversized limit.

func (GetAggregateDeliveriesDeliveryOutput) Status

The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.

func (GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutput

func (o GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutput() GetAggregateDeliveriesDeliveryOutput

func (GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutputWithContext

func (o GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutputWithContext(ctx context.Context) GetAggregateDeliveriesDeliveryOutput

type GetAggregateDeliveriesOutputArgs

type GetAggregateDeliveriesOutputArgs struct {
	// The ID of the Aggregator.
	AggregatorId pulumi.StringInput `pulumi:"aggregatorId"`
	// A list of Aggregate Delivery IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	NameRegex  pulumi.StringPtrInput   `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
	Status pulumi.IntPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAggregateDeliveries.

func (GetAggregateDeliveriesOutputArgs) ElementType

type GetAggregateDeliveriesResult

type GetAggregateDeliveriesResult struct {
	AggregatorId string                           `pulumi:"aggregatorId"`
	Deliveries   []GetAggregateDeliveriesDelivery `pulumi:"deliveries"`
	// 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     *int     `pulumi:"status"`
}

A collection of values returned by getAggregateDeliveries.

func GetAggregateDeliveries

func GetAggregateDeliveries(ctx *pulumi.Context, args *GetAggregateDeliveriesArgs, opts ...pulumi.InvokeOption) (*GetAggregateDeliveriesResult, error)

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

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cfg.GetAggregateDeliveries(ctx, &cfg.GetAggregateDeliveriesArgs{
			AggregatorId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("configAggregateDeliveryId1", ids.Deliveries[0].Id)
		return nil
	})
}

```

type GetAggregateDeliveriesResultOutput

type GetAggregateDeliveriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregateDeliveries.

func (GetAggregateDeliveriesResultOutput) AggregatorId

func (GetAggregateDeliveriesResultOutput) Deliveries

func (GetAggregateDeliveriesResultOutput) ElementType

func (GetAggregateDeliveriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAggregateDeliveriesResultOutput) Ids

func (GetAggregateDeliveriesResultOutput) NameRegex

func (GetAggregateDeliveriesResultOutput) Names

func (GetAggregateDeliveriesResultOutput) OutputFile

func (GetAggregateDeliveriesResultOutput) Status

func (GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutput

func (o GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutput() GetAggregateDeliveriesResultOutput

func (GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutputWithContext

func (o GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutputWithContext(ctx context.Context) GetAggregateDeliveriesResultOutput

type GetAggregatorsAggregator

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. Valid Values:  `0`: creating `1`: normal `2`: deleting.
	Status string `pulumi:"status"`
}

type GetAggregatorsAggregatorAggregatorAccount

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

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

func (GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutput

func (i GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput

func (GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext

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

type GetAggregatorsAggregatorAggregatorAccountArray

type GetAggregatorsAggregatorAggregatorAccountArray []GetAggregatorsAggregatorAggregatorAccountInput

func (GetAggregatorsAggregatorAggregatorAccountArray) ElementType

func (GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput

func (i GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput() GetAggregatorsAggregatorAggregatorAccountArrayOutput

func (GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext

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

type GetAggregatorsAggregatorAggregatorAccountArrayInput

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

type GetAggregatorsAggregatorAggregatorAccountArrayOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ElementType

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) Index

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext

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

type GetAggregatorsAggregatorAggregatorAccountInput

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

type GetAggregatorsAggregatorAggregatorAccountOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountId

Aggregator account uid.

func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountName

Aggregator account name.

func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountType

Aggregator account source type.

func (GetAggregatorsAggregatorAggregatorAccountOutput) ElementType

func (GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutput

func (o GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput

func (GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext

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

type GetAggregatorsAggregatorArgs

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. Valid Values:  `0`: creating `1`: normal `2`: deleting.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetAggregatorsAggregatorArgs) ElementType

func (GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutput

func (i GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput

func (GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutputWithContext

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

type GetAggregatorsAggregatorArray

type GetAggregatorsAggregatorArray []GetAggregatorsAggregatorInput

func (GetAggregatorsAggregatorArray) ElementType

func (GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutput

func (i GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput

func (GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutputWithContext

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

type GetAggregatorsAggregatorArrayInput

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

type GetAggregatorsAggregatorArrayOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorArrayOutput) ElementType

func (GetAggregatorsAggregatorArrayOutput) Index

func (GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutput

func (o GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput

func (GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutputWithContext

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

type GetAggregatorsAggregatorInput

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

type GetAggregatorsAggregatorOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorOutput) AccountId

Aggregator account uid.

func (GetAggregatorsAggregatorOutput) AggregatorAccounts

Account information in aggregator.

func (GetAggregatorsAggregatorOutput) AggregatorId

The id of aggregator.

func (GetAggregatorsAggregatorOutput) AggregatorName

The name of aggregator.

func (GetAggregatorsAggregatorOutput) AggregatorType

The type of aggregator.

func (GetAggregatorsAggregatorOutput) Description

The description of aggregator.

func (GetAggregatorsAggregatorOutput) ElementType

func (GetAggregatorsAggregatorOutput) Id

The id of the aggregator.

func (GetAggregatorsAggregatorOutput) Status

The status of the resource. Valid Values: `0`: creating `1`: normal `2`: deleting.

func (GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutput

func (o GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput

func (GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutputWithContext

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

type GetAggregatorsArgs

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. Valid Values:  `0`: creating `1`: normal `2`: deleting.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAggregators.

type GetAggregatorsOutputArgs

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. Valid Values:  `0`: creating `1`: normal `2`: deleting.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAggregators.

func (GetAggregatorsOutputArgs) ElementType

func (GetAggregatorsOutputArgs) ElementType() reflect.Type

type GetAggregatorsResult

type GetAggregatorsResult struct {
	// A list of config aggregators. Each element contains the following attributes:
	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"`
	// A list of Aggregator names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of values returned by getAggregators.

func GetAggregators

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/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cfg.GetAggregators(ctx, &cfg.GetAggregatorsArgs{
			Ids: []string{
				"ca-3ce2626622af0005****",
			},
			NameRegex: pulumi.StringRef("the_resource_name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigAggregatorId", example.Aggregators[0].Id)
		return nil
	})
}

```

type GetAggregatorsResultOutput

type GetAggregatorsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregators.

func (GetAggregatorsResultOutput) Aggregators

A list of config aggregators. Each element contains the following attributes:

func (GetAggregatorsResultOutput) ElementType

func (GetAggregatorsResultOutput) ElementType() reflect.Type

func (GetAggregatorsResultOutput) EnableDetails

func (GetAggregatorsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAggregatorsResultOutput) Ids

func (GetAggregatorsResultOutput) NameRegex

func (GetAggregatorsResultOutput) Names

A list of Aggregator names.

func (GetAggregatorsResultOutput) OutputFile

func (GetAggregatorsResultOutput) Status

The status of the resource.

func (GetAggregatorsResultOutput) ToGetAggregatorsResultOutput

func (o GetAggregatorsResultOutput) ToGetAggregatorsResultOutput() GetAggregatorsResultOutput

func (GetAggregatorsResultOutput) ToGetAggregatorsResultOutputWithContext

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

type GetCompliancePacksArgs

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. Valid values `ACTIVE`, `CREATING`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getCompliancePacks.

type GetCompliancePacksOutputArgs

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. Valid values `ACTIVE`, `CREATING`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getCompliancePacks.

func (GetCompliancePacksOutputArgs) ElementType

type GetCompliancePacksPack

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. Valid values `ACTIVE`, `CREATING`.
	Status string `pulumi:"status"`
}

type GetCompliancePacksPackArgs

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. Valid values `ACTIVE`, `CREATING`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetCompliancePacksPackArgs) ElementType

func (GetCompliancePacksPackArgs) ElementType() reflect.Type

func (GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutput

func (i GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput

func (GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutputWithContext

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

type GetCompliancePacksPackArray

type GetCompliancePacksPackArray []GetCompliancePacksPackInput

func (GetCompliancePacksPackArray) ElementType

func (GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutput

func (i GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput

func (GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutputWithContext

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

type GetCompliancePacksPackArrayInput

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

type GetCompliancePacksPackArrayOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackArrayOutput) ElementType

func (GetCompliancePacksPackArrayOutput) Index

func (GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutput

func (o GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput

func (GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutputWithContext

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

type GetCompliancePacksPackConfigRule

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

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

func (GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutput

func (i GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput

func (GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutputWithContext

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

type GetCompliancePacksPackConfigRuleArray

type GetCompliancePacksPackConfigRuleArray []GetCompliancePacksPackConfigRuleInput

func (GetCompliancePacksPackConfigRuleArray) ElementType

func (GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutput

func (i GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput

func (GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext

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

type GetCompliancePacksPackConfigRuleArrayInput

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

type GetCompliancePacksPackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleArrayOutput) ElementType

func (GetCompliancePacksPackConfigRuleArrayOutput) Index

func (GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutput

func (o GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput

func (GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext

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

type GetCompliancePacksPackConfigRuleConfigRuleParameter

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

type GetCompliancePacksPackConfigRuleConfigRuleParameterArgs

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

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext

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

type GetCompliancePacksPackConfigRuleConfigRuleParameterArray

type GetCompliancePacksPackConfigRuleConfigRuleParameterArray []GetCompliancePacksPackConfigRuleConfigRuleParameterInput

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext

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

type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput

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

type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) Index

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext

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

type GetCompliancePacksPackConfigRuleConfigRuleParameterInput

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

type GetCompliancePacksPackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName

The Parameter Name.

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue

The Parameter Value.

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required

Required.

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext

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

type GetCompliancePacksPackConfigRuleInput

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

type GetCompliancePacksPackConfigRuleOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleOutput) ConfigRuleId

The ID of the rule.

func (GetCompliancePacksPackConfigRuleOutput) ConfigRuleParameters

A list of parameter rules.

func (GetCompliancePacksPackConfigRuleOutput) ElementType

func (GetCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier

Managed Rule Identifier.

func (GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutput

func (o GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput

func (GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutputWithContext

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

type GetCompliancePacksPackInput

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

type GetCompliancePacksPackOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackOutput) AccountId

The Aliyun User Id.

func (GetCompliancePacksPackOutput) CompliancePackId

func (o GetCompliancePacksPackOutput) CompliancePackId() pulumi.StringOutput

The Compliance Package ID.

func (GetCompliancePacksPackOutput) CompliancePackName

func (o GetCompliancePacksPackOutput) CompliancePackName() pulumi.StringOutput

The Compliance Package Name.

func (GetCompliancePacksPackOutput) CompliancePackTemplateId

func (o GetCompliancePacksPackOutput) CompliancePackTemplateId() pulumi.StringOutput

The template ID of the Compliance Package.

func (GetCompliancePacksPackOutput) ConfigRules

A list of The Compliance Package Rules.

func (GetCompliancePacksPackOutput) Description

The description of compliance pack.

func (GetCompliancePacksPackOutput) ElementType

func (GetCompliancePacksPackOutput) Id

The ID of the Compliance Pack.

func (GetCompliancePacksPackOutput) RiskLevel

The Ris Level.

func (GetCompliancePacksPackOutput) Status

The status of the resource. Valid values `ACTIVE`, `CREATING`.

func (GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutput

func (o GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput

func (GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutputWithContext

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

type GetCompliancePacksResult

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"`
	// A list of Compliance Pack names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of Config Compliance Packs. Each element contains the following attributes:
	Packs []GetCompliancePacksPack `pulumi:"packs"`
	// The status of the resource.
	Status *string `pulumi:"status"`
}

A collection of values returned by getCompliancePacks.

func GetCompliancePacks

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/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cfg.GetCompliancePacks(ctx, &cfg.GetCompliancePacksArgs{
			Ids: []string{
				"cp-152a626622af00bc****",
			},
			NameRegex: pulumi.StringRef("the_resource_name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigCompliancePackId", example.Packs[0].Id)
		return nil
	})
}

```

type GetCompliancePacksResultOutput

type GetCompliancePacksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCompliancePacks.

func (GetCompliancePacksResultOutput) ElementType

func (GetCompliancePacksResultOutput) EnableDetails

func (GetCompliancePacksResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCompliancePacksResultOutput) Ids

func (GetCompliancePacksResultOutput) NameRegex

func (GetCompliancePacksResultOutput) Names

A list of Compliance Pack names.

func (GetCompliancePacksResultOutput) OutputFile

func (GetCompliancePacksResultOutput) Packs

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

func (GetCompliancePacksResultOutput) Status

The status of the resource.

func (GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutput

func (o GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutput() GetCompliancePacksResultOutput

func (GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutputWithContext

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

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

A collection of arguments for invoking getConfigurationRecorders.

func (GetConfigurationRecordersOutputArgs) ElementType

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"`
	// Enterprise version configuration audit enabled status.
	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"`
	// Status of resource monitoring.
	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"`
	// Enterprise version configuration audit enabled status.
	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"`
	// Status of resource monitoring.
	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

Enterprise version configuration audit enabled status.

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

Status of resource monitoring.

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/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

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

type GetConfigurationRecordersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfigurationRecorders.

func (GetConfigurationRecordersResultOutput) ElementType

func (GetConfigurationRecordersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetConfigurationRecordersResultOutput) OutputFile

func (GetConfigurationRecordersResultOutput) Recorders

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

func (GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutput

func (o GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutput() GetConfigurationRecordersResultOutput

func (GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutputWithContext

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

type GetDeliveriesArgs

type GetDeliveriesArgs struct {
	// A list of Delivery 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 delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
	Status *int `pulumi:"status"`
}

A collection of arguments for invoking getDeliveries.

type GetDeliveriesDelivery

type GetDeliveriesDelivery struct {
	// The Aliyun User Id.
	AccountId string `pulumi:"accountId"`
	// Open or close delivery configuration change history.
	ConfigurationItemChangeNotification bool `pulumi:"configurationItemChangeNotification"`
	// Open or close timed snapshot of shipping resources.
	ConfigurationSnapshot bool `pulumi:"configurationSnapshot"`
	// The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
	DeliveryChannelAssumeRoleArn string `pulumi:"deliveryChannelAssumeRoleArn"`
	// The rule attached to the delivery method.
	DeliveryChannelCondition string `pulumi:"deliveryChannelCondition"`
	// The ID of the delivery method.
	DeliveryChannelId string `pulumi:"deliveryChannelId"`
	// The name of the delivery method.
	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 Delivery.
	Id string `pulumi:"id"`
	// Open or close non-compliance events of delivery resources.
	NonCompliantNotification bool `pulumi:"nonCompliantNotification"`
	// The oss ARN of the delivery channel when the value data oversized limit.
	OversizedDataOssTargetArn string `pulumi:"oversizedDataOssTargetArn"`
	// The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
	Status int `pulumi:"status"`
}

type GetDeliveriesDeliveryArgs

type GetDeliveriesDeliveryArgs struct {
	// The Aliyun User Id.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// Open or close delivery configuration change history.
	ConfigurationItemChangeNotification pulumi.BoolInput `pulumi:"configurationItemChangeNotification"`
	// Open or close timed snapshot of shipping resources.
	ConfigurationSnapshot pulumi.BoolInput `pulumi:"configurationSnapshot"`
	// The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
	DeliveryChannelAssumeRoleArn pulumi.StringInput `pulumi:"deliveryChannelAssumeRoleArn"`
	// The rule attached to the delivery method.
	DeliveryChannelCondition pulumi.StringInput `pulumi:"deliveryChannelCondition"`
	// The ID of the delivery method.
	DeliveryChannelId pulumi.StringInput `pulumi:"deliveryChannelId"`
	// The name of the delivery method.
	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 Delivery.
	Id pulumi.StringInput `pulumi:"id"`
	// Open or close non-compliance events of delivery resources.
	NonCompliantNotification pulumi.BoolInput `pulumi:"nonCompliantNotification"`
	// The oss ARN of the delivery channel when the value data oversized limit.
	OversizedDataOssTargetArn pulumi.StringInput `pulumi:"oversizedDataOssTargetArn"`
	// The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
	Status pulumi.IntInput `pulumi:"status"`
}

func (GetDeliveriesDeliveryArgs) ElementType

func (GetDeliveriesDeliveryArgs) ElementType() reflect.Type

func (GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutput

func (i GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutput() GetDeliveriesDeliveryOutput

func (GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutputWithContext

func (i GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutputWithContext(ctx context.Context) GetDeliveriesDeliveryOutput

type GetDeliveriesDeliveryArray

type GetDeliveriesDeliveryArray []GetDeliveriesDeliveryInput

func (GetDeliveriesDeliveryArray) ElementType

func (GetDeliveriesDeliveryArray) ElementType() reflect.Type

func (GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutput

func (i GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutput() GetDeliveriesDeliveryArrayOutput

func (GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutputWithContext

func (i GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetDeliveriesDeliveryArrayOutput

type GetDeliveriesDeliveryArrayInput

type GetDeliveriesDeliveryArrayInput interface {
	pulumi.Input

	ToGetDeliveriesDeliveryArrayOutput() GetDeliveriesDeliveryArrayOutput
	ToGetDeliveriesDeliveryArrayOutputWithContext(context.Context) GetDeliveriesDeliveryArrayOutput
}

GetDeliveriesDeliveryArrayInput is an input type that accepts GetDeliveriesDeliveryArray and GetDeliveriesDeliveryArrayOutput values. You can construct a concrete instance of `GetDeliveriesDeliveryArrayInput` via:

GetDeliveriesDeliveryArray{ GetDeliveriesDeliveryArgs{...} }

type GetDeliveriesDeliveryArrayOutput

type GetDeliveriesDeliveryArrayOutput struct{ *pulumi.OutputState }

func (GetDeliveriesDeliveryArrayOutput) ElementType

func (GetDeliveriesDeliveryArrayOutput) Index

func (GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutput

func (o GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutput() GetDeliveriesDeliveryArrayOutput

func (GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutputWithContext

func (o GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutputWithContext(ctx context.Context) GetDeliveriesDeliveryArrayOutput

type GetDeliveriesDeliveryInput

type GetDeliveriesDeliveryInput interface {
	pulumi.Input

	ToGetDeliveriesDeliveryOutput() GetDeliveriesDeliveryOutput
	ToGetDeliveriesDeliveryOutputWithContext(context.Context) GetDeliveriesDeliveryOutput
}

GetDeliveriesDeliveryInput is an input type that accepts GetDeliveriesDeliveryArgs and GetDeliveriesDeliveryOutput values. You can construct a concrete instance of `GetDeliveriesDeliveryInput` via:

GetDeliveriesDeliveryArgs{...}

type GetDeliveriesDeliveryOutput

type GetDeliveriesDeliveryOutput struct{ *pulumi.OutputState }

func (GetDeliveriesDeliveryOutput) AccountId

The Aliyun User Id.

func (GetDeliveriesDeliveryOutput) ConfigurationItemChangeNotification

func (o GetDeliveriesDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput

Open or close delivery configuration change history.

func (GetDeliveriesDeliveryOutput) ConfigurationSnapshot

func (o GetDeliveriesDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput

Open or close timed snapshot of shipping resources.

func (GetDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn

func (o GetDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn() pulumi.StringOutput

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

func (GetDeliveriesDeliveryOutput) DeliveryChannelCondition

func (o GetDeliveriesDeliveryOutput) DeliveryChannelCondition() pulumi.StringOutput

The rule attached to the delivery method.

func (GetDeliveriesDeliveryOutput) DeliveryChannelId

func (o GetDeliveriesDeliveryOutput) DeliveryChannelId() pulumi.StringOutput

The ID of the delivery method.

func (GetDeliveriesDeliveryOutput) DeliveryChannelName

func (o GetDeliveriesDeliveryOutput) DeliveryChannelName() pulumi.StringOutput

The name of the delivery method.

func (GetDeliveriesDeliveryOutput) DeliveryChannelTargetArn

func (o GetDeliveriesDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput

The ARN of the delivery destination.

func (GetDeliveriesDeliveryOutput) DeliveryChannelType

func (o GetDeliveriesDeliveryOutput) DeliveryChannelType() pulumi.StringOutput

The type of the delivery method.

func (GetDeliveriesDeliveryOutput) Description

The description of the delivery method.

func (GetDeliveriesDeliveryOutput) ElementType

func (GetDeliveriesDeliveryOutput) Id

The ID of the Delivery.

func (GetDeliveriesDeliveryOutput) NonCompliantNotification

func (o GetDeliveriesDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput

Open or close non-compliance events of delivery resources.

func (GetDeliveriesDeliveryOutput) OversizedDataOssTargetArn

func (o GetDeliveriesDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringOutput

The oss ARN of the delivery channel when the value data oversized limit.

func (GetDeliveriesDeliveryOutput) Status

The status of the delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.

func (GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutput

func (o GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutput() GetDeliveriesDeliveryOutput

func (GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutputWithContext

func (o GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutputWithContext(ctx context.Context) GetDeliveriesDeliveryOutput

type GetDeliveriesOutputArgs

type GetDeliveriesOutputArgs struct {
	// A list of Delivery 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 delivery method. Valid values: `0`: The delivery method is disabled. `1`: The delivery destination is enabled.
	Status pulumi.IntPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getDeliveries.

func (GetDeliveriesOutputArgs) ElementType

func (GetDeliveriesOutputArgs) ElementType() reflect.Type

type GetDeliveriesResult

type GetDeliveriesResult struct {
	Deliveries []GetDeliveriesDelivery `pulumi:"deliveries"`
	// 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     *int     `pulumi:"status"`
}

A collection of values returned by getDeliveries.

func GetDeliveries

func GetDeliveries(ctx *pulumi.Context, args *GetDeliveriesArgs, opts ...pulumi.InvokeOption) (*GetDeliveriesResult, error)

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

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := cfg.GetDeliveries(ctx, &cfg.GetDeliveriesArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("configDeliveryId1", ids.Deliveries[0].Id)
		return nil
	})
}

```

type GetDeliveriesResultOutput

type GetDeliveriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDeliveries.

func (GetDeliveriesResultOutput) Deliveries

func (GetDeliveriesResultOutput) ElementType

func (GetDeliveriesResultOutput) ElementType() reflect.Type

func (GetDeliveriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDeliveriesResultOutput) Ids

func (GetDeliveriesResultOutput) NameRegex

func (GetDeliveriesResultOutput) Names

func (GetDeliveriesResultOutput) OutputFile

func (GetDeliveriesResultOutput) Status

func (GetDeliveriesResultOutput) ToGetDeliveriesResultOutput

func (o GetDeliveriesResultOutput) ToGetDeliveriesResultOutput() GetDeliveriesResultOutput

func (GetDeliveriesResultOutput) ToGetDeliveriesResultOutputWithContext

func (o GetDeliveriesResultOutput) ToGetDeliveriesResultOutputWithContext(ctx context.Context) GetDeliveriesResultOutput

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 channel.
	DeliveryChannelType string `pulumi:"deliveryChannelType"`
	// The description of the delivery channel.
	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 channel.
	DeliveryChannelType pulumi.StringInput `pulumi:"deliveryChannelType"`
	// The description of the delivery channel.
	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 channel.

func (GetDeliveryChannelsChannelOutput) Description

The description of the delivery channel.

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

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

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 channel.
	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)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cfg.GetDeliveryChannels(ctx, &cfg.GetDeliveryChannelsArgs{
			Ids: []string{
				"cdc-49a2ad756057********",
			},
			NameRegex: pulumi.StringRef("tftest"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigDeliveryChannelId", example.Channels[0].Id)
		return nil
	})
}

```

type GetDeliveryChannelsResultOutput

type GetDeliveryChannelsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDeliveryChannels.

func (GetDeliveryChannelsResultOutput) Channels

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

func (GetDeliveryChannelsResultOutput) ElementType

func (GetDeliveryChannelsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDeliveryChannelsResultOutput) Ids

A list of Config Delivery Channel IDs.

func (GetDeliveryChannelsResultOutput) NameRegex

func (GetDeliveryChannelsResultOutput) Names

A list of Config Delivery Channel names.

func (GetDeliveryChannelsResultOutput) OutputFile

func (GetDeliveryChannelsResultOutput) Status

The status of the delivery channel.

func (GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutput

func (o GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutput() GetDeliveryChannelsResultOutput

func (GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutputWithContext

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"`
	// 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

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"`
	// 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

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"`
	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/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cfg.GetRules(ctx, &cfg.GetRulesArgs{
			Ids: []string{
				"cr-ed4bad756057********",
			},
			NameRegex: pulumi.StringRef("tftest"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstConfigRuleId", example.Rules[0].Id)
		return nil
	})
}

```

type GetRulesResultOutput

type GetRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRules.

func (GetRulesResultOutput) ConfigRuleState deprecated

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

func (GetRulesResultOutput) ElementType() reflect.Type

func (GetRulesResultOutput) EnableDetails

func (o GetRulesResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetRulesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRulesResultOutput) Ids

A list of Config Rule IDs.

func (GetRulesResultOutput) NameRegex

func (GetRulesResultOutput) Names

A list of Config Rule names.

func (GetRulesResultOutput) OutputFile

func (GetRulesResultOutput) RiskLevel

func (GetRulesResultOutput) RuleName

func (GetRulesResultOutput) Rules

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

func (GetRulesResultOutput) Status

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

func (GetRulesResultOutput) ToGetRulesResultOutput

func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput

func (GetRulesResultOutput) ToGetRulesResultOutputWithContext

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 group 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 identifier of the managed rule or the arn of the custom function.
	// * `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 group 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 identifier of the managed rule or the arn of the custom function.
	// * `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

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

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

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

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

func (o GetRulesRuleOutput) RegionIdsScope() pulumi.StringOutput

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

func (GetRulesRuleOutput) ResourceGroupIdsScope

func (o GetRulesRuleOutput) ResourceGroupIdsScope() pulumi.StringOutput

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

func (GetRulesRuleOutput) ResourceTypesScopes

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 identifier of the managed rule or the arn of the custom function. * `sourceOwner`- The source owner of the Config Rule.

func (GetRulesRuleOutput) SourceOwner

func (o GetRulesRuleOutput) SourceOwner() pulumi.StringOutput

func (GetRulesRuleOutput) Status

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

func (GetRulesRuleOutput) TagKeyScope

func (o GetRulesRuleOutput) TagKeyScope() pulumi.StringOutput

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

func (GetRulesRuleOutput) TagValueScope

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 identifier 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"`
	// The rule status. The valid values: `ACTIVE`, `INACTIVE`.
	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/doc-detail/154216.html).

> **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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cfg"

)

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

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 identifier 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 status. The valid values: `ACTIVE`, `INACTIVE`.
	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
}

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) ConfigRuleTriggerTypes

func (o RuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput

The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.

func (RuleOutput) Description

func (o RuleOutput) Description() pulumi.StringPtrOutput

The description of the Config Rule.

func (RuleOutput) ElementType

func (RuleOutput) ElementType() reflect.Type

func (RuleOutput) ExcludeResourceIdsScope

func (o RuleOutput) ExcludeResourceIdsScope() pulumi.StringPtrOutput

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.

func (RuleOutput) InputParameters

func (o RuleOutput) InputParameters() pulumi.MapOutput

Threshold value for managed rule triggering.

func (RuleOutput) MaximumExecutionFrequency

func (o RuleOutput) MaximumExecutionFrequency() pulumi.StringOutput

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`.

func (RuleOutput) RegionIdsScope

func (o RuleOutput) RegionIdsScope() pulumi.StringPtrOutput

The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.

func (RuleOutput) ResourceGroupIdsScope

func (o RuleOutput) ResourceGroupIdsScope() pulumi.StringPtrOutput

The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.

func (RuleOutput) ResourceTypesScopes

func (o RuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput

Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)

func (RuleOutput) RiskLevel

func (o RuleOutput) RiskLevel() pulumi.IntOutput

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

func (RuleOutput) RuleName

func (o RuleOutput) RuleName() pulumi.StringOutput

The name of the Config Rule.

func (RuleOutput) ScopeComplianceResourceTypes deprecated

func (o RuleOutput) ScopeComplianceResourceTypes() pulumi.StringArrayOutput

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.

func (RuleOutput) SourceDetailMessageType deprecated

func (o RuleOutput) SourceDetailMessageType() pulumi.StringOutput

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.

func (RuleOutput) SourceIdentifier

func (o RuleOutput) SourceIdentifier() pulumi.StringOutput

The identifier of the rule. For a managed rule, the value is the identifier 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)

func (RuleOutput) SourceMaximumExecutionFrequency deprecated

func (o RuleOutput) SourceMaximumExecutionFrequency() pulumi.StringOutput

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.

func (RuleOutput) SourceOwner

func (o RuleOutput) SourceOwner() pulumi.StringOutput

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.

func (RuleOutput) Status

func (o RuleOutput) Status() pulumi.StringOutput

The rule status. The valid values: `ACTIVE`, `INACTIVE`.

func (RuleOutput) TagKeyScope

func (o RuleOutput) TagKeyScope() pulumi.StringPtrOutput

The rule monitors the tag key, only applies to rules created based on managed rules.

func (RuleOutput) TagValueScope

func (o RuleOutput) TagValueScope() pulumi.StringPtrOutput

The rule monitors the tag value, use with the `tagKeyScope` options. only applies to rules created based on managed rules.

func (RuleOutput) ToRuleOutput

func (o RuleOutput) ToRuleOutput() RuleOutput

func (RuleOutput) ToRuleOutputWithContext

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

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 identifier 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
	// The rule status. The valid values: `ACTIVE`, `INACTIVE`.
	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