cfg

package
v3.54.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregateCompliancePack added in v3.3.0

type AggregateCompliancePack struct {
	pulumi.CustomResourceState

	// The name of compliance package name. **NOTE:** From version 1.145.0, `aggregateCompliancePackName` can be modified.
	AggregateCompliancePackName pulumi.StringOutput `pulumi:"aggregateCompliancePackName"`
	// The ID of the compliance package.
	AggregatorCompliancePackId pulumi.StringOutput `pulumi:"aggregatorCompliancePackId"`
	// 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. See `configRuleIds` below.
	ConfigRuleIds AggregateCompliancePackConfigRuleIdArrayOutput `pulumi:"configRuleIds"`
	// A list of Config Rules. See `configRules` below. **NOTE:** Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	//
	// Deprecated: Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	ConfigRules AggregateCompliancePackConfigRuleArrayOutput `pulumi:"configRules"`
	// The description of compliance package.
	Description pulumi.StringOutput `pulumi:"description"`
	// The Risk Level. Valid values:
	RiskLevel pulumi.IntOutput `pulumi:"riskLevel"`
	// The status of the Aggregate Compliance Pack.
	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/cloud-config/latest/api-config-2020-09-07-createaggregatecompliancepack).

> **NOTE:** Available since v1.124.0.

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform_example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := resourcemanager.GetAccounts(ctx, &resourcemanager.GetAccountsArgs{
			Status: pulumi.StringRef("CreateSuccess"),
		}, nil)
		if err != nil {
			return err
		}
		defaultAggregator, err := cfg.NewAggregator(ctx, "default", &cfg.AggregatorArgs{
			AggregatorAccounts: cfg.AggregatorAggregatorAccountArray{
				&cfg.AggregatorAggregatorAccountArgs{
					AccountId:   pulumi.String(_default.Accounts[0].AccountId),
					AccountName: pulumi.String(_default.Accounts[0].DisplayName),
					AccountType: pulumi.String("ResourceDirectory"),
				},
			},
			AggregatorName: pulumi.String(name),
			Description:    pulumi.String(name),
			AggregatorType: pulumi.String("CUSTOM"),
		})
		if err != nil {
			return err
		}
		defaultAggregateConfigRule, err := cfg.NewAggregateConfigRule(ctx, "default", &cfg.AggregateConfigRuleArgs{
			AggregateConfigRuleName: pulumi.String("contains-tag"),
			AggregatorId:            defaultAggregator.ID(),
			ConfigRuleTriggerTypes:  pulumi.String("ConfigurationItemChangeNotification"),
			SourceOwner:             pulumi.String("ALIYUN"),
			SourceIdentifier:        pulumi.String("contains-tag"),
			Description:             pulumi.String(name),
			RiskLevel:               pulumi.Int(1),
			ResourceTypesScopes: pulumi.StringArray{
				pulumi.String("ACS::ECS::Instance"),
			},
			InputParameters: pulumi.Map{
				"key":   pulumi.Any("example"),
				"value": pulumi.Any("example"),
			},
		})
		if err != nil {
			return err
		}
		_, err = cfg.NewAggregateCompliancePack(ctx, "default", &cfg.AggregateCompliancePackArgs{
			AggregateCompliancePackName: pulumi.String(name),
			AggregatorId:                defaultAggregator.ID(),
			Description:                 pulumi.String(name),
			RiskLevel:                   pulumi.Int(1),
			ConfigRuleIds: cfg.AggregateCompliancePackConfigRuleIdArray{
				&cfg.AggregateCompliancePackConfigRuleIdArgs{
					ConfigRuleId: defaultAggregateConfigRule.ConfigRuleId,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetAggregateCompliancePack added in v3.3.0

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

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

func NewAggregateCompliancePack added in v3.3.0

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

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

func (*AggregateCompliancePack) ElementType added in v3.3.0

func (*AggregateCompliancePack) ElementType() reflect.Type

func (*AggregateCompliancePack) ToAggregateCompliancePackOutput added in v3.3.0

func (i *AggregateCompliancePack) ToAggregateCompliancePackOutput() AggregateCompliancePackOutput

func (*AggregateCompliancePack) ToAggregateCompliancePackOutputWithContext added in v3.3.0

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

type AggregateCompliancePackArgs added in v3.3.0

type AggregateCompliancePackArgs struct {
	// The name of compliance package name. **NOTE:** From version 1.145.0, `aggregateCompliancePackName` can be modified.
	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. See `configRuleIds` below.
	ConfigRuleIds AggregateCompliancePackConfigRuleIdArrayInput
	// A list of Config Rules. See `configRules` below. **NOTE:** Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	//
	// Deprecated: Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	ConfigRules AggregateCompliancePackConfigRuleArrayInput
	// The description of compliance package.
	Description pulumi.StringInput
	// The Risk Level. Valid values:
	RiskLevel pulumi.IntInput
}

The set of arguments for constructing a AggregateCompliancePack resource.

func (AggregateCompliancePackArgs) ElementType added in v3.3.0

type AggregateCompliancePackArray added in v3.3.0

type AggregateCompliancePackArray []AggregateCompliancePackInput

func (AggregateCompliancePackArray) ElementType added in v3.3.0

func (AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutput added in v3.3.0

func (i AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput

func (AggregateCompliancePackArray) ToAggregateCompliancePackArrayOutputWithContext added in v3.3.0

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

type AggregateCompliancePackArrayInput added in v3.3.0

type AggregateCompliancePackArrayInput interface {
	pulumi.Input

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

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

AggregateCompliancePackArray{ AggregateCompliancePackArgs{...} }

type AggregateCompliancePackArrayOutput added in v3.3.0

type AggregateCompliancePackArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackArrayOutput) ElementType added in v3.3.0

func (AggregateCompliancePackArrayOutput) Index added in v3.3.0

func (AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutput added in v3.3.0

func (o AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutput() AggregateCompliancePackArrayOutput

func (AggregateCompliancePackArrayOutput) ToAggregateCompliancePackArrayOutputWithContext added in v3.3.0

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

type AggregateCompliancePackConfigRule added in v3.3.0

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

type AggregateCompliancePackConfigRuleArgs added in v3.3.0

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

func (AggregateCompliancePackConfigRuleArgs) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutput added in v3.3.0

func (i AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput

func (AggregateCompliancePackConfigRuleArgs) ToAggregateCompliancePackConfigRuleOutputWithContext added in v3.3.0

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

type AggregateCompliancePackConfigRuleArray added in v3.3.0

type AggregateCompliancePackConfigRuleArray []AggregateCompliancePackConfigRuleInput

func (AggregateCompliancePackConfigRuleArray) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutput added in v3.3.0

func (i AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput

func (AggregateCompliancePackConfigRuleArray) ToAggregateCompliancePackConfigRuleArrayOutputWithContext added in v3.3.0

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

type AggregateCompliancePackConfigRuleArrayInput added in v3.3.0

type AggregateCompliancePackConfigRuleArrayInput interface {
	pulumi.Input

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

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

AggregateCompliancePackConfigRuleArray{ AggregateCompliancePackConfigRuleArgs{...} }

type AggregateCompliancePackConfigRuleArrayOutput added in v3.3.0

type AggregateCompliancePackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleArrayOutput) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleArrayOutput) Index added in v3.3.0

func (AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutput added in v3.3.0

func (o AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutput() AggregateCompliancePackConfigRuleArrayOutput

func (AggregateCompliancePackConfigRuleArrayOutput) ToAggregateCompliancePackConfigRuleArrayOutputWithContext added in v3.3.0

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

type AggregateCompliancePackConfigRuleConfigRuleParameter added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameter struct {
	ParameterName  *string `pulumi:"parameterName"`
	ParameterValue *string `pulumi:"parameterValue"`
}

type AggregateCompliancePackConfigRuleConfigRuleParameterArgs added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterArgs struct {
	ParameterName  pulumi.StringPtrInput `pulumi:"parameterName"`
	ParameterValue pulumi.StringPtrInput `pulumi:"parameterValue"`
}

func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArgs) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

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

type AggregateCompliancePackConfigRuleConfigRuleParameterArray added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterArray []AggregateCompliancePackConfigRuleConfigRuleParameterInput

func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (i AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput() AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput

func (AggregateCompliancePackConfigRuleConfigRuleParameterArray) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

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

type AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterArrayInput interface {
	pulumi.Input

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

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

AggregateCompliancePackConfigRuleConfigRuleParameterArray{ AggregateCompliancePackConfigRuleConfigRuleParameterArgs{...} }

type AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) Index added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterArrayOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

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

type AggregateCompliancePackConfigRuleConfigRuleParameterInput added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterInput interface {
	pulumi.Input

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

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

AggregateCompliancePackConfigRuleConfigRuleParameterArgs{...}

type AggregateCompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

type AggregateCompliancePackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterName added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (AggregateCompliancePackConfigRuleConfigRuleParameterOutput) ToAggregateCompliancePackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

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

type AggregateCompliancePackConfigRuleId added in v3.9.0

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

type AggregateCompliancePackConfigRuleIdArgs added in v3.9.0

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

func (AggregateCompliancePackConfigRuleIdArgs) ElementType added in v3.9.0

func (AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutput added in v3.9.0

func (i AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput

func (AggregateCompliancePackConfigRuleIdArgs) ToAggregateCompliancePackConfigRuleIdOutputWithContext added in v3.9.0

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

type AggregateCompliancePackConfigRuleIdArray added in v3.9.0

type AggregateCompliancePackConfigRuleIdArray []AggregateCompliancePackConfigRuleIdInput

func (AggregateCompliancePackConfigRuleIdArray) ElementType added in v3.9.0

func (AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutput added in v3.9.0

func (i AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput

func (AggregateCompliancePackConfigRuleIdArray) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext added in v3.9.0

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

type AggregateCompliancePackConfigRuleIdArrayInput added in v3.9.0

type AggregateCompliancePackConfigRuleIdArrayInput interface {
	pulumi.Input

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

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

AggregateCompliancePackConfigRuleIdArray{ AggregateCompliancePackConfigRuleIdArgs{...} }

type AggregateCompliancePackConfigRuleIdArrayOutput added in v3.9.0

type AggregateCompliancePackConfigRuleIdArrayOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleIdArrayOutput) ElementType added in v3.9.0

func (AggregateCompliancePackConfigRuleIdArrayOutput) Index added in v3.9.0

func (AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutput added in v3.9.0

func (o AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutput() AggregateCompliancePackConfigRuleIdArrayOutput

func (AggregateCompliancePackConfigRuleIdArrayOutput) ToAggregateCompliancePackConfigRuleIdArrayOutputWithContext added in v3.9.0

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

type AggregateCompliancePackConfigRuleIdInput added in v3.9.0

type AggregateCompliancePackConfigRuleIdInput interface {
	pulumi.Input

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

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

AggregateCompliancePackConfigRuleIdArgs{...}

type AggregateCompliancePackConfigRuleIdOutput added in v3.9.0

type AggregateCompliancePackConfigRuleIdOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleIdOutput) ConfigRuleId added in v3.9.0

The rule ID of Aggregate Config Rule.

func (AggregateCompliancePackConfigRuleIdOutput) ElementType added in v3.9.0

func (AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutput added in v3.9.0

func (o AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutput() AggregateCompliancePackConfigRuleIdOutput

func (AggregateCompliancePackConfigRuleIdOutput) ToAggregateCompliancePackConfigRuleIdOutputWithContext added in v3.9.0

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

type AggregateCompliancePackConfigRuleInput added in v3.3.0

type AggregateCompliancePackConfigRuleInput interface {
	pulumi.Input

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

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

AggregateCompliancePackConfigRuleArgs{...}

type AggregateCompliancePackConfigRuleOutput added in v3.3.0

type AggregateCompliancePackConfigRuleOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackConfigRuleOutput) ConfigRuleParameters added in v3.3.0

A list of parameter rules. See `configRuleParameters` below.

func (AggregateCompliancePackConfigRuleOutput) ElementType added in v3.3.0

func (AggregateCompliancePackConfigRuleOutput) ManagedRuleIdentifier added in v3.3.0

The Managed Rule Identifier.

func (AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutput added in v3.3.0

func (o AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutput() AggregateCompliancePackConfigRuleOutput

func (AggregateCompliancePackConfigRuleOutput) ToAggregateCompliancePackConfigRuleOutputWithContext added in v3.3.0

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

type AggregateCompliancePackInput added in v3.3.0

type AggregateCompliancePackInput interface {
	pulumi.Input

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

type AggregateCompliancePackMap added in v3.3.0

type AggregateCompliancePackMap map[string]AggregateCompliancePackInput

func (AggregateCompliancePackMap) ElementType added in v3.3.0

func (AggregateCompliancePackMap) ElementType() reflect.Type

func (AggregateCompliancePackMap) ToAggregateCompliancePackMapOutput added in v3.3.0

func (i AggregateCompliancePackMap) ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput

func (AggregateCompliancePackMap) ToAggregateCompliancePackMapOutputWithContext added in v3.3.0

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

type AggregateCompliancePackMapInput added in v3.3.0

type AggregateCompliancePackMapInput interface {
	pulumi.Input

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

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

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

type AggregateCompliancePackMapOutput added in v3.3.0

type AggregateCompliancePackMapOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackMapOutput) ElementType added in v3.3.0

func (AggregateCompliancePackMapOutput) MapIndex added in v3.3.0

func (AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutput added in v3.3.0

func (o AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutput() AggregateCompliancePackMapOutput

func (AggregateCompliancePackMapOutput) ToAggregateCompliancePackMapOutputWithContext added in v3.3.0

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

type AggregateCompliancePackOutput added in v3.3.0

type AggregateCompliancePackOutput struct{ *pulumi.OutputState }

func (AggregateCompliancePackOutput) AggregateCompliancePackName added in v3.27.0

func (o AggregateCompliancePackOutput) AggregateCompliancePackName() pulumi.StringOutput

The name of compliance package name. **NOTE:** From version 1.145.0, `aggregateCompliancePackName` can be modified.

func (AggregateCompliancePackOutput) AggregatorCompliancePackId added in v3.44.0

func (o AggregateCompliancePackOutput) AggregatorCompliancePackId() pulumi.StringOutput

The ID of the compliance package.

func (AggregateCompliancePackOutput) AggregatorId added in v3.27.0

The ID of aggregator.

func (AggregateCompliancePackOutput) CompliancePackTemplateId added in v3.27.0

func (o AggregateCompliancePackOutput) CompliancePackTemplateId() pulumi.StringPtrOutput

The Template ID of compliance package.

func (AggregateCompliancePackOutput) ConfigRuleIds added in v3.27.0

A list of Config Rule IDs. See `configRuleIds` below.

func (AggregateCompliancePackOutput) ConfigRules deprecated added in v3.27.0

A list of Config Rules. See `configRules` below. **NOTE:** Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.

Deprecated: Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.

func (AggregateCompliancePackOutput) Description added in v3.27.0

The description of compliance package.

func (AggregateCompliancePackOutput) ElementType added in v3.3.0

func (AggregateCompliancePackOutput) RiskLevel added in v3.27.0

The Risk Level. Valid values:

func (AggregateCompliancePackOutput) Status added in v3.27.0

The status of the Aggregate Compliance Pack.

func (AggregateCompliancePackOutput) ToAggregateCompliancePackOutput added in v3.3.0

func (o AggregateCompliancePackOutput) ToAggregateCompliancePackOutput() AggregateCompliancePackOutput

func (AggregateCompliancePackOutput) ToAggregateCompliancePackOutputWithContext added in v3.3.0

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

type AggregateCompliancePackState added in v3.3.0

type AggregateCompliancePackState struct {
	// The name of compliance package name. **NOTE:** From version 1.145.0, `aggregateCompliancePackName` can be modified.
	AggregateCompliancePackName pulumi.StringPtrInput
	// The ID of the compliance package.
	AggregatorCompliancePackId pulumi.StringPtrInput
	// The ID of aggregator.
	AggregatorId pulumi.StringPtrInput
	// The Template ID of compliance package.
	CompliancePackTemplateId pulumi.StringPtrInput
	// A list of Config Rule IDs. See `configRuleIds` below.
	ConfigRuleIds AggregateCompliancePackConfigRuleIdArrayInput
	// A list of Config Rules. See `configRules` below. **NOTE:** Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	//
	// Deprecated: Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	ConfigRules AggregateCompliancePackConfigRuleArrayInput
	// The description of compliance package.
	Description pulumi.StringPtrInput
	// The Risk Level. Valid values:
	RiskLevel pulumi.IntPtrInput
	// The status of the Aggregate Compliance Pack.
	Status pulumi.StringPtrInput
}

func (AggregateCompliancePackState) ElementType added in v3.3.0

type AggregateConfigRule added in v3.3.0

type AggregateConfigRule struct {
	pulumi.CustomResourceState

	// The name of the rule.
	AggregateConfigRuleName pulumi.StringOutput `pulumi:"aggregateConfigRuleName"`
	// The Aggregator Id.
	AggregatorId pulumi.StringOutput `pulumi:"aggregatorId"`
	// (Available since v1.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/en/cloud-config/latest/api-config-2020-09-07-createaggregateconfigrule).

> **NOTE:** Available since v1.124.0.

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := resourcemanager.GetAccounts(ctx, &resourcemanager.GetAccountsArgs{
			Status: pulumi.StringRef("CreateSuccess"),
		}, nil)
		if err != nil {
			return err
		}
		defaultAggregator, err := cfg.NewAggregator(ctx, "default", &cfg.AggregatorArgs{
			AggregatorAccounts: cfg.AggregatorAggregatorAccountArray{
				&cfg.AggregatorAggregatorAccountArgs{
					AccountId:   pulumi.String(_default.Accounts[0].AccountId),
					AccountName: pulumi.String(_default.Accounts[0].DisplayName),
					AccountType: pulumi.String("ResourceDirectory"),
				},
			},
			AggregatorName: pulumi.String(name),
			Description:    pulumi.String(name),
			AggregatorType: pulumi.String("CUSTOM"),
		})
		if err != nil {
			return err
		}
		_, err = cfg.NewAggregateConfigRule(ctx, "default", &cfg.AggregateConfigRuleArgs{
			AggregateConfigRuleName: pulumi.String("contains-tag"),
			AggregatorId:            defaultAggregator.ID(),
			ConfigRuleTriggerTypes:  pulumi.String("ConfigurationItemChangeNotification"),
			SourceOwner:             pulumi.String("ALIYUN"),
			SourceIdentifier:        pulumi.String("contains-tag"),
			RiskLevel:               pulumi.Int(1),
			ResourceTypesScopes: pulumi.StringArray{
				pulumi.String("ACS::ECS::Instance"),
			},
			InputParameters: pulumi.Map{
				"key":   pulumi.Any("example"),
				"value": pulumi.Any("example"),
			},
		})
		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 added in v3.3.0

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

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

func NewAggregateConfigRule added in v3.3.0

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

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

func (*AggregateConfigRule) ElementType added in v3.3.0

func (*AggregateConfigRule) ElementType() reflect.Type

func (*AggregateConfigRule) ToAggregateConfigRuleOutput added in v3.3.0

func (i *AggregateConfigRule) ToAggregateConfigRuleOutput() AggregateConfigRuleOutput

func (*AggregateConfigRule) ToAggregateConfigRuleOutputWithContext added in v3.3.0

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

type AggregateConfigRuleArgs added in v3.3.0

type AggregateConfigRuleArgs struct {
	// The name of the rule.
	AggregateConfigRuleName pulumi.StringInput
	// The Aggregator Id.
	AggregatorId pulumi.StringInput
	// The trigger type of the rule. Valid values: `ConfigurationItemChangeNotification`: The rule is triggered upon configuration changes. `ScheduledNotification`: The rule is triggered as scheduled.
	ConfigRuleTriggerTypes pulumi.StringInput
	// The description of the rule.
	Description pulumi.StringPtrInput
	// The rule monitors excluded resource IDs, multiple of which are separated by commas, only applies to rules created based on managed rules, , custom rule this field is empty.
	ExcludeResourceIdsScope pulumi.StringPtrInput
	// The settings map of the input parameters for the rule.
	InputParameters pulumi.MapInput
	// The frequency of the compliance evaluations. Valid values:  `One_Hour`, `Three_Hours`, `Six_Hours`, `Twelve_Hours`, `TwentyFour_Hours`. System default value is `TwentyFour_Hours` and valid when the `configRuleTriggerTypes` is `ScheduledNotification`.
	MaximumExecutionFrequency pulumi.StringPtrInput
	// The rule monitors region IDs, separated by commas, only applies to rules created based on managed rules.
	RegionIdsScope pulumi.StringPtrInput
	// The rule monitors resource group IDs, separated by commas, only applies to rules created based on managed rules.
	ResourceGroupIdsScope pulumi.StringPtrInput
	// Resource types to be evaluated. [Alibaba Cloud services that support Cloud Config.](https://www.alibabacloud.com/help/en/doc-detail/127411.htm)
	ResourceTypesScopes pulumi.StringArrayInput
	// The risk level of the resources that are not compliant with the rule. Valid values:  `1`: critical `2`: warning `3`: info.
	RiskLevel pulumi.IntInput
	// The identifier of the rule. For a managed rule, the value is the 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 added in v3.3.0

func (AggregateConfigRuleArgs) ElementType() reflect.Type

type AggregateConfigRuleArray added in v3.3.0

type AggregateConfigRuleArray []AggregateConfigRuleInput

func (AggregateConfigRuleArray) ElementType added in v3.3.0

func (AggregateConfigRuleArray) ElementType() reflect.Type

func (AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutput added in v3.3.0

func (i AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput

func (AggregateConfigRuleArray) ToAggregateConfigRuleArrayOutputWithContext added in v3.3.0

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

type AggregateConfigRuleArrayInput added in v3.3.0

type AggregateConfigRuleArrayInput interface {
	pulumi.Input

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

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

AggregateConfigRuleArray{ AggregateConfigRuleArgs{...} }

type AggregateConfigRuleArrayOutput added in v3.3.0

type AggregateConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (AggregateConfigRuleArrayOutput) ElementType added in v3.3.0

func (AggregateConfigRuleArrayOutput) Index added in v3.3.0

func (AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutput added in v3.3.0

func (o AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutput() AggregateConfigRuleArrayOutput

func (AggregateConfigRuleArrayOutput) ToAggregateConfigRuleArrayOutputWithContext added in v3.3.0

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

type AggregateConfigRuleInput added in v3.3.0

type AggregateConfigRuleInput interface {
	pulumi.Input

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

type AggregateConfigRuleMap added in v3.3.0

type AggregateConfigRuleMap map[string]AggregateConfigRuleInput

func (AggregateConfigRuleMap) ElementType added in v3.3.0

func (AggregateConfigRuleMap) ElementType() reflect.Type

func (AggregateConfigRuleMap) ToAggregateConfigRuleMapOutput added in v3.3.0

func (i AggregateConfigRuleMap) ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput

func (AggregateConfigRuleMap) ToAggregateConfigRuleMapOutputWithContext added in v3.3.0

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

type AggregateConfigRuleMapInput added in v3.3.0

type AggregateConfigRuleMapInput interface {
	pulumi.Input

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

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

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

type AggregateConfigRuleMapOutput added in v3.3.0

type AggregateConfigRuleMapOutput struct{ *pulumi.OutputState }

func (AggregateConfigRuleMapOutput) ElementType added in v3.3.0

func (AggregateConfigRuleMapOutput) MapIndex added in v3.3.0

func (AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutput added in v3.3.0

func (o AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutput() AggregateConfigRuleMapOutput

func (AggregateConfigRuleMapOutput) ToAggregateConfigRuleMapOutputWithContext added in v3.3.0

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

type AggregateConfigRuleOutput added in v3.3.0

type AggregateConfigRuleOutput struct{ *pulumi.OutputState }

func (AggregateConfigRuleOutput) AggregateConfigRuleName added in v3.27.0

func (o AggregateConfigRuleOutput) AggregateConfigRuleName() pulumi.StringOutput

The name of the rule.

func (AggregateConfigRuleOutput) AggregatorId added in v3.27.0

The Aggregator Id.

func (AggregateConfigRuleOutput) ConfigRuleId added in v3.27.0

(Available since v1.141.0) The rule ID of Aggregate Config Rule.

func (AggregateConfigRuleOutput) ConfigRuleTriggerTypes added in v3.27.0

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 added in v3.27.0

The description of the rule.

func (AggregateConfigRuleOutput) ElementType added in v3.3.0

func (AggregateConfigRuleOutput) ElementType() reflect.Type

func (AggregateConfigRuleOutput) ExcludeResourceIdsScope added in v3.27.0

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 added in v3.27.0

func (o AggregateConfigRuleOutput) InputParameters() pulumi.MapOutput

The settings map of the input parameters for the rule.

func (AggregateConfigRuleOutput) MaximumExecutionFrequency added in v3.27.0

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 added in v3.27.0

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

func (AggregateConfigRuleOutput) ResourceGroupIdsScope added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

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

func (AggregateConfigRuleOutput) SourceIdentifier added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

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

func (AggregateConfigRuleOutput) TagKeyScope added in v3.27.0

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

func (AggregateConfigRuleOutput) TagValueScope added in v3.27.0

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

func (AggregateConfigRuleOutput) ToAggregateConfigRuleOutput added in v3.3.0

func (o AggregateConfigRuleOutput) ToAggregateConfigRuleOutput() AggregateConfigRuleOutput

func (AggregateConfigRuleOutput) ToAggregateConfigRuleOutputWithContext added in v3.3.0

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

type AggregateConfigRuleState added in v3.3.0

type AggregateConfigRuleState struct {
	// The name of the rule.
	AggregateConfigRuleName pulumi.StringPtrInput
	// The Aggregator Id.
	AggregatorId pulumi.StringPtrInput
	// (Available since v1.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 added in v3.3.0

func (AggregateConfigRuleState) ElementType() reflect.Type

type AggregateDelivery added in v3.22.0

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/api-config-2020-09-07-createaggregateconfigdeliverychannel).

> **NOTE:** Available since 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 added in v3.22.0

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 added in v3.22.0

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 added in v3.22.0

func (*AggregateDelivery) ElementType() reflect.Type

func (*AggregateDelivery) ToAggregateDeliveryOutput added in v3.22.0

func (i *AggregateDelivery) ToAggregateDeliveryOutput() AggregateDeliveryOutput

func (*AggregateDelivery) ToAggregateDeliveryOutputWithContext added in v3.22.0

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

type AggregateDeliveryArgs added in v3.22.0

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 added in v3.22.0

func (AggregateDeliveryArgs) ElementType() reflect.Type

type AggregateDeliveryArray added in v3.22.0

type AggregateDeliveryArray []AggregateDeliveryInput

func (AggregateDeliveryArray) ElementType added in v3.22.0

func (AggregateDeliveryArray) ElementType() reflect.Type

func (AggregateDeliveryArray) ToAggregateDeliveryArrayOutput added in v3.22.0

func (i AggregateDeliveryArray) ToAggregateDeliveryArrayOutput() AggregateDeliveryArrayOutput

func (AggregateDeliveryArray) ToAggregateDeliveryArrayOutputWithContext added in v3.22.0

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

type AggregateDeliveryArrayInput added in v3.22.0

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 added in v3.22.0

type AggregateDeliveryArrayOutput struct{ *pulumi.OutputState }

func (AggregateDeliveryArrayOutput) ElementType added in v3.22.0

func (AggregateDeliveryArrayOutput) Index added in v3.22.0

func (AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutput added in v3.22.0

func (o AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutput() AggregateDeliveryArrayOutput

func (AggregateDeliveryArrayOutput) ToAggregateDeliveryArrayOutputWithContext added in v3.22.0

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

type AggregateDeliveryInput added in v3.22.0

type AggregateDeliveryInput interface {
	pulumi.Input

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

type AggregateDeliveryMap added in v3.22.0

type AggregateDeliveryMap map[string]AggregateDeliveryInput

func (AggregateDeliveryMap) ElementType added in v3.22.0

func (AggregateDeliveryMap) ElementType() reflect.Type

func (AggregateDeliveryMap) ToAggregateDeliveryMapOutput added in v3.22.0

func (i AggregateDeliveryMap) ToAggregateDeliveryMapOutput() AggregateDeliveryMapOutput

func (AggregateDeliveryMap) ToAggregateDeliveryMapOutputWithContext added in v3.22.0

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

type AggregateDeliveryMapInput added in v3.22.0

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 added in v3.22.0

type AggregateDeliveryMapOutput struct{ *pulumi.OutputState }

func (AggregateDeliveryMapOutput) ElementType added in v3.22.0

func (AggregateDeliveryMapOutput) ElementType() reflect.Type

func (AggregateDeliveryMapOutput) MapIndex added in v3.22.0

func (AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutput added in v3.22.0

func (o AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutput() AggregateDeliveryMapOutput

func (AggregateDeliveryMapOutput) ToAggregateDeliveryMapOutputWithContext added in v3.22.0

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

type AggregateDeliveryOutput added in v3.22.0

type AggregateDeliveryOutput struct{ *pulumi.OutputState }

func (AggregateDeliveryOutput) AggregatorId added in v3.27.0

func (o AggregateDeliveryOutput) AggregatorId() pulumi.StringOutput

The ID of the Aggregator.

func (AggregateDeliveryOutput) ConfigurationItemChangeNotification added in v3.27.0

func (o AggregateDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput

Open or close delivery configuration change history.

func (AggregateDeliveryOutput) ConfigurationSnapshot added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

func (o AggregateDeliveryOutput) DeliveryChannelId() pulumi.StringOutput

The ID of the delivery method.

func (AggregateDeliveryOutput) DeliveryChannelName added in v3.27.0

func (o AggregateDeliveryOutput) DeliveryChannelName() pulumi.StringPtrOutput

The name of the delivery method.

func (AggregateDeliveryOutput) DeliveryChannelTargetArn added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

The description of the delivery method.

func (AggregateDeliveryOutput) ElementType added in v3.22.0

func (AggregateDeliveryOutput) ElementType() reflect.Type

func (AggregateDeliveryOutput) NonCompliantNotification added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

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 added in v3.22.0

func (o AggregateDeliveryOutput) ToAggregateDeliveryOutput() AggregateDeliveryOutput

func (AggregateDeliveryOutput) ToAggregateDeliveryOutputWithContext added in v3.22.0

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

type AggregateDeliveryState added in v3.22.0

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 added in v3.22.0

func (AggregateDeliveryState) ElementType() reflect.Type

type Aggregator added in v3.3.0

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. See `aggregatorAccounts` below.  **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/cloud-config/latest/api-config-2020-09-07-createaggregator).

> **NOTE:** Available since v1.124.0.

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf_example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := resourcemanager.GetAccounts(ctx, &resourcemanager.GetAccountsArgs{
			Status: pulumi.StringRef("CreateSuccess"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = cfg.NewAggregator(ctx, "default", &cfg.AggregatorArgs{
			AggregatorAccounts: cfg.AggregatorAggregatorAccountArray{
				&cfg.AggregatorAggregatorAccountArgs{
					AccountId:   pulumi.String(_default.Accounts[0].AccountId),
					AccountName: pulumi.String(_default.Accounts[0].DisplayName),
					AccountType: pulumi.String("ResourceDirectory"),
				},
			},
			AggregatorName: pulumi.String(name),
			Description:    pulumi.String(name),
			AggregatorType: pulumi.String("CUSTOM"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetAggregator added in v3.3.0

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

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

func NewAggregator added in v3.3.0

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

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

func (*Aggregator) ElementType added in v3.3.0

func (*Aggregator) ElementType() reflect.Type

func (*Aggregator) ToAggregatorOutput added in v3.3.0

func (i *Aggregator) ToAggregatorOutput() AggregatorOutput

func (*Aggregator) ToAggregatorOutputWithContext added in v3.3.0

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

type AggregatorAggregatorAccount added in v3.3.0

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

type AggregatorAggregatorAccountArgs added in v3.3.0

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

func (AggregatorAggregatorAccountArgs) ElementType added in v3.3.0

func (AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutput added in v3.3.0

func (i AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput

func (AggregatorAggregatorAccountArgs) ToAggregatorAggregatorAccountOutputWithContext added in v3.3.0

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

type AggregatorAggregatorAccountArray added in v3.3.0

type AggregatorAggregatorAccountArray []AggregatorAggregatorAccountInput

func (AggregatorAggregatorAccountArray) ElementType added in v3.3.0

func (AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutput added in v3.3.0

func (i AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput

func (AggregatorAggregatorAccountArray) ToAggregatorAggregatorAccountArrayOutputWithContext added in v3.3.0

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

type AggregatorAggregatorAccountArrayInput added in v3.3.0

type AggregatorAggregatorAccountArrayInput interface {
	pulumi.Input

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

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

AggregatorAggregatorAccountArray{ AggregatorAggregatorAccountArgs{...} }

type AggregatorAggregatorAccountArrayOutput added in v3.3.0

type AggregatorAggregatorAccountArrayOutput struct{ *pulumi.OutputState }

func (AggregatorAggregatorAccountArrayOutput) ElementType added in v3.3.0

func (AggregatorAggregatorAccountArrayOutput) Index added in v3.3.0

func (AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutput added in v3.3.0

func (o AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutput() AggregatorAggregatorAccountArrayOutput

func (AggregatorAggregatorAccountArrayOutput) ToAggregatorAggregatorAccountArrayOutputWithContext added in v3.3.0

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

type AggregatorAggregatorAccountInput added in v3.3.0

type AggregatorAggregatorAccountInput interface {
	pulumi.Input

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

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

AggregatorAggregatorAccountArgs{...}

type AggregatorAggregatorAccountOutput added in v3.3.0

type AggregatorAggregatorAccountOutput struct{ *pulumi.OutputState }

func (AggregatorAggregatorAccountOutput) AccountId added in v3.3.0

Aggregator account Uid.

func (AggregatorAggregatorAccountOutput) AccountName added in v3.3.0

Aggregator account name.

func (AggregatorAggregatorAccountOutput) AccountType added in v3.3.0

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

func (AggregatorAggregatorAccountOutput) ElementType added in v3.3.0

func (AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutput added in v3.3.0

func (o AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutput() AggregatorAggregatorAccountOutput

func (AggregatorAggregatorAccountOutput) ToAggregatorAggregatorAccountOutputWithContext added in v3.3.0

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

type AggregatorArgs added in v3.3.0

type AggregatorArgs struct {
	// The information of account in aggregator. If the aggregatorType is RD, it is optional and means add all members in the resource directory to the account group. See `aggregatorAccounts` below.  **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 added in v3.3.0

func (AggregatorArgs) ElementType() reflect.Type

type AggregatorArray added in v3.3.0

type AggregatorArray []AggregatorInput

func (AggregatorArray) ElementType added in v3.3.0

func (AggregatorArray) ElementType() reflect.Type

func (AggregatorArray) ToAggregatorArrayOutput added in v3.3.0

func (i AggregatorArray) ToAggregatorArrayOutput() AggregatorArrayOutput

func (AggregatorArray) ToAggregatorArrayOutputWithContext added in v3.3.0

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

type AggregatorArrayInput added in v3.3.0

type AggregatorArrayInput interface {
	pulumi.Input

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

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

AggregatorArray{ AggregatorArgs{...} }

type AggregatorArrayOutput added in v3.3.0

type AggregatorArrayOutput struct{ *pulumi.OutputState }

func (AggregatorArrayOutput) ElementType added in v3.3.0

func (AggregatorArrayOutput) ElementType() reflect.Type

func (AggregatorArrayOutput) Index added in v3.3.0

func (AggregatorArrayOutput) ToAggregatorArrayOutput added in v3.3.0

func (o AggregatorArrayOutput) ToAggregatorArrayOutput() AggregatorArrayOutput

func (AggregatorArrayOutput) ToAggregatorArrayOutputWithContext added in v3.3.0

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

type AggregatorInput added in v3.3.0

type AggregatorInput interface {
	pulumi.Input

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

type AggregatorMap added in v3.3.0

type AggregatorMap map[string]AggregatorInput

func (AggregatorMap) ElementType added in v3.3.0

func (AggregatorMap) ElementType() reflect.Type

func (AggregatorMap) ToAggregatorMapOutput added in v3.3.0

func (i AggregatorMap) ToAggregatorMapOutput() AggregatorMapOutput

func (AggregatorMap) ToAggregatorMapOutputWithContext added in v3.3.0

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

type AggregatorMapInput added in v3.3.0

type AggregatorMapInput interface {
	pulumi.Input

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

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

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

type AggregatorMapOutput added in v3.3.0

type AggregatorMapOutput struct{ *pulumi.OutputState }

func (AggregatorMapOutput) ElementType added in v3.3.0

func (AggregatorMapOutput) ElementType() reflect.Type

func (AggregatorMapOutput) MapIndex added in v3.3.0

func (AggregatorMapOutput) ToAggregatorMapOutput added in v3.3.0

func (o AggregatorMapOutput) ToAggregatorMapOutput() AggregatorMapOutput

func (AggregatorMapOutput) ToAggregatorMapOutputWithContext added in v3.3.0

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

type AggregatorOutput added in v3.3.0

type AggregatorOutput struct{ *pulumi.OutputState }

func (AggregatorOutput) AggregatorAccounts added in v3.27.0

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. See `aggregatorAccounts` below. **NOTE:** the field `aggregatorAccounts` is not required from version 1.148.0.

func (AggregatorOutput) AggregatorName added in v3.27.0

func (o AggregatorOutput) AggregatorName() pulumi.StringOutput

The name of aggregator.

func (AggregatorOutput) AggregatorType added in v3.27.0

func (o AggregatorOutput) AggregatorType() pulumi.StringOutput

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

func (AggregatorOutput) Description added in v3.27.0

func (o AggregatorOutput) Description() pulumi.StringOutput

The description of aggregator.

func (AggregatorOutput) ElementType added in v3.3.0

func (AggregatorOutput) ElementType() reflect.Type

func (AggregatorOutput) Status added in v3.27.0

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

func (AggregatorOutput) ToAggregatorOutput added in v3.3.0

func (o AggregatorOutput) ToAggregatorOutput() AggregatorOutput

func (AggregatorOutput) ToAggregatorOutputWithContext added in v3.3.0

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

type AggregatorState added in v3.3.0

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. See `aggregatorAccounts` below.  **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 added in v3.3.0

func (AggregatorState) ElementType() reflect.Type

type CompliancePack added in v3.3.0

type CompliancePack struct {
	pulumi.CustomResourceState

	// The Compliance Package Name. **NOTE:** From version 1.146.0, `compliancePackName` can be modified.
	CompliancePackName pulumi.StringOutput `pulumi:"compliancePackName"`
	// Compliance Package Template Id.
	CompliancePackTemplateId pulumi.StringPtrOutput `pulumi:"compliancePackTemplateId"`
	// A list of Config Rule IDs. See `configRuleIds` below.
	ConfigRuleIds CompliancePackConfigRuleIdArrayOutput `pulumi:"configRuleIds"`
	// A list of Config Rules. See `configRules` below. **NOTE:** Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	//
	// Deprecated: Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	ConfigRules CompliancePackConfigRuleArrayOutput `pulumi:"configRules"`
	// The Description of compliance pack.
	Description pulumi.StringOutput `pulumi:"description"`
	// The Risk Level. Valid values:
	RiskLevel pulumi.IntOutput `pulumi:"riskLevel"`
	// The status of the Compliance Pack.
	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/cloud-config/latest/api-config-2020-09-07-createcompliancepack).

> **NOTE:** Available since v1.124.0.

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example-config-name"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
			Current: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		rule1, err := cfg.NewRule(ctx, "rule1", &cfg.RuleArgs{
			Description:               pulumi.String(name),
			SourceOwner:               pulumi.String("ALIYUN"),
			SourceIdentifier:          pulumi.String("ram-user-ak-create-date-expired-check"),
			RiskLevel:                 pulumi.Int(1),
			MaximumExecutionFrequency: pulumi.String("TwentyFour_Hours"),
			RegionIdsScope:            pulumi.String(_default.Regions[0].Id),
			ConfigRuleTriggerTypes:    pulumi.String("ScheduledNotification"),
			ResourceTypesScopes: pulumi.StringArray{
				pulumi.String("ACS::RAM::User"),
			},
			RuleName: pulumi.String("ciscompliancecheck_ram-user-ak-create-date-expired-check"),
			InputParameters: pulumi.Map{
				"days": pulumi.Any("90"),
			},
		})
		if err != nil {
			return err
		}
		rule2, err := cfg.NewRule(ctx, "rule2", &cfg.RuleArgs{
			Description:            pulumi.String(name),
			SourceOwner:            pulumi.String("ALIYUN"),
			SourceIdentifier:       pulumi.String("adb-cluster-maintain-time-check"),
			RiskLevel:              pulumi.Int(2),
			RegionIdsScope:         pulumi.String(_default.Regions[0].Id),
			ConfigRuleTriggerTypes: pulumi.String("ScheduledNotification"),
			ResourceTypesScopes: pulumi.StringArray{
				pulumi.String("ACS::ADB::DBCluster"),
			},
			RuleName: pulumi.String("governance-evaluation-adb-cluster-maintain-time-check"),
			InputParameters: pulumi.Map{
				"maintainTimes": pulumi.Any("02:00-04:00,06:00-08:00,12:00-13:00"),
			},
		})
		if err != nil {
			return err
		}
		_, err = cfg.NewCompliancePack(ctx, "default", &cfg.CompliancePackArgs{
			CompliancePackName: pulumi.String(name),
			Description:        pulumi.String("CloudGovernanceCenter evaluation"),
			RiskLevel:          pulumi.Int(2),
			ConfigRuleIds: cfg.CompliancePackConfigRuleIdArray{
				&cfg.CompliancePackConfigRuleIdArgs{
					ConfigRuleId: rule1.ID(),
				},
				&cfg.CompliancePackConfigRuleIdArgs{
					ConfigRuleId: rule2.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetCompliancePack added in v3.3.0

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

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

func NewCompliancePack added in v3.3.0

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

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

func (*CompliancePack) ElementType added in v3.3.0

func (*CompliancePack) ElementType() reflect.Type

func (*CompliancePack) ToCompliancePackOutput added in v3.3.0

func (i *CompliancePack) ToCompliancePackOutput() CompliancePackOutput

func (*CompliancePack) ToCompliancePackOutputWithContext added in v3.3.0

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

type CompliancePackArgs added in v3.3.0

type CompliancePackArgs struct {
	// The Compliance Package Name. **NOTE:** From version 1.146.0, `compliancePackName` can be modified.
	CompliancePackName pulumi.StringInput
	// Compliance Package Template Id.
	CompliancePackTemplateId pulumi.StringPtrInput
	// A list of Config Rule IDs. See `configRuleIds` below.
	ConfigRuleIds CompliancePackConfigRuleIdArrayInput
	// A list of Config Rules. See `configRules` below. **NOTE:** Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	//
	// Deprecated: Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	ConfigRules CompliancePackConfigRuleArrayInput
	// The Description of compliance pack.
	Description pulumi.StringInput
	// The Risk Level. Valid values:
	RiskLevel pulumi.IntInput
}

The set of arguments for constructing a CompliancePack resource.

func (CompliancePackArgs) ElementType added in v3.3.0

func (CompliancePackArgs) ElementType() reflect.Type

type CompliancePackArray added in v3.3.0

type CompliancePackArray []CompliancePackInput

func (CompliancePackArray) ElementType added in v3.3.0

func (CompliancePackArray) ElementType() reflect.Type

func (CompliancePackArray) ToCompliancePackArrayOutput added in v3.3.0

func (i CompliancePackArray) ToCompliancePackArrayOutput() CompliancePackArrayOutput

func (CompliancePackArray) ToCompliancePackArrayOutputWithContext added in v3.3.0

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

type CompliancePackArrayInput added in v3.3.0

type CompliancePackArrayInput interface {
	pulumi.Input

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

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

CompliancePackArray{ CompliancePackArgs{...} }

type CompliancePackArrayOutput added in v3.3.0

type CompliancePackArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackArrayOutput) ElementType added in v3.3.0

func (CompliancePackArrayOutput) ElementType() reflect.Type

func (CompliancePackArrayOutput) Index added in v3.3.0

func (CompliancePackArrayOutput) ToCompliancePackArrayOutput added in v3.3.0

func (o CompliancePackArrayOutput) ToCompliancePackArrayOutput() CompliancePackArrayOutput

func (CompliancePackArrayOutput) ToCompliancePackArrayOutputWithContext added in v3.3.0

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

type CompliancePackConfigRule added in v3.3.0

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

type CompliancePackConfigRuleArgs added in v3.3.0

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

func (CompliancePackConfigRuleArgs) ElementType added in v3.3.0

func (CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutput added in v3.3.0

func (i CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput

func (CompliancePackConfigRuleArgs) ToCompliancePackConfigRuleOutputWithContext added in v3.3.0

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

type CompliancePackConfigRuleArray added in v3.3.0

type CompliancePackConfigRuleArray []CompliancePackConfigRuleInput

func (CompliancePackConfigRuleArray) ElementType added in v3.3.0

func (CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutput added in v3.3.0

func (i CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput

func (CompliancePackConfigRuleArray) ToCompliancePackConfigRuleArrayOutputWithContext added in v3.3.0

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

type CompliancePackConfigRuleArrayInput added in v3.3.0

type CompliancePackConfigRuleArrayInput interface {
	pulumi.Input

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

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

CompliancePackConfigRuleArray{ CompliancePackConfigRuleArgs{...} }

type CompliancePackConfigRuleArrayOutput added in v3.3.0

type CompliancePackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleArrayOutput) ElementType added in v3.3.0

func (CompliancePackConfigRuleArrayOutput) Index added in v3.3.0

func (CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutput added in v3.3.0

func (o CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutput() CompliancePackConfigRuleArrayOutput

func (CompliancePackConfigRuleArrayOutput) ToCompliancePackConfigRuleArrayOutputWithContext added in v3.3.0

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

type CompliancePackConfigRuleConfigRuleParameter added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameter struct {
	ParameterName  *string `pulumi:"parameterName"`
	ParameterValue *string `pulumi:"parameterValue"`
}

type CompliancePackConfigRuleConfigRuleParameterArgs added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterArgs struct {
	ParameterName  pulumi.StringPtrInput `pulumi:"parameterName"`
	ParameterValue pulumi.StringPtrInput `pulumi:"parameterValue"`
}

func (CompliancePackConfigRuleConfigRuleParameterArgs) ElementType added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (i CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput

func (CompliancePackConfigRuleConfigRuleParameterArgs) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

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

type CompliancePackConfigRuleConfigRuleParameterArray added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterArray []CompliancePackConfigRuleConfigRuleParameterInput

func (CompliancePackConfigRuleConfigRuleParameterArray) ElementType added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (i CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput() CompliancePackConfigRuleConfigRuleParameterArrayOutput

func (CompliancePackConfigRuleConfigRuleParameterArray) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

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

type CompliancePackConfigRuleConfigRuleParameterArrayInput added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterArrayInput interface {
	pulumi.Input

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

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

CompliancePackConfigRuleConfigRuleParameterArray{ CompliancePackConfigRuleConfigRuleParameterArgs{...} }

type CompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ElementType added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) Index added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterArrayOutput) ToCompliancePackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

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

type CompliancePackConfigRuleConfigRuleParameterInput added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterInput interface {
	pulumi.Input

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

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

CompliancePackConfigRuleConfigRuleParameterArgs{...}

type CompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

type CompliancePackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleConfigRuleParameterOutput) ElementType added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterOutput) ParameterName added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterOutput) ParameterValue added in v3.3.0

func (CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (o CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutput() CompliancePackConfigRuleConfigRuleParameterOutput

func (CompliancePackConfigRuleConfigRuleParameterOutput) ToCompliancePackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

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

type CompliancePackConfigRuleId added in v3.9.0

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

type CompliancePackConfigRuleIdArgs added in v3.9.0

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

func (CompliancePackConfigRuleIdArgs) ElementType added in v3.9.0

func (CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutput added in v3.9.0

func (i CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput

func (CompliancePackConfigRuleIdArgs) ToCompliancePackConfigRuleIdOutputWithContext added in v3.9.0

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

type CompliancePackConfigRuleIdArray added in v3.9.0

type CompliancePackConfigRuleIdArray []CompliancePackConfigRuleIdInput

func (CompliancePackConfigRuleIdArray) ElementType added in v3.9.0

func (CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutput added in v3.9.0

func (i CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput

func (CompliancePackConfigRuleIdArray) ToCompliancePackConfigRuleIdArrayOutputWithContext added in v3.9.0

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

type CompliancePackConfigRuleIdArrayInput added in v3.9.0

type CompliancePackConfigRuleIdArrayInput interface {
	pulumi.Input

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

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

CompliancePackConfigRuleIdArray{ CompliancePackConfigRuleIdArgs{...} }

type CompliancePackConfigRuleIdArrayOutput added in v3.9.0

type CompliancePackConfigRuleIdArrayOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleIdArrayOutput) ElementType added in v3.9.0

func (CompliancePackConfigRuleIdArrayOutput) Index added in v3.9.0

func (CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutput added in v3.9.0

func (o CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutput() CompliancePackConfigRuleIdArrayOutput

func (CompliancePackConfigRuleIdArrayOutput) ToCompliancePackConfigRuleIdArrayOutputWithContext added in v3.9.0

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

type CompliancePackConfigRuleIdInput added in v3.9.0

type CompliancePackConfigRuleIdInput interface {
	pulumi.Input

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

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

CompliancePackConfigRuleIdArgs{...}

type CompliancePackConfigRuleIdOutput added in v3.9.0

type CompliancePackConfigRuleIdOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleIdOutput) ConfigRuleId added in v3.9.0

The rule ID of Config Rule.

func (CompliancePackConfigRuleIdOutput) ElementType added in v3.9.0

func (CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutput added in v3.9.0

func (o CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutput() CompliancePackConfigRuleIdOutput

func (CompliancePackConfigRuleIdOutput) ToCompliancePackConfigRuleIdOutputWithContext added in v3.9.0

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

type CompliancePackConfigRuleInput added in v3.3.0

type CompliancePackConfigRuleInput interface {
	pulumi.Input

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

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

CompliancePackConfigRuleArgs{...}

type CompliancePackConfigRuleOutput added in v3.3.0

type CompliancePackConfigRuleOutput struct{ *pulumi.OutputState }

func (CompliancePackConfigRuleOutput) ConfigRuleParameters added in v3.3.0

A list of Config Rule Parameters. See `configRuleParameters` below.

func (CompliancePackConfigRuleOutput) ElementType added in v3.3.0

func (CompliancePackConfigRuleOutput) ManagedRuleIdentifier added in v3.3.0

func (o CompliancePackConfigRuleOutput) ManagedRuleIdentifier() pulumi.StringOutput

The Managed Rule Identifier.

func (CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutput added in v3.3.0

func (o CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutput() CompliancePackConfigRuleOutput

func (CompliancePackConfigRuleOutput) ToCompliancePackConfigRuleOutputWithContext added in v3.3.0

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

type CompliancePackInput added in v3.3.0

type CompliancePackInput interface {
	pulumi.Input

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

type CompliancePackMap added in v3.3.0

type CompliancePackMap map[string]CompliancePackInput

func (CompliancePackMap) ElementType added in v3.3.0

func (CompliancePackMap) ElementType() reflect.Type

func (CompliancePackMap) ToCompliancePackMapOutput added in v3.3.0

func (i CompliancePackMap) ToCompliancePackMapOutput() CompliancePackMapOutput

func (CompliancePackMap) ToCompliancePackMapOutputWithContext added in v3.3.0

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

type CompliancePackMapInput added in v3.3.0

type CompliancePackMapInput interface {
	pulumi.Input

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

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

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

type CompliancePackMapOutput added in v3.3.0

type CompliancePackMapOutput struct{ *pulumi.OutputState }

func (CompliancePackMapOutput) ElementType added in v3.3.0

func (CompliancePackMapOutput) ElementType() reflect.Type

func (CompliancePackMapOutput) MapIndex added in v3.3.0

func (CompliancePackMapOutput) ToCompliancePackMapOutput added in v3.3.0

func (o CompliancePackMapOutput) ToCompliancePackMapOutput() CompliancePackMapOutput

func (CompliancePackMapOutput) ToCompliancePackMapOutputWithContext added in v3.3.0

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

type CompliancePackOutput added in v3.3.0

type CompliancePackOutput struct{ *pulumi.OutputState }

func (CompliancePackOutput) CompliancePackName added in v3.27.0

func (o CompliancePackOutput) CompliancePackName() pulumi.StringOutput

The Compliance Package Name. **NOTE:** From version 1.146.0, `compliancePackName` can be modified.

func (CompliancePackOutput) CompliancePackTemplateId added in v3.27.0

func (o CompliancePackOutput) CompliancePackTemplateId() pulumi.StringPtrOutput

Compliance Package Template Id.

func (CompliancePackOutput) ConfigRuleIds added in v3.27.0

A list of Config Rule IDs. See `configRuleIds` below.

func (CompliancePackOutput) ConfigRules deprecated added in v3.27.0

A list of Config Rules. See `configRules` below. **NOTE:** Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.

Deprecated: Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.

func (CompliancePackOutput) Description added in v3.27.0

func (o CompliancePackOutput) Description() pulumi.StringOutput

The Description of compliance pack.

func (CompliancePackOutput) ElementType added in v3.3.0

func (CompliancePackOutput) ElementType() reflect.Type

func (CompliancePackOutput) RiskLevel added in v3.27.0

func (o CompliancePackOutput) RiskLevel() pulumi.IntOutput

The Risk Level. Valid values:

func (CompliancePackOutput) Status added in v3.27.0

The status of the Compliance Pack.

func (CompliancePackOutput) ToCompliancePackOutput added in v3.3.0

func (o CompliancePackOutput) ToCompliancePackOutput() CompliancePackOutput

func (CompliancePackOutput) ToCompliancePackOutputWithContext added in v3.3.0

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

type CompliancePackState added in v3.3.0

type CompliancePackState struct {
	// The Compliance Package Name. **NOTE:** From version 1.146.0, `compliancePackName` can be modified.
	CompliancePackName pulumi.StringPtrInput
	// Compliance Package Template Id.
	CompliancePackTemplateId pulumi.StringPtrInput
	// A list of Config Rule IDs. See `configRuleIds` below.
	ConfigRuleIds CompliancePackConfigRuleIdArrayInput
	// A list of Config Rules. See `configRules` below. **NOTE:** Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	//
	// Deprecated: Field `configRules` has been deprecated from provider version 1.141.0. New field `configRuleIds` instead.
	ConfigRules CompliancePackConfigRuleArrayInput
	// The Description of compliance pack.
	Description pulumi.StringPtrInput
	// The Risk Level. Valid values:
	RiskLevel pulumi.IntPtrInput
	// The status of the Compliance Pack.
	Status pulumi.StringPtrInput
}

func (CompliancePackState) ElementType added in v3.3.0

func (CompliancePackState) ElementType() reflect.Type

type ConfigurationRecorder

type ConfigurationRecorder struct {
	pulumi.CustomResourceState

	// Whether to use the enterprise version configuration audit. Valid values: `true` and `false`. Default value `false`. For enterprise accounts, We recommend you to use the resource alicloud_config_aggregator.
	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/cloud-config/latest/startconfigurationrecorder)

> **NOTE:** Available since v1.99.0.

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cfg.NewConfigurationRecorder(ctx, "example", &cfg.ConfigurationRecorderArgs{
			ResourceTypes: pulumi.StringArray{
				pulumi.String("ACS::ECS::Instance"),
				pulumi.String("ACS::ECS::Disk"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetConfigurationRecorder

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

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

func NewConfigurationRecorder

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

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

func (*ConfigurationRecorder) ElementType

func (*ConfigurationRecorder) ElementType() reflect.Type

func (*ConfigurationRecorder) ToConfigurationRecorderOutput

func (i *ConfigurationRecorder) ToConfigurationRecorderOutput() ConfigurationRecorderOutput

func (*ConfigurationRecorder) ToConfigurationRecorderOutputWithContext

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

type ConfigurationRecorderArgs

type ConfigurationRecorderArgs struct {
	// Whether to use the enterprise version configuration audit. Valid values: `true` and `false`. Default value `false`. For enterprise accounts, We recommend you to use the resource alicloud_config_aggregator.
	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 added in v3.27.0

func (o ConfigurationRecorderOutput) EnterpriseEdition() pulumi.BoolOutput

Whether to use the enterprise version configuration audit. Valid values: `true` and `false`. Default value `false`. For enterprise accounts, We recommend you to use the resource alicloud_config_aggregator.

func (ConfigurationRecorderOutput) OrganizationEnableStatus added in v3.27.0

func (o ConfigurationRecorderOutput) OrganizationEnableStatus() pulumi.StringOutput

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

func (ConfigurationRecorderOutput) OrganizationMasterId added in v3.27.0

func (o ConfigurationRecorderOutput) OrganizationMasterId() pulumi.IntOutput

The ID of the Enterprise management account.

func (ConfigurationRecorderOutput) ResourceTypes added in v3.27.0

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 added in v3.27.0

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 {
	// Whether to use the enterprise version configuration audit. Valid values: `true` and `false`. Default value `false`. For enterprise accounts, We recommend you to use the resource alicloud_config_aggregator.
	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 added in v3.21.0

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://www.alibabacloud.com/help/en/cloud-config/latest/api-config-2020-09-07-createconfigdeliverychannel).

> **NOTE:** Available since v1.171.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example-sls"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		this, err := alicloud.GetAccount(ctx, nil, nil)
		if err != nil {
			return err
		}
		thisGetRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
			Current: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		_, err = log.NewProject(ctx, "default", &log.ProjectArgs{
			Name: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultStore, err := log.NewStore(ctx, "default", &log.StoreArgs{
			Name:    pulumi.String(name),
			Project: _default.Name,
		})
		if err != nil {
			return err
		}
		_, err = cfg.NewDelivery(ctx, "default", &cfg.DeliveryArgs{
			ConfigurationItemChangeNotification: pulumi.Bool(true),
			NonCompliantNotification:            pulumi.Bool(true),
			DeliveryChannelName:                 pulumi.String(name),
			DeliveryChannelTargetArn: pulumi.All(_default.Name, defaultStore.Name).ApplyT(func(_args []interface{}) (string, error) {
				defaultName := _args[0].(string)
				defaultStoreName := _args[1].(string)
				return fmt.Sprintf("acs:log:%v:%v:project/%v/logstore/%v", thisGetRegions.Ids[0], this.Id, defaultName, defaultStoreName), nil
			}).(pulumi.StringOutput),
			DeliveryChannelType: pulumi.String("SLS"),
			Description:         pulumi.String(name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetDelivery added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

func (*Delivery) ElementType() reflect.Type

func (*Delivery) ToDeliveryOutput added in v3.21.0

func (i *Delivery) ToDeliveryOutput() DeliveryOutput

func (*Delivery) ToDeliveryOutputWithContext added in v3.21.0

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

type DeliveryArgs added in v3.21.0

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 added in v3.21.0

func (DeliveryArgs) ElementType() reflect.Type

type DeliveryArray added in v3.21.0

type DeliveryArray []DeliveryInput

func (DeliveryArray) ElementType added in v3.21.0

func (DeliveryArray) ElementType() reflect.Type

func (DeliveryArray) ToDeliveryArrayOutput added in v3.21.0

func (i DeliveryArray) ToDeliveryArrayOutput() DeliveryArrayOutput

func (DeliveryArray) ToDeliveryArrayOutputWithContext added in v3.21.0

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

type DeliveryArrayInput added in v3.21.0

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 added in v3.21.0

type DeliveryArrayOutput struct{ *pulumi.OutputState }

func (DeliveryArrayOutput) ElementType added in v3.21.0

func (DeliveryArrayOutput) ElementType() reflect.Type

func (DeliveryArrayOutput) Index added in v3.21.0

func (DeliveryArrayOutput) ToDeliveryArrayOutput added in v3.21.0

func (o DeliveryArrayOutput) ToDeliveryArrayOutput() DeliveryArrayOutput

func (DeliveryArrayOutput) ToDeliveryArrayOutputWithContext added in v3.21.0

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

## Example Usage

## 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 added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

func (o DeliveryChannelOutput) DeliveryChannelName() pulumi.StringOutput

The name of the delivery channel.

func (DeliveryChannelOutput) DeliveryChannelTargetArn added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

func (o DeliveryChannelOutput) Description() pulumi.StringOutput

The description of the delivery method.

func (DeliveryChannelOutput) ElementType

func (DeliveryChannelOutput) ElementType() reflect.Type

func (DeliveryChannelOutput) Status added in v3.27.0

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 added in v3.21.0

type DeliveryInput interface {
	pulumi.Input

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

type DeliveryMap added in v3.21.0

type DeliveryMap map[string]DeliveryInput

func (DeliveryMap) ElementType added in v3.21.0

func (DeliveryMap) ElementType() reflect.Type

func (DeliveryMap) ToDeliveryMapOutput added in v3.21.0

func (i DeliveryMap) ToDeliveryMapOutput() DeliveryMapOutput

func (DeliveryMap) ToDeliveryMapOutputWithContext added in v3.21.0

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

type DeliveryMapInput added in v3.21.0

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 added in v3.21.0

type DeliveryMapOutput struct{ *pulumi.OutputState }

func (DeliveryMapOutput) ElementType added in v3.21.0

func (DeliveryMapOutput) ElementType() reflect.Type

func (DeliveryMapOutput) MapIndex added in v3.21.0

func (DeliveryMapOutput) ToDeliveryMapOutput added in v3.21.0

func (o DeliveryMapOutput) ToDeliveryMapOutput() DeliveryMapOutput

func (DeliveryMapOutput) ToDeliveryMapOutputWithContext added in v3.21.0

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

type DeliveryOutput added in v3.21.0

type DeliveryOutput struct{ *pulumi.OutputState }

func (DeliveryOutput) ConfigurationItemChangeNotification added in v3.27.0

func (o DeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput

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

func (DeliveryOutput) ConfigurationSnapshot added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

func (o DeliveryOutput) DeliveryChannelName() pulumi.StringPtrOutput

The name of the delivery method.

func (DeliveryOutput) DeliveryChannelTargetArn added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

func (o DeliveryOutput) Description() pulumi.StringPtrOutput

The description of the delivery method.

func (DeliveryOutput) ElementType added in v3.21.0

func (DeliveryOutput) ElementType() reflect.Type

func (DeliveryOutput) NonCompliantNotification added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

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 added in v3.21.0

func (o DeliveryOutput) ToDeliveryOutput() DeliveryOutput

func (DeliveryOutput) ToDeliveryOutputWithContext added in v3.21.0

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

type DeliveryState added in v3.21.0

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 added in v3.21.0

func (DeliveryState) ElementType() reflect.Type

type GetAggregateCompliancePacksArgs added in v3.3.0

type GetAggregateCompliancePacksArgs struct {
	// The ID of aggregator.
	AggregatorId string `pulumi:"aggregatorId"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Aggregate Compliance Pack IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Aggregate Compliance Pack name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.9.0

type GetAggregateCompliancePacksOutputArgs struct {
	// The ID of aggregator.
	AggregatorId pulumi.StringInput `pulumi:"aggregatorId"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Aggregate Compliance Pack IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Aggregate Compliance Pack name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.9.0

type GetAggregateCompliancePacksPack added in v3.3.0

type GetAggregateCompliancePacksPack struct {
	// The Aliyun User Id.
	AccountId string `pulumi:"accountId"`
	// The Aggregate Compliance Package Name.
	AggregateCompliancePackName string `pulumi:"aggregateCompliancePackName"`
	// The Aggregate Compliance Package Id.
	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 added in v3.3.0

type GetAggregateCompliancePacksPackArgs struct {
	// The Aliyun User Id.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The Aggregate Compliance Package Name.
	AggregateCompliancePackName pulumi.StringInput `pulumi:"aggregateCompliancePackName"`
	// The Aggregate Compliance Package Id.
	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 added in v3.3.0

func (GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutput added in v3.3.0

func (i GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput

func (GetAggregateCompliancePacksPackArgs) ToGetAggregateCompliancePacksPackOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackArray added in v3.3.0

type GetAggregateCompliancePacksPackArray []GetAggregateCompliancePacksPackInput

func (GetAggregateCompliancePacksPackArray) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutput added in v3.3.0

func (i GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput

func (GetAggregateCompliancePacksPackArray) ToGetAggregateCompliancePacksPackArrayOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackArrayInput added in v3.3.0

type GetAggregateCompliancePacksPackArrayInput interface {
	pulumi.Input

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

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

GetAggregateCompliancePacksPackArray{ GetAggregateCompliancePacksPackArgs{...} }

type GetAggregateCompliancePacksPackArrayOutput added in v3.3.0

type GetAggregateCompliancePacksPackArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackArrayOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackArrayOutput) Index added in v3.3.0

func (GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutput added in v3.3.0

func (o GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutput() GetAggregateCompliancePacksPackArrayOutput

func (GetAggregateCompliancePacksPackArrayOutput) ToGetAggregateCompliancePacksPackArrayOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackConfigRule added in v3.3.0

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

type GetAggregateCompliancePacksPackConfigRuleArgs added in v3.3.0

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

func (GetAggregateCompliancePacksPackConfigRuleArgs) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutput added in v3.3.0

func (i GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput

func (GetAggregateCompliancePacksPackConfigRuleArgs) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackConfigRuleArray added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleArray []GetAggregateCompliancePacksPackConfigRuleInput

func (GetAggregateCompliancePacksPackConfigRuleArray) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

func (i GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput() GetAggregateCompliancePacksPackConfigRuleArrayOutput

func (GetAggregateCompliancePacksPackConfigRuleArray) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackConfigRuleArrayInput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleArrayInput interface {
	pulumi.Input

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

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

GetAggregateCompliancePacksPackConfigRuleArray{ GetAggregateCompliancePacksPackConfigRuleArgs{...} }

type GetAggregateCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) Index added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleArrayOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameter added in v3.3.0

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs added in v3.3.0

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

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray []GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayInput interface {
	pulumi.Input

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

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

GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArray{ GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs{...} }

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) Index added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterInput interface {
	pulumi.Input

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

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

GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterArgs{...}

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName added in v3.3.0

The Parameter Name.

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue added in v3.3.0

The Parameter Value.

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required added in v3.3.0

Required.

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetAggregateCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackConfigRuleInput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleInput interface {
	pulumi.Input

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

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

GetAggregateCompliancePacksPackConfigRuleArgs{...}

type GetAggregateCompliancePacksPackConfigRuleOutput added in v3.3.0

type GetAggregateCompliancePacksPackConfigRuleOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleId added in v3.3.0

The ID of the rule.

func (GetAggregateCompliancePacksPackConfigRuleOutput) ConfigRuleParameters added in v3.3.0

A list of parameter rules.

func (GetAggregateCompliancePacksPackConfigRuleOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier added in v3.3.0

Managed Rule Identifier.

func (GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutput added in v3.3.0

func (o GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutput() GetAggregateCompliancePacksPackConfigRuleOutput

func (GetAggregateCompliancePacksPackConfigRuleOutput) ToGetAggregateCompliancePacksPackConfigRuleOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksPackInput added in v3.3.0

type GetAggregateCompliancePacksPackInput interface {
	pulumi.Input

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

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

GetAggregateCompliancePacksPackArgs{...}

type GetAggregateCompliancePacksPackOutput added in v3.3.0

type GetAggregateCompliancePacksPackOutput struct{ *pulumi.OutputState }

func (GetAggregateCompliancePacksPackOutput) AccountId added in v3.3.0

The Aliyun User Id.

func (GetAggregateCompliancePacksPackOutput) AggregateCompliancePackName added in v3.3.0

func (o GetAggregateCompliancePacksPackOutput) AggregateCompliancePackName() pulumi.StringOutput

The Aggregate Compliance Package Name.

func (GetAggregateCompliancePacksPackOutput) AggregatorCompliancePackId added in v3.3.0

func (o GetAggregateCompliancePacksPackOutput) AggregatorCompliancePackId() pulumi.StringOutput

The Aggregate Compliance Package Id.

func (GetAggregateCompliancePacksPackOutput) CompliancePackTemplateId added in v3.3.0

func (o GetAggregateCompliancePacksPackOutput) CompliancePackTemplateId() pulumi.StringOutput

The template ID of the Compliance Package.

func (GetAggregateCompliancePacksPackOutput) ConfigRules added in v3.3.0

A list of The Aggregate Compliance Package Rules.

func (GetAggregateCompliancePacksPackOutput) Description added in v3.3.0

The description of aggregate compliance pack.

func (GetAggregateCompliancePacksPackOutput) ElementType added in v3.3.0

func (GetAggregateCompliancePacksPackOutput) Id added in v3.3.0

The ID of the Aggregate Compliance Pack.

func (GetAggregateCompliancePacksPackOutput) RiskLevel added in v3.3.0

The Risk Level.

func (GetAggregateCompliancePacksPackOutput) Status added in v3.3.0

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

func (GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutput added in v3.3.0

func (o GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutput() GetAggregateCompliancePacksPackOutput

func (GetAggregateCompliancePacksPackOutput) ToGetAggregateCompliancePacksPackOutputWithContext added in v3.3.0

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

type GetAggregateCompliancePacksResult added in v3.3.0

type GetAggregateCompliancePacksResult struct {
	AggregatorId  string `pulumi:"aggregatorId"`
	EnableDetails *bool  `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// 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 added in v3.3.0

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

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

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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 added in v3.9.0

type GetAggregateCompliancePacksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregateCompliancePacks.

func (GetAggregateCompliancePacksResultOutput) AggregatorId added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) ElementType added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) EnableDetails added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAggregateCompliancePacksResultOutput) Ids added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) NameRegex added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) Names added in v3.9.0

A list of Config Aggregate Compliance Pack names.

func (GetAggregateCompliancePacksResultOutput) OutputFile added in v3.9.0

func (GetAggregateCompliancePacksResultOutput) Packs added in v3.9.0

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

func (GetAggregateCompliancePacksResultOutput) Status added in v3.9.0

The status of the resource.

func (GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutput added in v3.9.0

func (o GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutput() GetAggregateCompliancePacksResultOutput

func (GetAggregateCompliancePacksResultOutput) ToGetAggregateCompliancePacksResultOutputWithContext added in v3.9.0

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

type GetAggregateConfigRulesArgs added in v3.3.0

type GetAggregateConfigRulesArgs struct {
	// The 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"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.9.0

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"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.9.0

type GetAggregateConfigRulesResult added in v3.3.0

type GetAggregateConfigRulesResult struct {
	// The name of the rule.
	AggregateConfigRuleName *string `pulumi:"aggregateConfigRuleName"`
	// The ID of Aggregator.
	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 added in v3.3.0

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

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

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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 added in v3.9.0

type GetAggregateConfigRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregateConfigRules.

func (GetAggregateConfigRulesResultOutput) AggregateConfigRuleName added in v3.9.0

func (o GetAggregateConfigRulesResultOutput) AggregateConfigRuleName() pulumi.StringPtrOutput

The name of the rule.

func (GetAggregateConfigRulesResultOutput) AggregatorId added in v3.9.0

The ID of Aggregator.

func (GetAggregateConfigRulesResultOutput) ElementType added in v3.9.0

func (GetAggregateConfigRulesResultOutput) EnableDetails added in v3.9.0

func (GetAggregateConfigRulesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAggregateConfigRulesResultOutput) Ids added in v3.9.0

func (GetAggregateConfigRulesResultOutput) NameRegex added in v3.9.0

func (GetAggregateConfigRulesResultOutput) Names added in v3.9.0

A list of Aggregate Config Rule names.

func (GetAggregateConfigRulesResultOutput) OutputFile added in v3.9.0

func (GetAggregateConfigRulesResultOutput) RiskLevel added in v3.9.0

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

func (GetAggregateConfigRulesResultOutput) Rules added in v3.9.0

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

func (GetAggregateConfigRulesResultOutput) Status added in v3.9.0

The status of the rule.

func (GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutput added in v3.9.0

func (o GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutput() GetAggregateConfigRulesResultOutput

func (GetAggregateConfigRulesResultOutput) ToGetAggregateConfigRulesResultOutputWithContext added in v3.9.0

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

type GetAggregateConfigRulesRule added in v3.3.0

type GetAggregateConfigRulesRule struct {
	// The Aliyun User ID.
	AccountId string `pulumi:"accountId"`
	// The config rule name.
	AggregateConfigRuleName string `pulumi:"aggregateConfigRuleName"`
	// The ID of aggregator.
	AggregatorId string `pulumi:"aggregatorId"`
	// The ID of Compliance Package.
	CompliancePackId string `pulumi:"compliancePackId"`
	// The Compliance information.
	Compliances []GetAggregateConfigRulesRuleCompliance `pulumi:"compliances"`
	// The config rule arn.
	ConfigRuleArn string `pulumi:"configRuleArn"`
	// The ID of the rule.
	ConfigRuleId string `pulumi:"configRuleId"`
	// The trigger types of config rules.
	ConfigRuleTriggerTypes string `pulumi:"configRuleTriggerTypes"`
	// The description of the rule.
	Description string `pulumi:"description"`
	// Event source of the Config Rule.
	EventSource string `pulumi:"eventSource"`
	// The id of the resources to be evaluated against the rule.
	ExcludeResourceIdsScope string `pulumi:"excludeResourceIdsScope"`
	// The ID of the Aggregate Config Rule.
	Id string `pulumi:"id"`
	// The settings of the input parameters for the rule.
	InputParameters map[string]interface{} `pulumi:"inputParameters"`
	// The frequency of the compliance evaluations.
	MaximumExecutionFrequency string `pulumi:"maximumExecutionFrequency"`
	// The timestamp when the rule was last modified.
	ModifiedTimestamp string `pulumi:"modifiedTimestamp"`
	// The 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"`
	// The identifier of the managed rule or the arn of the custom function.
	SourceIdentifier string `pulumi:"sourceIdentifier"`
	// The source owner of the Config Rule.
	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 added in v3.3.0

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"`
	// The Compliance information.
	Compliances GetAggregateConfigRulesRuleComplianceArrayInput `pulumi:"compliances"`
	// The config rule arn.
	ConfigRuleArn pulumi.StringInput `pulumi:"configRuleArn"`
	// The ID of the rule.
	ConfigRuleId pulumi.StringInput `pulumi:"configRuleId"`
	// The trigger types of config rules.
	ConfigRuleTriggerTypes pulumi.StringInput `pulumi:"configRuleTriggerTypes"`
	// The description of the rule.
	Description pulumi.StringInput `pulumi:"description"`
	// Event source of the Config Rule.
	EventSource pulumi.StringInput `pulumi:"eventSource"`
	// The id of the resources to be evaluated against the rule.
	ExcludeResourceIdsScope pulumi.StringInput `pulumi:"excludeResourceIdsScope"`
	// The ID of the Aggregate Config Rule.
	Id pulumi.StringInput `pulumi:"id"`
	// The settings of the input parameters for the rule.
	InputParameters pulumi.MapInput `pulumi:"inputParameters"`
	// The frequency of the compliance evaluations.
	MaximumExecutionFrequency pulumi.StringInput `pulumi:"maximumExecutionFrequency"`
	// The timestamp when the rule was last modified.
	ModifiedTimestamp pulumi.StringInput `pulumi:"modifiedTimestamp"`
	// The 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"`
	// The identifier of the managed rule or the arn of the custom function.
	SourceIdentifier pulumi.StringInput `pulumi:"sourceIdentifier"`
	// The source owner of the Config Rule.
	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 added in v3.3.0

func (GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutput added in v3.3.0

func (i GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput

func (GetAggregateConfigRulesRuleArgs) ToGetAggregateConfigRulesRuleOutputWithContext added in v3.3.0

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

type GetAggregateConfigRulesRuleArray added in v3.3.0

type GetAggregateConfigRulesRuleArray []GetAggregateConfigRulesRuleInput

func (GetAggregateConfigRulesRuleArray) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutput added in v3.3.0

func (i GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput

func (GetAggregateConfigRulesRuleArray) ToGetAggregateConfigRulesRuleArrayOutputWithContext added in v3.3.0

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

type GetAggregateConfigRulesRuleArrayInput added in v3.3.0

type GetAggregateConfigRulesRuleArrayInput interface {
	pulumi.Input

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

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

GetAggregateConfigRulesRuleArray{ GetAggregateConfigRulesRuleArgs{...} }

type GetAggregateConfigRulesRuleArrayOutput added in v3.3.0

type GetAggregateConfigRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleArrayOutput) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleArrayOutput) Index added in v3.3.0

func (GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutput added in v3.3.0

func (o GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutput() GetAggregateConfigRulesRuleArrayOutput

func (GetAggregateConfigRulesRuleArrayOutput) ToGetAggregateConfigRulesRuleArrayOutputWithContext added in v3.3.0

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

type GetAggregateConfigRulesRuleCompliance added in v3.3.0

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

type GetAggregateConfigRulesRuleComplianceArgs added in v3.3.0

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

func (GetAggregateConfigRulesRuleComplianceArgs) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutput added in v3.3.0

func (i GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput

func (GetAggregateConfigRulesRuleComplianceArgs) ToGetAggregateConfigRulesRuleComplianceOutputWithContext added in v3.3.0

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

type GetAggregateConfigRulesRuleComplianceArray added in v3.3.0

type GetAggregateConfigRulesRuleComplianceArray []GetAggregateConfigRulesRuleComplianceInput

func (GetAggregateConfigRulesRuleComplianceArray) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutput added in v3.3.0

func (i GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput

func (GetAggregateConfigRulesRuleComplianceArray) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext added in v3.3.0

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

type GetAggregateConfigRulesRuleComplianceArrayInput added in v3.3.0

type GetAggregateConfigRulesRuleComplianceArrayInput interface {
	pulumi.Input

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

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

GetAggregateConfigRulesRuleComplianceArray{ GetAggregateConfigRulesRuleComplianceArgs{...} }

type GetAggregateConfigRulesRuleComplianceArrayOutput added in v3.3.0

type GetAggregateConfigRulesRuleComplianceArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleComplianceArrayOutput) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleComplianceArrayOutput) Index added in v3.3.0

func (GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutput added in v3.3.0

func (o GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutput() GetAggregateConfigRulesRuleComplianceArrayOutput

func (GetAggregateConfigRulesRuleComplianceArrayOutput) ToGetAggregateConfigRulesRuleComplianceArrayOutputWithContext added in v3.3.0

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

type GetAggregateConfigRulesRuleComplianceInput added in v3.3.0

type GetAggregateConfigRulesRuleComplianceInput interface {
	pulumi.Input

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

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

GetAggregateConfigRulesRuleComplianceArgs{...}

type GetAggregateConfigRulesRuleComplianceOutput added in v3.3.0

type GetAggregateConfigRulesRuleComplianceOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleComplianceOutput) ComplianceType added in v3.3.0

The Compliance Type.

func (GetAggregateConfigRulesRuleComplianceOutput) Count added in v3.3.0

The Count.

func (GetAggregateConfigRulesRuleComplianceOutput) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutput added in v3.3.0

func (o GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutput() GetAggregateConfigRulesRuleComplianceOutput

func (GetAggregateConfigRulesRuleComplianceOutput) ToGetAggregateConfigRulesRuleComplianceOutputWithContext added in v3.3.0

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

type GetAggregateConfigRulesRuleInput added in v3.3.0

type GetAggregateConfigRulesRuleInput interface {
	pulumi.Input

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

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

GetAggregateConfigRulesRuleArgs{...}

type GetAggregateConfigRulesRuleOutput added in v3.3.0

type GetAggregateConfigRulesRuleOutput struct{ *pulumi.OutputState }

func (GetAggregateConfigRulesRuleOutput) AccountId added in v3.3.0

The Aliyun User ID.

func (GetAggregateConfigRulesRuleOutput) AggregateConfigRuleName added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) AggregateConfigRuleName() pulumi.StringOutput

The config rule name.

func (GetAggregateConfigRulesRuleOutput) AggregatorId added in v3.11.0

The ID of aggregator.

func (GetAggregateConfigRulesRuleOutput) CompliancePackId added in v3.3.0

The ID of Compliance Package.

func (GetAggregateConfigRulesRuleOutput) Compliances added in v3.3.0

The Compliance information.

func (GetAggregateConfigRulesRuleOutput) ConfigRuleArn added in v3.3.0

The config rule arn.

func (GetAggregateConfigRulesRuleOutput) ConfigRuleId added in v3.3.0

The ID of the rule.

func (GetAggregateConfigRulesRuleOutput) ConfigRuleTriggerTypes added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput

The trigger types of config rules.

func (GetAggregateConfigRulesRuleOutput) Description added in v3.3.0

The description of the rule.

func (GetAggregateConfigRulesRuleOutput) ElementType added in v3.3.0

func (GetAggregateConfigRulesRuleOutput) EventSource added in v3.3.0

Event source of the Config Rule.

func (GetAggregateConfigRulesRuleOutput) ExcludeResourceIdsScope added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) ExcludeResourceIdsScope() pulumi.StringOutput

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

func (GetAggregateConfigRulesRuleOutput) Id added in v3.3.0

The ID of the Aggregate Config Rule.

func (GetAggregateConfigRulesRuleOutput) InputParameters added in v3.3.0

The settings of the input parameters for the rule.

func (GetAggregateConfigRulesRuleOutput) MaximumExecutionFrequency added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput

The frequency of the compliance evaluations.

func (GetAggregateConfigRulesRuleOutput) ModifiedTimestamp added in v3.3.0

The timestamp when the rule was last modified.

func (GetAggregateConfigRulesRuleOutput) RegionIdsScope added in v3.3.0

The scope of resource region ids.

func (GetAggregateConfigRulesRuleOutput) ResourceGroupIdsScope added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) ResourceGroupIdsScope() pulumi.StringOutput

The scope of resource group ids.

func (GetAggregateConfigRulesRuleOutput) ResourceTypesScopes added in v3.3.0

func (GetAggregateConfigRulesRuleOutput) RiskLevel added in v3.3.0

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

func (GetAggregateConfigRulesRuleOutput) SourceIdentifier added in v3.3.0

The identifier of the managed rule or the arn of the custom function.

func (GetAggregateConfigRulesRuleOutput) SourceOwner added in v3.3.0

The source owner of the Config Rule.

func (GetAggregateConfigRulesRuleOutput) Status added in v3.3.0

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

func (GetAggregateConfigRulesRuleOutput) TagKeyScope added in v3.3.0

The scope of tay key.

func (GetAggregateConfigRulesRuleOutput) TagValueScope added in v3.3.0

The scope of tay value.

func (GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutput added in v3.3.0

func (o GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutput() GetAggregateConfigRulesRuleOutput

func (GetAggregateConfigRulesRuleOutput) ToGetAggregateConfigRulesRuleOutputWithContext added in v3.3.0

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

type GetAggregateDeliveriesArgs added in v3.22.0

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"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.22.0

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 added in v3.22.0

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 added in v3.22.0

func (GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutput added in v3.22.0

func (i GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutput() GetAggregateDeliveriesDeliveryOutput

func (GetAggregateDeliveriesDeliveryArgs) ToGetAggregateDeliveriesDeliveryOutputWithContext added in v3.22.0

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

type GetAggregateDeliveriesDeliveryArray added in v3.22.0

type GetAggregateDeliveriesDeliveryArray []GetAggregateDeliveriesDeliveryInput

func (GetAggregateDeliveriesDeliveryArray) ElementType added in v3.22.0

func (GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutput added in v3.22.0

func (i GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutput() GetAggregateDeliveriesDeliveryArrayOutput

func (GetAggregateDeliveriesDeliveryArray) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext added in v3.22.0

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

type GetAggregateDeliveriesDeliveryArrayInput added in v3.22.0

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 added in v3.22.0

type GetAggregateDeliveriesDeliveryArrayOutput struct{ *pulumi.OutputState }

func (GetAggregateDeliveriesDeliveryArrayOutput) ElementType added in v3.22.0

func (GetAggregateDeliveriesDeliveryArrayOutput) Index added in v3.22.0

func (GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutput added in v3.22.0

func (o GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutput() GetAggregateDeliveriesDeliveryArrayOutput

func (GetAggregateDeliveriesDeliveryArrayOutput) ToGetAggregateDeliveriesDeliveryArrayOutputWithContext added in v3.22.0

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

type GetAggregateDeliveriesDeliveryInput added in v3.22.0

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 added in v3.22.0

type GetAggregateDeliveriesDeliveryOutput struct{ *pulumi.OutputState }

func (GetAggregateDeliveriesDeliveryOutput) AccountId added in v3.22.0

The Aliyun User Id.

func (GetAggregateDeliveriesDeliveryOutput) AggregatorId added in v3.22.0

The ID of the Aggregator.

func (GetAggregateDeliveriesDeliveryOutput) ConfigurationItemChangeNotification added in v3.22.0

func (o GetAggregateDeliveriesDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput

Open or close delivery configuration change history.

func (GetAggregateDeliveriesDeliveryOutput) ConfigurationSnapshot added in v3.22.0

func (o GetAggregateDeliveriesDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput

Open or close timed snapshot of shipping resources.

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn added in v3.22.0

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 added in v3.22.0

func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelCondition() pulumi.StringOutput

The rule attached to the delivery method.

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelId added in v3.22.0

The ID of the delivery method.

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelName added in v3.22.0

The name of the delivery method.

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelTargetArn added in v3.22.0

func (o GetAggregateDeliveriesDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput

The ARN of the delivery destination.

func (GetAggregateDeliveriesDeliveryOutput) DeliveryChannelType added in v3.22.0

The type of the delivery method.

func (GetAggregateDeliveriesDeliveryOutput) Description added in v3.22.0

The description of the delivery method.

func (GetAggregateDeliveriesDeliveryOutput) ElementType added in v3.22.0

func (GetAggregateDeliveriesDeliveryOutput) Id added in v3.22.0

The ID of the Aggregate Delivery.

func (GetAggregateDeliveriesDeliveryOutput) NonCompliantNotification added in v3.22.0

func (o GetAggregateDeliveriesDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput

Open or close non-compliance events of delivery resources.

func (GetAggregateDeliveriesDeliveryOutput) OversizedDataOssTargetArn added in v3.22.0

func (o GetAggregateDeliveriesDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringOutput

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

func (GetAggregateDeliveriesDeliveryOutput) Status added in v3.22.0

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

func (GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutput added in v3.22.0

func (o GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutput() GetAggregateDeliveriesDeliveryOutput

func (GetAggregateDeliveriesDeliveryOutput) ToGetAggregateDeliveriesDeliveryOutputWithContext added in v3.22.0

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

type GetAggregateDeliveriesOutputArgs added in v3.22.0

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"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.22.0

type GetAggregateDeliveriesResult added in v3.22.0

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 added in v3.22.0

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

)

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 added in v3.22.0

type GetAggregateDeliveriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregateDeliveries.

func GetAggregateDeliveriesOutput added in v3.22.0

func (GetAggregateDeliveriesResultOutput) AggregatorId added in v3.22.0

func (GetAggregateDeliveriesResultOutput) Deliveries added in v3.22.0

func (GetAggregateDeliveriesResultOutput) ElementType added in v3.22.0

func (GetAggregateDeliveriesResultOutput) Id added in v3.22.0

The provider-assigned unique ID for this managed resource.

func (GetAggregateDeliveriesResultOutput) Ids added in v3.22.0

func (GetAggregateDeliveriesResultOutput) NameRegex added in v3.22.0

func (GetAggregateDeliveriesResultOutput) Names added in v3.22.0

func (GetAggregateDeliveriesResultOutput) OutputFile added in v3.22.0

func (GetAggregateDeliveriesResultOutput) Status added in v3.22.0

func (GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutput added in v3.22.0

func (o GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutput() GetAggregateDeliveriesResultOutput

func (GetAggregateDeliveriesResultOutput) ToGetAggregateDeliveriesResultOutputWithContext added in v3.22.0

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

type GetAggregatorsAggregator added in v3.3.0

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

type GetAggregatorsAggregatorAggregatorAccount added in v3.3.0

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

type GetAggregatorsAggregatorAggregatorAccountArgs added in v3.3.0

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

func (GetAggregatorsAggregatorAggregatorAccountArgs) ElementType added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutput added in v3.3.0

func (i GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput

func (GetAggregatorsAggregatorAggregatorAccountArgs) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext added in v3.3.0

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

type GetAggregatorsAggregatorAggregatorAccountArray added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountArray []GetAggregatorsAggregatorAggregatorAccountInput

func (GetAggregatorsAggregatorAggregatorAccountArray) ElementType added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput added in v3.3.0

func (i GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput() GetAggregatorsAggregatorAggregatorAccountArrayOutput

func (GetAggregatorsAggregatorAggregatorAccountArray) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext added in v3.3.0

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

type GetAggregatorsAggregatorAggregatorAccountArrayInput added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountArrayInput interface {
	pulumi.Input

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

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

GetAggregatorsAggregatorAggregatorAccountArray{ GetAggregatorsAggregatorAggregatorAccountArgs{...} }

type GetAggregatorsAggregatorAggregatorAccountArrayOutput added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountArrayOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ElementType added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) Index added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutput added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountArrayOutput) ToGetAggregatorsAggregatorAggregatorAccountArrayOutputWithContext added in v3.3.0

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

type GetAggregatorsAggregatorAggregatorAccountInput added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountInput interface {
	pulumi.Input

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

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

GetAggregatorsAggregatorAggregatorAccountArgs{...}

type GetAggregatorsAggregatorAggregatorAccountOutput added in v3.3.0

type GetAggregatorsAggregatorAggregatorAccountOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountId added in v3.3.0

Aggregator account uid.

func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountName added in v3.3.0

Aggregator account name.

func (GetAggregatorsAggregatorAggregatorAccountOutput) AccountType added in v3.3.0

Aggregator account source type.

func (GetAggregatorsAggregatorAggregatorAccountOutput) ElementType added in v3.3.0

func (GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutput added in v3.3.0

func (o GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutput() GetAggregatorsAggregatorAggregatorAccountOutput

func (GetAggregatorsAggregatorAggregatorAccountOutput) ToGetAggregatorsAggregatorAggregatorAccountOutputWithContext added in v3.3.0

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

type GetAggregatorsAggregatorArgs added in v3.3.0

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

func (GetAggregatorsAggregatorArgs) ElementType added in v3.3.0

func (GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutput added in v3.3.0

func (i GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput

func (GetAggregatorsAggregatorArgs) ToGetAggregatorsAggregatorOutputWithContext added in v3.3.0

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

type GetAggregatorsAggregatorArray added in v3.3.0

type GetAggregatorsAggregatorArray []GetAggregatorsAggregatorInput

func (GetAggregatorsAggregatorArray) ElementType added in v3.3.0

func (GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutput added in v3.3.0

func (i GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput

func (GetAggregatorsAggregatorArray) ToGetAggregatorsAggregatorArrayOutputWithContext added in v3.3.0

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

type GetAggregatorsAggregatorArrayInput added in v3.3.0

type GetAggregatorsAggregatorArrayInput interface {
	pulumi.Input

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

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

GetAggregatorsAggregatorArray{ GetAggregatorsAggregatorArgs{...} }

type GetAggregatorsAggregatorArrayOutput added in v3.3.0

type GetAggregatorsAggregatorArrayOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorArrayOutput) ElementType added in v3.3.0

func (GetAggregatorsAggregatorArrayOutput) Index added in v3.3.0

func (GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutput added in v3.3.0

func (o GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutput() GetAggregatorsAggregatorArrayOutput

func (GetAggregatorsAggregatorArrayOutput) ToGetAggregatorsAggregatorArrayOutputWithContext added in v3.3.0

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

type GetAggregatorsAggregatorInput added in v3.3.0

type GetAggregatorsAggregatorInput interface {
	pulumi.Input

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

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

GetAggregatorsAggregatorArgs{...}

type GetAggregatorsAggregatorOutput added in v3.3.0

type GetAggregatorsAggregatorOutput struct{ *pulumi.OutputState }

func (GetAggregatorsAggregatorOutput) AccountId added in v3.3.0

Aggregator account uid.

func (GetAggregatorsAggregatorOutput) AggregatorAccounts added in v3.3.0

Account information in aggregator.

func (GetAggregatorsAggregatorOutput) AggregatorId added in v3.3.0

The id of aggregator.

func (GetAggregatorsAggregatorOutput) AggregatorName added in v3.3.0

The name of aggregator.

func (GetAggregatorsAggregatorOutput) AggregatorType added in v3.3.0

The type of aggregator.

func (GetAggregatorsAggregatorOutput) Description added in v3.3.0

The description of aggregator.

func (GetAggregatorsAggregatorOutput) ElementType added in v3.3.0

func (GetAggregatorsAggregatorOutput) Id added in v3.3.0

The id of the aggregator.

func (GetAggregatorsAggregatorOutput) Status added in v3.3.0

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

func (GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutput added in v3.3.0

func (o GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutput() GetAggregatorsAggregatorOutput

func (GetAggregatorsAggregatorOutput) ToGetAggregatorsAggregatorOutputWithContext added in v3.3.0

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

type GetAggregatorsArgs added in v3.3.0

type GetAggregatorsArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of aggregator ids.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by aggregator name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.9.0

type GetAggregatorsOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of aggregator ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by aggregator name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.9.0

func (GetAggregatorsOutputArgs) ElementType() reflect.Type

type GetAggregatorsResult added in v3.3.0

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 added in v3.3.0

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

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

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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 added in v3.9.0

type GetAggregatorsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAggregators.

func GetAggregatorsOutput added in v3.9.0

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

func (GetAggregatorsResultOutput) Aggregators added in v3.9.0

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

func (GetAggregatorsResultOutput) ElementType added in v3.9.0

func (GetAggregatorsResultOutput) ElementType() reflect.Type

func (GetAggregatorsResultOutput) EnableDetails added in v3.9.0

func (GetAggregatorsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAggregatorsResultOutput) Ids added in v3.9.0

func (GetAggregatorsResultOutput) NameRegex added in v3.9.0

func (GetAggregatorsResultOutput) Names added in v3.9.0

A list of Aggregator names.

func (GetAggregatorsResultOutput) OutputFile added in v3.9.0

func (GetAggregatorsResultOutput) Status added in v3.9.0

The status of the resource.

func (GetAggregatorsResultOutput) ToGetAggregatorsResultOutput added in v3.9.0

func (o GetAggregatorsResultOutput) ToGetAggregatorsResultOutput() GetAggregatorsResultOutput

func (GetAggregatorsResultOutput) ToGetAggregatorsResultOutputWithContext added in v3.9.0

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

type GetCompliancePacksArgs added in v3.3.0

type GetCompliancePacksArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Compliance Pack IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Compliance Pack name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.9.0

type GetCompliancePacksOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Compliance Pack IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Compliance Pack name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.9.0

type GetCompliancePacksPack added in v3.3.0

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

type GetCompliancePacksPackArgs added in v3.3.0

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

func (GetCompliancePacksPackArgs) ElementType added in v3.3.0

func (GetCompliancePacksPackArgs) ElementType() reflect.Type

func (GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutput added in v3.3.0

func (i GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput

func (GetCompliancePacksPackArgs) ToGetCompliancePacksPackOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackArray added in v3.3.0

type GetCompliancePacksPackArray []GetCompliancePacksPackInput

func (GetCompliancePacksPackArray) ElementType added in v3.3.0

func (GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutput added in v3.3.0

func (i GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput

func (GetCompliancePacksPackArray) ToGetCompliancePacksPackArrayOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackArrayInput added in v3.3.0

type GetCompliancePacksPackArrayInput interface {
	pulumi.Input

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

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

GetCompliancePacksPackArray{ GetCompliancePacksPackArgs{...} }

type GetCompliancePacksPackArrayOutput added in v3.3.0

type GetCompliancePacksPackArrayOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackArrayOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackArrayOutput) Index added in v3.3.0

func (GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutput added in v3.3.0

func (o GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutput() GetCompliancePacksPackArrayOutput

func (GetCompliancePacksPackArrayOutput) ToGetCompliancePacksPackArrayOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackConfigRule added in v3.3.0

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

type GetCompliancePacksPackConfigRuleArgs added in v3.3.0

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

func (GetCompliancePacksPackConfigRuleArgs) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutput added in v3.3.0

func (i GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput

func (GetCompliancePacksPackConfigRuleArgs) ToGetCompliancePacksPackConfigRuleOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackConfigRuleArray added in v3.3.0

type GetCompliancePacksPackConfigRuleArray []GetCompliancePacksPackConfigRuleInput

func (GetCompliancePacksPackConfigRuleArray) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

func (i GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput

func (GetCompliancePacksPackConfigRuleArray) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackConfigRuleArrayInput added in v3.3.0

type GetCompliancePacksPackConfigRuleArrayInput interface {
	pulumi.Input

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

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

GetCompliancePacksPackConfigRuleArray{ GetCompliancePacksPackConfigRuleArgs{...} }

type GetCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

type GetCompliancePacksPackConfigRuleArrayOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleArrayOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleArrayOutput) Index added in v3.3.0

func (GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutput added in v3.3.0

func (o GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutput() GetCompliancePacksPackConfigRuleArrayOutput

func (GetCompliancePacksPackConfigRuleArrayOutput) ToGetCompliancePacksPackConfigRuleArrayOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackConfigRuleConfigRuleParameter added in v3.3.0

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

type GetCompliancePacksPackConfigRuleConfigRuleParameterArgs added in v3.3.0

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

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArgs) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackConfigRuleConfigRuleParameterArray added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterArray []GetCompliancePacksPackConfigRuleConfigRuleParameterInput

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (i GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput() GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArray) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayInput interface {
	pulumi.Input

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

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

GetCompliancePacksPackConfigRuleConfigRuleParameterArray{ GetCompliancePacksPackConfigRuleConfigRuleParameterArgs{...} }

type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) Index added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterArrayOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackConfigRuleConfigRuleParameterInput added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterInput interface {
	pulumi.Input

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

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

GetCompliancePacksPackConfigRuleConfigRuleParameterArgs{...}

type GetCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

type GetCompliancePacksPackConfigRuleConfigRuleParameterOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterName added in v3.3.0

The Parameter Name.

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ParameterValue added in v3.3.0

The Parameter Value.

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) Required added in v3.3.0

Required.

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutput added in v3.3.0

func (GetCompliancePacksPackConfigRuleConfigRuleParameterOutput) ToGetCompliancePacksPackConfigRuleConfigRuleParameterOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackConfigRuleInput added in v3.3.0

type GetCompliancePacksPackConfigRuleInput interface {
	pulumi.Input

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

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

GetCompliancePacksPackConfigRuleArgs{...}

type GetCompliancePacksPackConfigRuleOutput added in v3.3.0

type GetCompliancePacksPackConfigRuleOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackConfigRuleOutput) ConfigRuleId added in v3.3.0

The ID of the rule.

func (GetCompliancePacksPackConfigRuleOutput) ConfigRuleParameters added in v3.3.0

A list of parameter rules.

func (GetCompliancePacksPackConfigRuleOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackConfigRuleOutput) ManagedRuleIdentifier added in v3.3.0

Managed Rule Identifier.

func (GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutput added in v3.3.0

func (o GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutput() GetCompliancePacksPackConfigRuleOutput

func (GetCompliancePacksPackConfigRuleOutput) ToGetCompliancePacksPackConfigRuleOutputWithContext added in v3.3.0

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

type GetCompliancePacksPackInput added in v3.3.0

type GetCompliancePacksPackInput interface {
	pulumi.Input

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

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

GetCompliancePacksPackArgs{...}

type GetCompliancePacksPackOutput added in v3.3.0

type GetCompliancePacksPackOutput struct{ *pulumi.OutputState }

func (GetCompliancePacksPackOutput) AccountId added in v3.3.0

The Aliyun User Id.

func (GetCompliancePacksPackOutput) CompliancePackId added in v3.3.0

func (o GetCompliancePacksPackOutput) CompliancePackId() pulumi.StringOutput

The Compliance Package ID.

func (GetCompliancePacksPackOutput) CompliancePackName added in v3.3.0

func (o GetCompliancePacksPackOutput) CompliancePackName() pulumi.StringOutput

The Compliance Package Name.

func (GetCompliancePacksPackOutput) CompliancePackTemplateId added in v3.3.0

func (o GetCompliancePacksPackOutput) CompliancePackTemplateId() pulumi.StringOutput

The template ID of the Compliance Package.

func (GetCompliancePacksPackOutput) ConfigRules added in v3.3.0

A list of The Compliance Package Rules.

func (GetCompliancePacksPackOutput) Description added in v3.3.0

The description of compliance pack.

func (GetCompliancePacksPackOutput) ElementType added in v3.3.0

func (GetCompliancePacksPackOutput) Id added in v3.3.0

The ID of the Compliance Pack.

func (GetCompliancePacksPackOutput) RiskLevel added in v3.3.0

The Ris Level.

func (GetCompliancePacksPackOutput) Status added in v3.3.0

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

func (GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutput added in v3.3.0

func (o GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutput() GetCompliancePacksPackOutput

func (GetCompliancePacksPackOutput) ToGetCompliancePacksPackOutputWithContext added in v3.3.0

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

type GetCompliancePacksResult added in v3.3.0

type GetCompliancePacksResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// 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 added in v3.3.0

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

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

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

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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 added in v3.9.0

type GetCompliancePacksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCompliancePacks.

func GetCompliancePacksOutput added in v3.9.0

func (GetCompliancePacksResultOutput) ElementType added in v3.9.0

func (GetCompliancePacksResultOutput) EnableDetails added in v3.9.0

func (GetCompliancePacksResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetCompliancePacksResultOutput) Ids added in v3.9.0

func (GetCompliancePacksResultOutput) NameRegex added in v3.9.0

func (GetCompliancePacksResultOutput) Names added in v3.9.0

A list of Compliance Pack names.

func (GetCompliancePacksResultOutput) OutputFile added in v3.9.0

func (GetCompliancePacksResultOutput) Packs added in v3.9.0

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

func (GetCompliancePacksResultOutput) Status added in v3.9.0

The status of the resource.

func (GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutput added in v3.9.0

func (o GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutput() GetCompliancePacksResultOutput

func (GetCompliancePacksResultOutput) ToGetCompliancePacksResultOutputWithContext added in v3.9.0

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

type GetConfigurationRecordersArgs

type GetConfigurationRecordersArgs struct {
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getConfigurationRecorders.

type GetConfigurationRecordersOutputArgs added in v3.9.0

type GetConfigurationRecordersOutputArgs struct {
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getConfigurationRecorders.

func (GetConfigurationRecordersOutputArgs) ElementType added in v3.9.0

type GetConfigurationRecordersRecorder

type GetConfigurationRecordersRecorder struct {
	// The ID of the Alicloud account.
	AccountId string `pulumi:"accountId"`
	// The ID of the Config Configuration Recorder. Value as the `accountId`.
	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 {
	// The ID of the Alicloud account.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The ID of the Config Configuration Recorder. Value as the `accountId`.
	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

The ID of the Alicloud account.

func (GetConfigurationRecordersRecorderOutput) ElementType

func (GetConfigurationRecordersRecorderOutput) Id

The ID of the Config Configuration Recorder. Value as the `accountId`.

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cfg.GetConfigurationRecorders(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("listOfResourceTypes", this.Recorders[0].ResourceTypes)
		return nil
	})
}

```

type GetConfigurationRecordersResultOutput added in v3.9.0

type GetConfigurationRecordersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfigurationRecorders.

func (GetConfigurationRecordersResultOutput) ElementType added in v3.9.0

func (GetConfigurationRecordersResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetConfigurationRecordersResultOutput) OutputFile added in v3.9.0

func (GetConfigurationRecordersResultOutput) Recorders added in v3.9.0

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

func (GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutput added in v3.9.0

func (o GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutput() GetConfigurationRecordersResultOutput

func (GetConfigurationRecordersResultOutput) ToGetConfigurationRecordersResultOutputWithContext added in v3.9.0

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

type GetDeliveriesArgs added in v3.21.0

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"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

func (GetDeliveriesDeliveryArgs) ElementType() reflect.Type

func (GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutput added in v3.21.0

func (i GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutput() GetDeliveriesDeliveryOutput

func (GetDeliveriesDeliveryArgs) ToGetDeliveriesDeliveryOutputWithContext added in v3.21.0

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

type GetDeliveriesDeliveryArray added in v3.21.0

type GetDeliveriesDeliveryArray []GetDeliveriesDeliveryInput

func (GetDeliveriesDeliveryArray) ElementType added in v3.21.0

func (GetDeliveriesDeliveryArray) ElementType() reflect.Type

func (GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutput added in v3.21.0

func (i GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutput() GetDeliveriesDeliveryArrayOutput

func (GetDeliveriesDeliveryArray) ToGetDeliveriesDeliveryArrayOutputWithContext added in v3.21.0

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

type GetDeliveriesDeliveryArrayInput added in v3.21.0

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 added in v3.21.0

type GetDeliveriesDeliveryArrayOutput struct{ *pulumi.OutputState }

func (GetDeliveriesDeliveryArrayOutput) ElementType added in v3.21.0

func (GetDeliveriesDeliveryArrayOutput) Index added in v3.21.0

func (GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutput added in v3.21.0

func (o GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutput() GetDeliveriesDeliveryArrayOutput

func (GetDeliveriesDeliveryArrayOutput) ToGetDeliveriesDeliveryArrayOutputWithContext added in v3.21.0

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

type GetDeliveriesDeliveryInput added in v3.21.0

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 added in v3.21.0

type GetDeliveriesDeliveryOutput struct{ *pulumi.OutputState }

func (GetDeliveriesDeliveryOutput) AccountId added in v3.21.0

The Aliyun User Id.

func (GetDeliveriesDeliveryOutput) ConfigurationItemChangeNotification added in v3.21.0

func (o GetDeliveriesDeliveryOutput) ConfigurationItemChangeNotification() pulumi.BoolOutput

Open or close delivery configuration change history.

func (GetDeliveriesDeliveryOutput) ConfigurationSnapshot added in v3.21.0

func (o GetDeliveriesDeliveryOutput) ConfigurationSnapshot() pulumi.BoolOutput

Open or close timed snapshot of shipping resources.

func (GetDeliveriesDeliveryOutput) DeliveryChannelAssumeRoleArn added in v3.21.0

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 added in v3.21.0

func (o GetDeliveriesDeliveryOutput) DeliveryChannelCondition() pulumi.StringOutput

The rule attached to the delivery method.

func (GetDeliveriesDeliveryOutput) DeliveryChannelId added in v3.21.0

func (o GetDeliveriesDeliveryOutput) DeliveryChannelId() pulumi.StringOutput

The ID of the delivery method.

func (GetDeliveriesDeliveryOutput) DeliveryChannelName added in v3.21.0

func (o GetDeliveriesDeliveryOutput) DeliveryChannelName() pulumi.StringOutput

The name of the delivery method.

func (GetDeliveriesDeliveryOutput) DeliveryChannelTargetArn added in v3.21.0

func (o GetDeliveriesDeliveryOutput) DeliveryChannelTargetArn() pulumi.StringOutput

The ARN of the delivery destination.

func (GetDeliveriesDeliveryOutput) DeliveryChannelType added in v3.21.0

func (o GetDeliveriesDeliveryOutput) DeliveryChannelType() pulumi.StringOutput

The type of the delivery method.

func (GetDeliveriesDeliveryOutput) Description added in v3.21.0

The description of the delivery method.

func (GetDeliveriesDeliveryOutput) ElementType added in v3.21.0

func (GetDeliveriesDeliveryOutput) Id added in v3.21.0

The ID of the Delivery.

func (GetDeliveriesDeliveryOutput) NonCompliantNotification added in v3.21.0

func (o GetDeliveriesDeliveryOutput) NonCompliantNotification() pulumi.BoolOutput

Open or close non-compliance events of delivery resources.

func (GetDeliveriesDeliveryOutput) OversizedDataOssTargetArn added in v3.21.0

func (o GetDeliveriesDeliveryOutput) OversizedDataOssTargetArn() pulumi.StringOutput

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

func (GetDeliveriesDeliveryOutput) Status added in v3.21.0

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

func (GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutput added in v3.21.0

func (o GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutput() GetDeliveriesDeliveryOutput

func (GetDeliveriesDeliveryOutput) ToGetDeliveriesDeliveryOutputWithContext added in v3.21.0

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

type GetDeliveriesOutputArgs added in v3.21.0

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"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.21.0

func (GetDeliveriesOutputArgs) ElementType() reflect.Type

type GetDeliveriesResult added in v3.21.0

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 added in v3.21.0

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

)

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 added in v3.21.0

type GetDeliveriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDeliveries.

func GetDeliveriesOutput added in v3.21.0

func GetDeliveriesOutput(ctx *pulumi.Context, args GetDeliveriesOutputArgs, opts ...pulumi.InvokeOption) GetDeliveriesResultOutput

func (GetDeliveriesResultOutput) Deliveries added in v3.21.0

func (GetDeliveriesResultOutput) ElementType added in v3.21.0

func (GetDeliveriesResultOutput) ElementType() reflect.Type

func (GetDeliveriesResultOutput) Id added in v3.21.0

The provider-assigned unique ID for this managed resource.

func (GetDeliveriesResultOutput) Ids added in v3.21.0

func (GetDeliveriesResultOutput) NameRegex added in v3.21.0

func (GetDeliveriesResultOutput) Names added in v3.21.0

func (GetDeliveriesResultOutput) OutputFile added in v3.21.0

func (GetDeliveriesResultOutput) Status added in v3.21.0

func (GetDeliveriesResultOutput) ToGetDeliveriesResultOutput added in v3.21.0

func (o GetDeliveriesResultOutput) ToGetDeliveriesResultOutput() GetDeliveriesResultOutput

func (GetDeliveriesResultOutput) ToGetDeliveriesResultOutputWithContext added in v3.21.0

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"`
	// File name where to save data source results (after running `pulumi preview`).
	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 added in v3.9.0

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

A collection of arguments for invoking getDeliveryChannels.

func (GetDeliveryChannelsOutputArgs) ElementType added in v3.9.0

type GetDeliveryChannelsResult

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

> **DEPRECATED:** This resource is based on Config's old version OpenAPI, and it has been deprecated from version `1.173.0`. Please use new datasource cfg.getDeliveries instead.

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

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

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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 added in v3.9.0

type GetDeliveryChannelsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDeliveryChannels.

func GetDeliveryChannelsOutput added in v3.9.0

func (GetDeliveryChannelsResultOutput) Channels added in v3.9.0

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

func (GetDeliveryChannelsResultOutput) ElementType added in v3.9.0

func (GetDeliveryChannelsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetDeliveryChannelsResultOutput) Ids added in v3.9.0

A list of Config Delivery Channel IDs.

func (GetDeliveryChannelsResultOutput) NameRegex added in v3.9.0

func (GetDeliveryChannelsResultOutput) Names added in v3.9.0

A list of Config Delivery Channel names.

func (GetDeliveryChannelsResultOutput) OutputFile added in v3.9.0

func (GetDeliveryChannelsResultOutput) Status added in v3.9.0

The status of the delivery channel.

func (GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutput added in v3.9.0

func (o GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutput() GetDeliveryChannelsResultOutput

func (GetDeliveryChannelsResultOutput) ToGetDeliveryChannelsResultOutputWithContext added in v3.9.0

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

type GetRulesArgs

type GetRulesArgs struct {
	// Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead.
	//
	// Deprecated: Field 'config_rule_state' has been deprecated from provider version 1.124.1. New field 'status' instead.
	ConfigRuleState *string `pulumi:"configRuleState"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Config Rule IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by rule name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
	RiskLevel *int `pulumi:"riskLevel"`
	// The name of config rule.
	RuleName *string `pulumi:"ruleName"`
	// The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getRules.

type GetRulesOutputArgs added in v3.9.0

type GetRulesOutputArgs struct {
	// Field `configRuleState` has been deprecated from provider version 1.124.1. New field `status` instead.
	//
	// Deprecated: Field 'config_rule_state' has been deprecated from provider version 1.124.1. New field 'status' instead.
	ConfigRuleState pulumi.StringPtrInput `pulumi:"configRuleState"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Config Rule IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by rule name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The risk level of Config Rule. Valid values: `1`: Critical ,`2`: Warning , `3`: Info.
	RiskLevel pulumi.IntPtrInput `pulumi:"riskLevel"`
	// The name of config rule.
	RuleName pulumi.StringPtrInput `pulumi:"ruleName"`
	// The status of the config rule, valid values: `ACTIVE`, `DELETING`, `EVALUATING` and `INACTIVE`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getRules.

func (GetRulesOutputArgs) ElementType added in v3.9.0

func (GetRulesOutputArgs) ElementType() reflect.Type

type GetRulesResult

type GetRulesResult struct {
	// The state of the Config Rule.
	//
	// 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"`
	// The risk level of the Config Rule.
	RiskLevel *int `pulumi:"riskLevel"`
	// The name of the Config Rule.
	RuleName *string `pulumi:"ruleName"`
	// A list of Config Rules. Each element contains the following attributes:
	Rules []GetRulesRule `pulumi:"rules"`
	// (Available in 1.124.1+) The status of config rule.
	Status *string `pulumi:"status"`
}

A collection of values returned by getRules.

func GetRules

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

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

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

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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 added in v3.9.0

type GetRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRules.

func GetRulesOutput added in v3.9.0

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

func (GetRulesResultOutput) ConfigRuleState deprecated added in v3.9.0

func (o GetRulesResultOutput) ConfigRuleState() pulumi.StringPtrOutput

The state of the Config Rule.

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

func (GetRulesResultOutput) ElementType added in v3.9.0

func (GetRulesResultOutput) ElementType() reflect.Type

func (GetRulesResultOutput) EnableDetails added in v3.9.0

func (o GetRulesResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetRulesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetRulesResultOutput) Ids added in v3.9.0

A list of Config Rule IDs.

func (GetRulesResultOutput) NameRegex added in v3.9.0

func (GetRulesResultOutput) Names added in v3.9.0

A list of Config Rule names.

func (GetRulesResultOutput) OutputFile added in v3.9.0

func (GetRulesResultOutput) RiskLevel added in v3.9.0

The risk level of the Config Rule.

func (GetRulesResultOutput) RuleName added in v3.9.0

The name of the Config Rule.

func (GetRulesResultOutput) Rules added in v3.9.0

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

func (GetRulesResultOutput) Status added in v3.9.0

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

func (GetRulesResultOutput) ToGetRulesResultOutput added in v3.9.0

func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput

func (GetRulesResultOutput) ToGetRulesResultOutputWithContext added in v3.9.0

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

type GetRulesRule

type GetRulesRule struct {
	// The ID of the Alicloud account.
	AccountId        string `pulumi:"accountId"`
	CompliancePackId string `pulumi:"compliancePackId"`
	// The information about the compliance evaluations based on the rule.
	Compliances []GetRulesRuleCompliance `pulumi:"compliances"`
	// The ARN of the Config Rule.
	ConfigRuleArn string `pulumi:"configRuleArn"`
	// The ID of the Config Rule.
	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"`
	// The description of the Config Rule.
	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.
	Id string `pulumi:"id"`
	// The input parameters of the Config Rule.
	InputParameters map[string]interface{} `pulumi:"inputParameters"`
	// (Available in 1.124.1+) The frequency of maximum execution.
	MaximumExecutionFrequency string `pulumi:"maximumExecutionFrequency"`
	// the timestamp of the Config Rule modified.
	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"`
	// The identifier of the managed rule or the arn of the custom function.
	SourceIdentifier string `pulumi:"sourceIdentifier"`
	// Rule execution cycle.
	SourceMaximumExecutionFrequency string `pulumi:"sourceMaximumExecutionFrequency"`
	// The source owner of the Config Rule.
	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 {
	// The ID of the Alicloud account.
	AccountId        pulumi.StringInput `pulumi:"accountId"`
	CompliancePackId pulumi.StringInput `pulumi:"compliancePackId"`
	// The information about the compliance evaluations based on the rule.
	Compliances GetRulesRuleComplianceArrayInput `pulumi:"compliances"`
	// The ARN of the Config Rule.
	ConfigRuleArn pulumi.StringInput `pulumi:"configRuleArn"`
	// The ID of the Config Rule.
	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"`
	// The description of the Config Rule.
	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.
	Id pulumi.StringInput `pulumi:"id"`
	// The input parameters of the Config Rule.
	InputParameters pulumi.MapInput `pulumi:"inputParameters"`
	// (Available in 1.124.1+) The frequency of maximum execution.
	MaximumExecutionFrequency pulumi.StringInput `pulumi:"maximumExecutionFrequency"`
	// the timestamp of the Config Rule modified.
	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"`
	// The identifier of the managed rule or the arn of the custom function.
	SourceIdentifier pulumi.StringInput `pulumi:"sourceIdentifier"`
	// Rule execution cycle.
	SourceMaximumExecutionFrequency pulumi.StringInput `pulumi:"sourceMaximumExecutionFrequency"`
	// The source owner of the Config Rule.
	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

The ID of the Alicloud account.

func (GetRulesRuleOutput) CompliancePackId added in v3.3.0

func (o GetRulesRuleOutput) CompliancePackId() pulumi.StringOutput

func (GetRulesRuleOutput) Compliances

The information about the compliance evaluations based on the rule.

func (GetRulesRuleOutput) ConfigRuleArn

func (o GetRulesRuleOutput) ConfigRuleArn() pulumi.StringOutput

The ARN of the Config Rule.

func (GetRulesRuleOutput) ConfigRuleId

func (o GetRulesRuleOutput) ConfigRuleId() pulumi.StringOutput

The ID of the Config Rule.

func (GetRulesRuleOutput) ConfigRuleState

func (o GetRulesRuleOutput) ConfigRuleState() pulumi.StringOutput

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

func (GetRulesRuleOutput) ConfigRuleTriggerTypes added in v3.3.0

func (o GetRulesRuleOutput) ConfigRuleTriggerTypes() pulumi.StringOutput

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

func (GetRulesRuleOutput) Description

func (o GetRulesRuleOutput) Description() pulumi.StringOutput

The description of the Config Rule.

func (GetRulesRuleOutput) ElementType

func (GetRulesRuleOutput) ElementType() reflect.Type

func (GetRulesRuleOutput) EventSource

func (o GetRulesRuleOutput) EventSource() pulumi.StringOutput

Event source of the Config Rule.

func (GetRulesRuleOutput) ExcludeResourceIdsScope added in v3.3.0

func (o GetRulesRuleOutput) ExcludeResourceIdsScope() pulumi.StringOutput

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

func (GetRulesRuleOutput) Id

The ID of the Config Rule.

func (GetRulesRuleOutput) InputParameters

func (o GetRulesRuleOutput) InputParameters() pulumi.MapOutput

The input parameters of the Config Rule.

func (GetRulesRuleOutput) MaximumExecutionFrequency added in v3.3.0

func (o GetRulesRuleOutput) MaximumExecutionFrequency() pulumi.StringOutput

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

func (GetRulesRuleOutput) ModifiedTimestamp

func (o GetRulesRuleOutput) ModifiedTimestamp() pulumi.StringOutput

the timestamp of the Config Rule modified.

func (GetRulesRuleOutput) RegionIdsScope added in v3.3.0

func (o GetRulesRuleOutput) RegionIdsScope() pulumi.StringOutput

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

func (GetRulesRuleOutput) ResourceGroupIdsScope added in v3.3.0

func (o GetRulesRuleOutput) ResourceGroupIdsScope() pulumi.StringOutput

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

func (GetRulesRuleOutput) ResourceTypesScopes added in v3.3.0

func (o GetRulesRuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput

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

func (GetRulesRuleOutput) RiskLevel

func (o GetRulesRuleOutput) RiskLevel() pulumi.IntOutput

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

func (GetRulesRuleOutput) RuleName

func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput

The name of config rule.

func (GetRulesRuleOutput) ScopeComplianceResourceTypes

func (o GetRulesRuleOutput) ScopeComplianceResourceTypes() pulumi.StringArrayOutput

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

func (GetRulesRuleOutput) SourceDetailMessageType

func (o GetRulesRuleOutput) SourceDetailMessageType() pulumi.StringOutput

Rule trigger mechanism.

func (GetRulesRuleOutput) SourceIdentifier

func (o GetRulesRuleOutput) SourceIdentifier() pulumi.StringOutput

The identifier of the managed rule or the arn of the custom function.

func (GetRulesRuleOutput) SourceMaximumExecutionFrequency

func (o GetRulesRuleOutput) SourceMaximumExecutionFrequency() pulumi.StringOutput

Rule execution cycle.

func (GetRulesRuleOutput) SourceOwner

func (o GetRulesRuleOutput) SourceOwner() pulumi.StringOutput

The source owner of the Config Rule.

func (GetRulesRuleOutput) Status added in v3.3.0

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

func (GetRulesRuleOutput) TagKeyScope added in v3.3.0

func (o GetRulesRuleOutput) TagKeyScope() pulumi.StringOutput

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

func (GetRulesRuleOutput) TagValueScope added in v3.3.0

func (o GetRulesRuleOutput) TagValueScope() pulumi.StringOutput

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

func (GetRulesRuleOutput) ToGetRulesRuleOutput

func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput

func (GetRulesRuleOutput) ToGetRulesRuleOutputWithContext

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

type Remediation added in v3.37.0

type Remediation struct {
	pulumi.CustomResourceState

	// Rule ID.
	ConfigRuleId pulumi.StringOutput `pulumi:"configRuleId"`
	// Execution type, valid values: `Manual`, `Automatic`.
	InvokeType pulumi.StringOutput `pulumi:"invokeType"`
	// Remediation parameter.
	Params pulumi.StringOutput `pulumi:"params"`
	// Remediation ID.
	RemediationId pulumi.StringOutput `pulumi:"remediationId"`
	// Remediation resource type, valid values: `ALIYUN` , `CUSTOMER`.
	RemediationSourceType pulumi.StringOutput `pulumi:"remediationSourceType"`
	// Remediation template ID.
	RemediationTemplateId pulumi.StringOutput `pulumi:"remediationTemplateId"`
	// Remediation type, valid values: `OOS`, `FC`.
	//
	// The following arguments will be discarded. Please use new fields as soon as possible:
	RemediationType pulumi.StringOutput `pulumi:"remediationType"`
}

Provides a Config Remediation resource.

For information about Config Remediation and how to use it, see [What is Remediation](https://www.alibabacloud.com/help/en/cloud-config/latest/api-config-2020-09-07-createremediation).

> **NOTE:** Available since v1.204.0.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example-oss"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
			Current: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		defaultBucket, err := oss.NewBucket(ctx, "default", &oss.BucketArgs{
			Bucket: pulumi.String(name),
			Acl:    pulumi.String("public-read"),
			Tags: pulumi.Map{
				"For": pulumi.Any("example"),
			},
		})
		if err != nil {
			return err
		}
		defaultRule, err := cfg.NewRule(ctx, "default", &cfg.RuleArgs{
			Description:            pulumi.String("If the ACL policy of the OSS bucket denies read access from the Internet, the configuration is considered compliant."),
			SourceOwner:            pulumi.String("ALIYUN"),
			SourceIdentifier:       pulumi.String("oss-bucket-public-read-prohibited"),
			RiskLevel:              pulumi.Int(1),
			TagKeyScope:            pulumi.String("For"),
			TagValueScope:          pulumi.String("example"),
			RegionIdsScope:         pulumi.String(_default.Regions[0].Id),
			ConfigRuleTriggerTypes: pulumi.String("ConfigurationItemChangeNotification"),
			ResourceTypesScopes: pulumi.StringArray{
				pulumi.String("ACS::OSS::Bucket"),
			},
			RuleName: pulumi.String("oss-bucket-public-read-prohibited"),
		})
		if err != nil {
			return err
		}
		_, err = cfg.NewRemediation(ctx, "default", &cfg.RemediationArgs{
			ConfigRuleId:          defaultRule.ConfigRuleId,
			RemediationTemplateId: pulumi.String("ACS-OSS-PutBucketAcl"),
			RemediationSourceType: pulumi.String("ALIYUN"),
			InvokeType:            pulumi.String("MANUAL_EXECUTION"),
			Params: defaultBucket.Bucket.ApplyT(func(bucket *string) (string, error) {
				return fmt.Sprintf("{\"bucketName\": \"%v\", \"regionId\": \"%v\", \"permissionName\": \"private\"}", bucket, _default.Regions[0].Id), nil
			}).(pulumi.StringOutput),
			RemediationType: pulumi.String("OOS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Config Remediation can be imported using the id, e.g.

```sh $ pulumi import alicloud:cfg/remediation:Remediation example <id> ```

func GetRemediation added in v3.37.0

func GetRemediation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RemediationState, opts ...pulumi.ResourceOption) (*Remediation, error)

GetRemediation gets an existing Remediation 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 NewRemediation added in v3.37.0

func NewRemediation(ctx *pulumi.Context,
	name string, args *RemediationArgs, opts ...pulumi.ResourceOption) (*Remediation, error)

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

func (*Remediation) ElementType added in v3.37.0

func (*Remediation) ElementType() reflect.Type

func (*Remediation) ToRemediationOutput added in v3.37.0

func (i *Remediation) ToRemediationOutput() RemediationOutput

func (*Remediation) ToRemediationOutputWithContext added in v3.37.0

func (i *Remediation) ToRemediationOutputWithContext(ctx context.Context) RemediationOutput

type RemediationArgs added in v3.37.0

type RemediationArgs struct {
	// Rule ID.
	ConfigRuleId pulumi.StringInput
	// Execution type, valid values: `Manual`, `Automatic`.
	InvokeType pulumi.StringInput
	// Remediation parameter.
	Params pulumi.StringInput
	// Remediation resource type, valid values: `ALIYUN` , `CUSTOMER`.
	RemediationSourceType pulumi.StringPtrInput
	// Remediation template ID.
	RemediationTemplateId pulumi.StringInput
	// Remediation type, valid values: `OOS`, `FC`.
	//
	// The following arguments will be discarded. Please use new fields as soon as possible:
	RemediationType pulumi.StringInput
}

The set of arguments for constructing a Remediation resource.

func (RemediationArgs) ElementType added in v3.37.0

func (RemediationArgs) ElementType() reflect.Type

type RemediationArray added in v3.37.0

type RemediationArray []RemediationInput

func (RemediationArray) ElementType added in v3.37.0

func (RemediationArray) ElementType() reflect.Type

func (RemediationArray) ToRemediationArrayOutput added in v3.37.0

func (i RemediationArray) ToRemediationArrayOutput() RemediationArrayOutput

func (RemediationArray) ToRemediationArrayOutputWithContext added in v3.37.0

func (i RemediationArray) ToRemediationArrayOutputWithContext(ctx context.Context) RemediationArrayOutput

type RemediationArrayInput added in v3.37.0

type RemediationArrayInput interface {
	pulumi.Input

	ToRemediationArrayOutput() RemediationArrayOutput
	ToRemediationArrayOutputWithContext(context.Context) RemediationArrayOutput
}

RemediationArrayInput is an input type that accepts RemediationArray and RemediationArrayOutput values. You can construct a concrete instance of `RemediationArrayInput` via:

RemediationArray{ RemediationArgs{...} }

type RemediationArrayOutput added in v3.37.0

type RemediationArrayOutput struct{ *pulumi.OutputState }

func (RemediationArrayOutput) ElementType added in v3.37.0

func (RemediationArrayOutput) ElementType() reflect.Type

func (RemediationArrayOutput) Index added in v3.37.0

func (RemediationArrayOutput) ToRemediationArrayOutput added in v3.37.0

func (o RemediationArrayOutput) ToRemediationArrayOutput() RemediationArrayOutput

func (RemediationArrayOutput) ToRemediationArrayOutputWithContext added in v3.37.0

func (o RemediationArrayOutput) ToRemediationArrayOutputWithContext(ctx context.Context) RemediationArrayOutput

type RemediationInput added in v3.37.0

type RemediationInput interface {
	pulumi.Input

	ToRemediationOutput() RemediationOutput
	ToRemediationOutputWithContext(ctx context.Context) RemediationOutput
}

type RemediationMap added in v3.37.0

type RemediationMap map[string]RemediationInput

func (RemediationMap) ElementType added in v3.37.0

func (RemediationMap) ElementType() reflect.Type

func (RemediationMap) ToRemediationMapOutput added in v3.37.0

func (i RemediationMap) ToRemediationMapOutput() RemediationMapOutput

func (RemediationMap) ToRemediationMapOutputWithContext added in v3.37.0

func (i RemediationMap) ToRemediationMapOutputWithContext(ctx context.Context) RemediationMapOutput

type RemediationMapInput added in v3.37.0

type RemediationMapInput interface {
	pulumi.Input

	ToRemediationMapOutput() RemediationMapOutput
	ToRemediationMapOutputWithContext(context.Context) RemediationMapOutput
}

RemediationMapInput is an input type that accepts RemediationMap and RemediationMapOutput values. You can construct a concrete instance of `RemediationMapInput` via:

RemediationMap{ "key": RemediationArgs{...} }

type RemediationMapOutput added in v3.37.0

type RemediationMapOutput struct{ *pulumi.OutputState }

func (RemediationMapOutput) ElementType added in v3.37.0

func (RemediationMapOutput) ElementType() reflect.Type

func (RemediationMapOutput) MapIndex added in v3.37.0

func (RemediationMapOutput) ToRemediationMapOutput added in v3.37.0

func (o RemediationMapOutput) ToRemediationMapOutput() RemediationMapOutput

func (RemediationMapOutput) ToRemediationMapOutputWithContext added in v3.37.0

func (o RemediationMapOutput) ToRemediationMapOutputWithContext(ctx context.Context) RemediationMapOutput

type RemediationOutput added in v3.37.0

type RemediationOutput struct{ *pulumi.OutputState }

func (RemediationOutput) ConfigRuleId added in v3.37.0

func (o RemediationOutput) ConfigRuleId() pulumi.StringOutput

Rule ID.

func (RemediationOutput) ElementType added in v3.37.0

func (RemediationOutput) ElementType() reflect.Type

func (RemediationOutput) InvokeType added in v3.37.0

func (o RemediationOutput) InvokeType() pulumi.StringOutput

Execution type, valid values: `Manual`, `Automatic`.

func (RemediationOutput) Params added in v3.37.0

Remediation parameter.

func (RemediationOutput) RemediationId added in v3.37.0

func (o RemediationOutput) RemediationId() pulumi.StringOutput

Remediation ID.

func (RemediationOutput) RemediationSourceType added in v3.37.0

func (o RemediationOutput) RemediationSourceType() pulumi.StringOutput

Remediation resource type, valid values: `ALIYUN` , `CUSTOMER`.

func (RemediationOutput) RemediationTemplateId added in v3.37.0

func (o RemediationOutput) RemediationTemplateId() pulumi.StringOutput

Remediation template ID.

func (RemediationOutput) RemediationType added in v3.37.0

func (o RemediationOutput) RemediationType() pulumi.StringOutput

Remediation type, valid values: `OOS`, `FC`.

The following arguments will be discarded. Please use new fields as soon as possible:

func (RemediationOutput) ToRemediationOutput added in v3.37.0

func (o RemediationOutput) ToRemediationOutput() RemediationOutput

func (RemediationOutput) ToRemediationOutputWithContext added in v3.37.0

func (o RemediationOutput) ToRemediationOutputWithContext(ctx context.Context) RemediationOutput

type RemediationState added in v3.37.0

type RemediationState struct {
	// Rule ID.
	ConfigRuleId pulumi.StringPtrInput
	// Execution type, valid values: `Manual`, `Automatic`.
	InvokeType pulumi.StringPtrInput
	// Remediation parameter.
	Params pulumi.StringPtrInput
	// Remediation ID.
	RemediationId pulumi.StringPtrInput
	// Remediation resource type, valid values: `ALIYUN` , `CUSTOMER`.
	RemediationSourceType pulumi.StringPtrInput
	// Remediation template ID.
	RemediationTemplateId pulumi.StringPtrInput
	// Remediation type, valid values: `OOS`, `FC`.
	//
	// The following arguments will be discarded. Please use new fields as soon as possible:
	RemediationType pulumi.StringPtrInput
}

func (RemediationState) ElementType added in v3.37.0

func (RemediationState) ElementType() reflect.Type

type Rule

type Rule struct {
	pulumi.CustomResourceState

	// The ID of Alicloud account.
	AccountId pulumi.IntOutput `pulumi:"accountId"`
	// compliance information.
	Compliance RuleComplianceOutput `pulumi:"compliance"`
	// Compliance Package ID.
	CompliancePackId pulumi.StringOutput `pulumi:"compliancePackId"`
	// config rule arn.
	ConfigRuleArn pulumi.StringOutput `pulumi:"configRuleArn"`
	// The ID of the 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 timestamp when the rule was created.
	CreateTime pulumi.IntOutput `pulumi:"createTime"`
	// The description of the rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The event source of the rule.
	EventSource pulumi.StringOutput `pulumi:"eventSource"`
	// 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 of the input parameters for the rule.
	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 timestamp when the rule was last modified.
	ModifiedTimestamp pulumi.IntOutput `pulumi:"modifiedTimestamp"`
	// 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"`
	// The types of the resources to be evaluated against the rule.
	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 name of the rule.
	RuleName pulumi.StringOutput `pulumi:"ruleName"`
	// Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead.
	//
	// Deprecated: Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead.
	ScopeComplianceResourceTypes pulumi.StringOutput `pulumi:"scopeComplianceResourceTypes"`
	// Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead.
	//
	// Deprecated: Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead.
	SourceDetailMessageType pulumi.StringOutput `pulumi:"sourceDetailMessageType"`
	// The identifier of the rule.  For a managed rule, the value is the name of the managed rule. For a custom rule, the value is the ARN of the custom rule.
	SourceIdentifier pulumi.StringOutput `pulumi:"sourceIdentifier"`
	// Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' 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 status of the rule. Valid values: ACTIVE: The rule is monitoring the configurations of target resources. DELETING_RESULTS: The compliance evaluation result returned by the rule is being deleted. EVALUATING: The rule is triggered and is evaluating whether the configurations of target resources are compliant. INACTIVE: The rule is disabled from monitoring the configurations of target resources.
	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, only applies to rules created based on managed rules.
	//
	// The following arguments will be discarded. Please use new fields as soon as possible:
	TagValueScope pulumi.StringPtrOutput `pulumi:"tagValueScope"`
}

Provides a Config Rule resource.

For information about Config Rule and how to use it, see [What is Rule](https://www.alibabacloud.com/help/en/cloud-config/latest/api-config-2020-09-07-createconfigrule).

> **NOTE:** Available since v1.204.0.

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{
			Status: pulumi.StringRef("OK"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = cfg.NewRule(ctx, "default", &cfg.RuleArgs{
			Description:             pulumi.String("If the resource matches one of the specified tag key-value pairs, the configuration is considered compliant."),
			SourceOwner:             pulumi.String("ALIYUN"),
			SourceIdentifier:        pulumi.String("contains-tag"),
			RiskLevel:               pulumi.Int(1),
			TagValueScope:           pulumi.String("example-value"),
			TagKeyScope:             pulumi.String("example-key"),
			ExcludeResourceIdsScope: pulumi.String("example-resource_id"),
			RegionIdsScope:          pulumi.String("cn-hangzhou"),
			ConfigRuleTriggerTypes:  pulumi.String("ConfigurationItemChangeNotification"),
			ResourceGroupIdsScope:   pulumi.String(_default.Ids[0]),
			ResourceTypesScopes: pulumi.StringArray{
				pulumi.String("ACS::RDS::DBInstance"),
			},
			RuleName: pulumi.String("contains-tag"),
			InputParameters: pulumi.Map{
				"key":   pulumi.Any("example"),
				"value": pulumi.Any("example"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import alicloud:cfg/rule:Rule example <id> ```

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 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 of the input parameters for the rule.
	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
	// The types of the resources to be evaluated against the rule.
	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 name of the rule.
	RuleName pulumi.StringInput
	// Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead.
	//
	// Deprecated: Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead.
	ScopeComplianceResourceTypes pulumi.StringPtrInput
	// Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead.
	//
	// Deprecated: Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead.
	SourceDetailMessageType pulumi.StringPtrInput
	// The identifier of the rule.  For a managed rule, the value is the name of the managed rule. For a custom rule, the value is the ARN of the custom rule.
	SourceIdentifier pulumi.StringInput
	// Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' 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 status of the rule. Valid values: ACTIVE: The rule is monitoring the configurations of target resources. DELETING_RESULTS: The compliance evaluation result returned by the rule is being deleted. EVALUATING: The rule is triggered and is evaluating whether the configurations of target resources are compliant. INACTIVE: The rule is disabled from monitoring the configurations of target resources.
	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, only applies to rules created based on managed rules.
	//
	// The following arguments will be discarded. Please use new fields as soon as possible:
	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 RuleCompliance added in v3.37.0

type RuleCompliance struct {
	// The type of compliance. Valid values: `COMPLIANT`, `NON_COMPLIANT`, `NOT_APPLICABLE`, `INSUFFICIENT_DATA`.
	ComplianceType *string `pulumi:"complianceType"`
	// The count of compliance.
	Count *int `pulumi:"count"`
}

type RuleComplianceArgs added in v3.37.0

type RuleComplianceArgs struct {
	// The type of compliance. Valid values: `COMPLIANT`, `NON_COMPLIANT`, `NOT_APPLICABLE`, `INSUFFICIENT_DATA`.
	ComplianceType pulumi.StringPtrInput `pulumi:"complianceType"`
	// The count of compliance.
	Count pulumi.IntPtrInput `pulumi:"count"`
}

func (RuleComplianceArgs) ElementType added in v3.37.0

func (RuleComplianceArgs) ElementType() reflect.Type

func (RuleComplianceArgs) ToRuleComplianceOutput added in v3.37.0

func (i RuleComplianceArgs) ToRuleComplianceOutput() RuleComplianceOutput

func (RuleComplianceArgs) ToRuleComplianceOutputWithContext added in v3.37.0

func (i RuleComplianceArgs) ToRuleComplianceOutputWithContext(ctx context.Context) RuleComplianceOutput

func (RuleComplianceArgs) ToRuleCompliancePtrOutput added in v3.37.0

func (i RuleComplianceArgs) ToRuleCompliancePtrOutput() RuleCompliancePtrOutput

func (RuleComplianceArgs) ToRuleCompliancePtrOutputWithContext added in v3.37.0

func (i RuleComplianceArgs) ToRuleCompliancePtrOutputWithContext(ctx context.Context) RuleCompliancePtrOutput

type RuleComplianceInput added in v3.37.0

type RuleComplianceInput interface {
	pulumi.Input

	ToRuleComplianceOutput() RuleComplianceOutput
	ToRuleComplianceOutputWithContext(context.Context) RuleComplianceOutput
}

RuleComplianceInput is an input type that accepts RuleComplianceArgs and RuleComplianceOutput values. You can construct a concrete instance of `RuleComplianceInput` via:

RuleComplianceArgs{...}

type RuleComplianceOutput added in v3.37.0

type RuleComplianceOutput struct{ *pulumi.OutputState }

func (RuleComplianceOutput) ComplianceType added in v3.37.0

func (o RuleComplianceOutput) ComplianceType() pulumi.StringPtrOutput

The type of compliance. Valid values: `COMPLIANT`, `NON_COMPLIANT`, `NOT_APPLICABLE`, `INSUFFICIENT_DATA`.

func (RuleComplianceOutput) Count added in v3.37.0

The count of compliance.

func (RuleComplianceOutput) ElementType added in v3.37.0

func (RuleComplianceOutput) ElementType() reflect.Type

func (RuleComplianceOutput) ToRuleComplianceOutput added in v3.37.0

func (o RuleComplianceOutput) ToRuleComplianceOutput() RuleComplianceOutput

func (RuleComplianceOutput) ToRuleComplianceOutputWithContext added in v3.37.0

func (o RuleComplianceOutput) ToRuleComplianceOutputWithContext(ctx context.Context) RuleComplianceOutput

func (RuleComplianceOutput) ToRuleCompliancePtrOutput added in v3.37.0

func (o RuleComplianceOutput) ToRuleCompliancePtrOutput() RuleCompliancePtrOutput

func (RuleComplianceOutput) ToRuleCompliancePtrOutputWithContext added in v3.37.0

func (o RuleComplianceOutput) ToRuleCompliancePtrOutputWithContext(ctx context.Context) RuleCompliancePtrOutput

type RuleCompliancePtrInput added in v3.37.0

type RuleCompliancePtrInput interface {
	pulumi.Input

	ToRuleCompliancePtrOutput() RuleCompliancePtrOutput
	ToRuleCompliancePtrOutputWithContext(context.Context) RuleCompliancePtrOutput
}

RuleCompliancePtrInput is an input type that accepts RuleComplianceArgs, RuleCompliancePtr and RuleCompliancePtrOutput values. You can construct a concrete instance of `RuleCompliancePtrInput` via:

        RuleComplianceArgs{...}

or:

        nil

func RuleCompliancePtr added in v3.37.0

func RuleCompliancePtr(v *RuleComplianceArgs) RuleCompliancePtrInput

type RuleCompliancePtrOutput added in v3.37.0

type RuleCompliancePtrOutput struct{ *pulumi.OutputState }

func (RuleCompliancePtrOutput) ComplianceType added in v3.37.0

func (o RuleCompliancePtrOutput) ComplianceType() pulumi.StringPtrOutput

The type of compliance. Valid values: `COMPLIANT`, `NON_COMPLIANT`, `NOT_APPLICABLE`, `INSUFFICIENT_DATA`.

func (RuleCompliancePtrOutput) Count added in v3.37.0

The count of compliance.

func (RuleCompliancePtrOutput) Elem added in v3.37.0

func (RuleCompliancePtrOutput) ElementType added in v3.37.0

func (RuleCompliancePtrOutput) ElementType() reflect.Type

func (RuleCompliancePtrOutput) ToRuleCompliancePtrOutput added in v3.37.0

func (o RuleCompliancePtrOutput) ToRuleCompliancePtrOutput() RuleCompliancePtrOutput

func (RuleCompliancePtrOutput) ToRuleCompliancePtrOutputWithContext added in v3.37.0

func (o RuleCompliancePtrOutput) ToRuleCompliancePtrOutputWithContext(ctx context.Context) RuleCompliancePtrOutput

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) AccountId added in v3.37.0

func (o RuleOutput) AccountId() pulumi.IntOutput

The ID of Alicloud account.

func (RuleOutput) Compliance added in v3.37.0

func (o RuleOutput) Compliance() RuleComplianceOutput

compliance information.

func (RuleOutput) CompliancePackId added in v3.37.0

func (o RuleOutput) CompliancePackId() pulumi.StringOutput

Compliance Package ID.

func (RuleOutput) ConfigRuleArn added in v3.37.0

func (o RuleOutput) ConfigRuleArn() pulumi.StringOutput

config rule arn.

func (RuleOutput) ConfigRuleId added in v3.37.0

func (o RuleOutput) ConfigRuleId() pulumi.StringOutput

The ID of the rule.

func (RuleOutput) ConfigRuleTriggerTypes added in v3.27.0

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) CreateTime added in v3.37.0

func (o RuleOutput) CreateTime() pulumi.IntOutput

The timestamp when the rule was created.

func (RuleOutput) Description added in v3.27.0

func (o RuleOutput) Description() pulumi.StringPtrOutput

The description of the rule.

func (RuleOutput) ElementType

func (RuleOutput) ElementType() reflect.Type

func (RuleOutput) EventSource added in v3.37.0

func (o RuleOutput) EventSource() pulumi.StringOutput

The event source of the rule.

func (RuleOutput) ExcludeResourceIdsScope added in v3.27.0

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 added in v3.27.0

func (o RuleOutput) InputParameters() pulumi.MapOutput

The settings of the input parameters for the rule.

func (RuleOutput) MaximumExecutionFrequency added in v3.27.0

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) ModifiedTimestamp added in v3.37.0

func (o RuleOutput) ModifiedTimestamp() pulumi.IntOutput

The timestamp when the rule was last modified.

func (RuleOutput) RegionIdsScope added in v3.27.0

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 added in v3.27.0

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 added in v3.27.0

func (o RuleOutput) ResourceTypesScopes() pulumi.StringArrayOutput

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

func (RuleOutput) RiskLevel added in v3.27.0

func (o RuleOutput) RiskLevel() pulumi.IntOutput

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

func (RuleOutput) RuleName added in v3.27.0

func (o RuleOutput) RuleName() pulumi.StringOutput

The name of the rule.

func (RuleOutput) ScopeComplianceResourceTypes deprecated added in v3.27.0

func (o RuleOutput) ScopeComplianceResourceTypes() pulumi.StringOutput

Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' 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 added in v3.27.0

func (o RuleOutput) SourceDetailMessageType() pulumi.StringOutput

Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' 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 added in v3.27.0

func (o RuleOutput) SourceIdentifier() pulumi.StringOutput

The identifier of the rule. For a managed rule, the value is the name of the managed rule. For a custom rule, the value is the ARN of the custom rule.

func (RuleOutput) SourceMaximumExecutionFrequency deprecated added in v3.27.0

func (o RuleOutput) SourceMaximumExecutionFrequency() pulumi.StringOutput

Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' 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 added in v3.27.0

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 added in v3.27.0

func (o RuleOutput) Status() pulumi.StringOutput

The status of the rule. Valid values: ACTIVE: The rule is monitoring the configurations of target resources. DELETING_RESULTS: The compliance evaluation result returned by the rule is being deleted. EVALUATING: The rule is triggered and is evaluating whether the configurations of target resources are compliant. INACTIVE: The rule is disabled from monitoring the configurations of target resources.

func (RuleOutput) TagKeyScope added in v3.27.0

func (o RuleOutput) TagKeyScope() pulumi.StringPtrOutput

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

func (RuleOutput) TagValueScope added in v3.27.0

func (o RuleOutput) TagValueScope() pulumi.StringPtrOutput

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

The following arguments will be discarded. Please use new fields as soon as possible:

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 ID of Alicloud account.
	AccountId pulumi.IntPtrInput
	// compliance information.
	Compliance RuleCompliancePtrInput
	// Compliance Package ID.
	CompliancePackId pulumi.StringPtrInput
	// config rule arn.
	ConfigRuleArn pulumi.StringPtrInput
	// The ID of the 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 timestamp when the rule was created.
	CreateTime pulumi.IntPtrInput
	// The description of the rule.
	Description pulumi.StringPtrInput
	// The event source of the rule.
	EventSource 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 of the input parameters for the rule.
	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 timestamp when the rule was last modified.
	ModifiedTimestamp pulumi.IntPtrInput
	// 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
	// The types of the resources to be evaluated against the rule.
	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 name of the rule.
	RuleName pulumi.StringPtrInput
	// Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead.
	//
	// Deprecated: Field 'scope_compliance_resource_types' has been deprecated from provider version 1.124.1. New field 'resource_types_scope' instead.
	ScopeComplianceResourceTypes pulumi.StringPtrInput
	// Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead.
	//
	// Deprecated: Field 'source_detail_message_type' has been deprecated from provider version 1.124.1. New field 'config_rule_trigger_types' instead.
	SourceDetailMessageType pulumi.StringPtrInput
	// The identifier of the rule.  For a managed rule, the value is the name of the managed rule. For a custom rule, the value is the ARN of the custom rule.
	SourceIdentifier pulumi.StringPtrInput
	// Field 'source_maximum_execution_frequency' has been deprecated from provider version 1.124.1. New field 'maximum_execution_frequency' 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 status of the rule. Valid values: ACTIVE: The rule is monitoring the configurations of target resources. DELETING_RESULTS: The compliance evaluation result returned by the rule is being deleted. EVALUATING: The rule is triggered and is evaluating whether the configurations of target resources are compliant. INACTIVE: The rule is disabled from monitoring the configurations of target resources.
	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, only applies to rules created based on managed rules.
	//
	// The following arguments will be discarded. Please use new fields as soon as possible:
	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