1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cfg
  5. ReportTemplate
Alibaba Cloud v3.93.0 published on Tuesday, Jan 27, 2026 by Pulumi
alicloud logo
Alibaba Cloud v3.93.0 published on Tuesday, Jan 27, 2026 by Pulumi

    Provides a Cloud Config (Config) Report Template resource.

    Config Compliance Report Template.

    For information about Cloud Config (Config) Report Template and how to use it, see What is Report Template.

    NOTE: Available since v1.266.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const _default = new alicloud.cfg.ReportTemplate("default", {
        reportGranularity: "AllInOne",
        reportScopes: [{
            key: "RuleId",
            value: "cr-xxx",
            matchType: "In",
        }],
        reportFileFormats: "excel",
        reportTemplateName: "example-name",
        reportTemplateDescription: "example-desc",
        subscriptionFrequency: " ",
        reportLanguage: "en-US",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.cfg.ReportTemplate("default",
        report_granularity="AllInOne",
        report_scopes=[{
            "key": "RuleId",
            "value": "cr-xxx",
            "match_type": "In",
        }],
        report_file_formats="excel",
        report_template_name="example-name",
        report_template_description="example-desc",
        subscription_frequency=" ",
        report_language="en-US")
    
    package main
    
    import (
    	"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 := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_, err := cfg.NewReportTemplate(ctx, "default", &cfg.ReportTemplateArgs{
    			ReportGranularity: pulumi.String("AllInOne"),
    			ReportScopes: cfg.ReportTemplateReportScopeArray{
    				&cfg.ReportTemplateReportScopeArgs{
    					Key:       pulumi.String("RuleId"),
    					Value:     pulumi.String("cr-xxx"),
    					MatchType: pulumi.String("In"),
    				},
    			},
    			ReportFileFormats:         pulumi.String("excel"),
    			ReportTemplateName:        pulumi.String("example-name"),
    			ReportTemplateDescription: pulumi.String("example-desc"),
    			SubscriptionFrequency:     pulumi.String(" "),
    			ReportLanguage:            pulumi.String("en-US"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var @default = new AliCloud.Cfg.ReportTemplate("default", new()
        {
            ReportGranularity = "AllInOne",
            ReportScopes = new[]
            {
                new AliCloud.Cfg.Inputs.ReportTemplateReportScopeArgs
                {
                    Key = "RuleId",
                    Value = "cr-xxx",
                    MatchType = "In",
                },
            },
            ReportFileFormats = "excel",
            ReportTemplateName = "example-name",
            ReportTemplateDescription = "example-desc",
            SubscriptionFrequency = " ",
            ReportLanguage = "en-US",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.cfg.ReportTemplate;
    import com.pulumi.alicloud.cfg.ReportTemplateArgs;
    import com.pulumi.alicloud.cfg.inputs.ReportTemplateReportScopeArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            var default_ = new ReportTemplate("default", ReportTemplateArgs.builder()
                .reportGranularity("AllInOne")
                .reportScopes(ReportTemplateReportScopeArgs.builder()
                    .key("RuleId")
                    .value("cr-xxx")
                    .matchType("In")
                    .build())
                .reportFileFormats("excel")
                .reportTemplateName("example-name")
                .reportTemplateDescription("example-desc")
                .subscriptionFrequency(" ")
                .reportLanguage("en-US")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      default:
        type: alicloud:cfg:ReportTemplate
        properties:
          reportGranularity: AllInOne
          reportScopes:
            - key: RuleId
              value: cr-xxx
              matchType: In
          reportFileFormats: excel
          reportTemplateName: example-name
          reportTemplateDescription: example-desc
          subscriptionFrequency: ' '
          reportLanguage: en-US
    

    📚 Need more examples? VIEW MORE EXAMPLES

    Create ReportTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ReportTemplate(name: string, args: ReportTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def ReportTemplate(resource_name: str,
                       args: ReportTemplateArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ReportTemplate(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       report_template_name: Optional[str] = None,
                       report_file_formats: Optional[str] = None,
                       report_granularity: Optional[str] = None,
                       report_language: Optional[str] = None,
                       report_scopes: Optional[Sequence[ReportTemplateReportScopeArgs]] = None,
                       report_template_description: Optional[str] = None,
                       subscription_frequency: Optional[str] = None)
    func NewReportTemplate(ctx *Context, name string, args ReportTemplateArgs, opts ...ResourceOption) (*ReportTemplate, error)
    public ReportTemplate(string name, ReportTemplateArgs args, CustomResourceOptions? opts = null)
    public ReportTemplate(String name, ReportTemplateArgs args)
    public ReportTemplate(String name, ReportTemplateArgs args, CustomResourceOptions options)
    
    type: alicloud:cfg:ReportTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ReportTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ReportTemplateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ReportTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ReportTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ReportTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var reportTemplateResource = new AliCloud.Cfg.ReportTemplate("reportTemplateResource", new()
    {
        ReportTemplateName = "string",
        ReportFileFormats = "string",
        ReportGranularity = "string",
        ReportLanguage = "string",
        ReportScopes = new[]
        {
            new AliCloud.Cfg.Inputs.ReportTemplateReportScopeArgs
            {
                Key = "string",
                MatchType = "string",
                Value = "string",
            },
        },
        ReportTemplateDescription = "string",
        SubscriptionFrequency = "string",
    });
    
    example, err := cfg.NewReportTemplate(ctx, "reportTemplateResource", &cfg.ReportTemplateArgs{
    	ReportTemplateName: pulumi.String("string"),
    	ReportFileFormats:  pulumi.String("string"),
    	ReportGranularity:  pulumi.String("string"),
    	ReportLanguage:     pulumi.String("string"),
    	ReportScopes: cfg.ReportTemplateReportScopeArray{
    		&cfg.ReportTemplateReportScopeArgs{
    			Key:       pulumi.String("string"),
    			MatchType: pulumi.String("string"),
    			Value:     pulumi.String("string"),
    		},
    	},
    	ReportTemplateDescription: pulumi.String("string"),
    	SubscriptionFrequency:     pulumi.String("string"),
    })
    
    var reportTemplateResource = new ReportTemplate("reportTemplateResource", ReportTemplateArgs.builder()
        .reportTemplateName("string")
        .reportFileFormats("string")
        .reportGranularity("string")
        .reportLanguage("string")
        .reportScopes(ReportTemplateReportScopeArgs.builder()
            .key("string")
            .matchType("string")
            .value("string")
            .build())
        .reportTemplateDescription("string")
        .subscriptionFrequency("string")
        .build());
    
    report_template_resource = alicloud.cfg.ReportTemplate("reportTemplateResource",
        report_template_name="string",
        report_file_formats="string",
        report_granularity="string",
        report_language="string",
        report_scopes=[{
            "key": "string",
            "match_type": "string",
            "value": "string",
        }],
        report_template_description="string",
        subscription_frequency="string")
    
    const reportTemplateResource = new alicloud.cfg.ReportTemplate("reportTemplateResource", {
        reportTemplateName: "string",
        reportFileFormats: "string",
        reportGranularity: "string",
        reportLanguage: "string",
        reportScopes: [{
            key: "string",
            matchType: "string",
            value: "string",
        }],
        reportTemplateDescription: "string",
        subscriptionFrequency: "string",
    });
    
    type: alicloud:cfg:ReportTemplate
    properties:
        reportFileFormats: string
        reportGranularity: string
        reportLanguage: string
        reportScopes:
            - key: string
              matchType: string
              value: string
        reportTemplateDescription: string
        reportTemplateName: string
        subscriptionFrequency: string
    

    ReportTemplate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ReportTemplate resource accepts the following input properties:

    ReportTemplateName string
    Report Template Name
    ReportFileFormats string
    Report Format
    ReportGranularity string
    Report Aggregation Granularity
    ReportLanguage string
    This property does not have a description in the spec, please add it before generating code.
    ReportScopes List<Pulumi.AliCloud.Cfg.Inputs.ReportTemplateReportScope>
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    ReportTemplateDescription string
    Report Template Description
    SubscriptionFrequency string

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    ReportTemplateName string
    Report Template Name
    ReportFileFormats string
    Report Format
    ReportGranularity string
    Report Aggregation Granularity
    ReportLanguage string
    This property does not have a description in the spec, please add it before generating code.
    ReportScopes []ReportTemplateReportScopeArgs
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    ReportTemplateDescription string
    Report Template Description
    SubscriptionFrequency string

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    reportTemplateName String
    Report Template Name
    reportFileFormats String
    Report Format
    reportGranularity String
    Report Aggregation Granularity
    reportLanguage String
    This property does not have a description in the spec, please add it before generating code.
    reportScopes List<ReportTemplateReportScope>
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    reportTemplateDescription String
    Report Template Description
    subscriptionFrequency String

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    reportTemplateName string
    Report Template Name
    reportFileFormats string
    Report Format
    reportGranularity string
    Report Aggregation Granularity
    reportLanguage string
    This property does not have a description in the spec, please add it before generating code.
    reportScopes ReportTemplateReportScope[]
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    reportTemplateDescription string
    Report Template Description
    subscriptionFrequency string

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    report_template_name str
    Report Template Name
    report_file_formats str
    Report Format
    report_granularity str
    Report Aggregation Granularity
    report_language str
    This property does not have a description in the spec, please add it before generating code.
    report_scopes Sequence[ReportTemplateReportScopeArgs]
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    report_template_description str
    Report Template Description
    subscription_frequency str

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    reportTemplateName String
    Report Template Name
    reportFileFormats String
    Report Format
    reportGranularity String
    Report Aggregation Granularity
    reportLanguage String
    This property does not have a description in the spec, please add it before generating code.
    reportScopes List<Property Map>
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    reportTemplateDescription String
    Report Template Description
    subscriptionFrequency String

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ReportTemplate resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ReportTemplate Resource

    Get an existing ReportTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ReportTemplateState, opts?: CustomResourceOptions): ReportTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            report_file_formats: Optional[str] = None,
            report_granularity: Optional[str] = None,
            report_language: Optional[str] = None,
            report_scopes: Optional[Sequence[ReportTemplateReportScopeArgs]] = None,
            report_template_description: Optional[str] = None,
            report_template_name: Optional[str] = None,
            subscription_frequency: Optional[str] = None) -> ReportTemplate
    func GetReportTemplate(ctx *Context, name string, id IDInput, state *ReportTemplateState, opts ...ResourceOption) (*ReportTemplate, error)
    public static ReportTemplate Get(string name, Input<string> id, ReportTemplateState? state, CustomResourceOptions? opts = null)
    public static ReportTemplate get(String name, Output<String> id, ReportTemplateState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:cfg:ReportTemplate    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ReportFileFormats string
    Report Format
    ReportGranularity string
    Report Aggregation Granularity
    ReportLanguage string
    This property does not have a description in the spec, please add it before generating code.
    ReportScopes List<Pulumi.AliCloud.Cfg.Inputs.ReportTemplateReportScope>
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    ReportTemplateDescription string
    Report Template Description
    ReportTemplateName string
    Report Template Name
    SubscriptionFrequency string

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    ReportFileFormats string
    Report Format
    ReportGranularity string
    Report Aggregation Granularity
    ReportLanguage string
    This property does not have a description in the spec, please add it before generating code.
    ReportScopes []ReportTemplateReportScopeArgs
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    ReportTemplateDescription string
    Report Template Description
    ReportTemplateName string
    Report Template Name
    SubscriptionFrequency string

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    reportFileFormats String
    Report Format
    reportGranularity String
    Report Aggregation Granularity
    reportLanguage String
    This property does not have a description in the spec, please add it before generating code.
    reportScopes List<ReportTemplateReportScope>
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    reportTemplateDescription String
    Report Template Description
    reportTemplateName String
    Report Template Name
    subscriptionFrequency String

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    reportFileFormats string
    Report Format
    reportGranularity string
    Report Aggregation Granularity
    reportLanguage string
    This property does not have a description in the spec, please add it before generating code.
    reportScopes ReportTemplateReportScope[]
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    reportTemplateDescription string
    Report Template Description
    reportTemplateName string
    Report Template Name
    subscriptionFrequency string

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    report_file_formats str
    Report Format
    report_granularity str
    Report Aggregation Granularity
    report_language str
    This property does not have a description in the spec, please add it before generating code.
    report_scopes Sequence[ReportTemplateReportScopeArgs]
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    report_template_description str
    Report Template Description
    report_template_name str
    Report Template Name
    subscription_frequency str

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    reportFileFormats String
    Report Format
    reportGranularity String
    Report Aggregation Granularity
    reportLanguage String
    This property does not have a description in the spec, please add it before generating code.
    reportScopes List<Property Map>
    Report range, yes and logic between multiple sets of k-v pairs. See report_scope below.
    reportTemplateDescription String
    Report Template Description
    reportTemplateName String
    Report Template Name
    subscriptionFrequency String

    Report subscription frequency. If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification.

    The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

    • Execute at 0 o'clock every day: 0 0 0 * *?
    • Every Monday at 15: 30: 0 30 15? * MON
    • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *?

    Among them: -"*" Indicates any value

    • What-? Used for day and week fields, indicating that no specific value is specified
    • MON means Monday

    NOTE: The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone.

    NOTE: It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.

    Supporting Types

    ReportTemplateReportScope, ReportTemplateReportScopeArgs

    Key string
    Key for reporting scope, currently supported:

    • AggregatorId
    • CompliancePackId
    • RuleId
    MatchType string
    The matching logic. Currently, only In is supported.
    Value string
    The value of the report range. Each k-v pair is an OR logic. For example, multiple rule IDs can be separated by commas (,).
    Key string
    Key for reporting scope, currently supported:

    • AggregatorId
    • CompliancePackId
    • RuleId
    MatchType string
    The matching logic. Currently, only In is supported.
    Value string
    The value of the report range. Each k-v pair is an OR logic. For example, multiple rule IDs can be separated by commas (,).
    key String
    Key for reporting scope, currently supported:

    • AggregatorId
    • CompliancePackId
    • RuleId
    matchType String
    The matching logic. Currently, only In is supported.
    value String
    The value of the report range. Each k-v pair is an OR logic. For example, multiple rule IDs can be separated by commas (,).
    key string
    Key for reporting scope, currently supported:

    • AggregatorId
    • CompliancePackId
    • RuleId
    matchType string
    The matching logic. Currently, only In is supported.
    value string
    The value of the report range. Each k-v pair is an OR logic. For example, multiple rule IDs can be separated by commas (,).
    key str
    Key for reporting scope, currently supported:

    • AggregatorId
    • CompliancePackId
    • RuleId
    match_type str
    The matching logic. Currently, only In is supported.
    value str
    The value of the report range. Each k-v pair is an OR logic. For example, multiple rule IDs can be separated by commas (,).
    key String
    Key for reporting scope, currently supported:

    • AggregatorId
    • CompliancePackId
    • RuleId
    matchType String
    The matching logic. Currently, only In is supported.
    value String
    The value of the report range. Each k-v pair is an OR logic. For example, multiple rule IDs can be separated by commas (,).

    Import

    Cloud Config (Config) Report Template can be imported using the id, e.g.

    $ pulumi import alicloud:cfg/reportTemplate:ReportTemplate example <id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.93.0 published on Tuesday, Jan 27, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate