# CfnReportGeneratorProps

Struct · External

Properties for defining a `CfnReportGenerator`.

Used as props by: [CfnReportGenerator](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_licensemanager.CfnReportGenerator.html)

- Source: Generated at build time
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_licensemanager as licensemanager } from 'aws-cdk-lib';
const cfnReportGeneratorProps: licensemanager.CfnReportGeneratorProps = {
  reportContext: {
    licenseAssetGroupArns: ['licenseAssetGroupArns'],
    licenseConfigurationArns: ['licenseConfigurationArns'],
    reportEndDate: 'reportEndDate',
    reportStartDate: 'reportStartDate',
  },
  reportFrequency: {
    period: 'period',
    value: 123,
  },
  reportGeneratorName: 'reportGeneratorName',
  reportType: ['reportType'],

  // the properties below are optional
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_licensemanager as licensemanager

cfn_report_generator_props = licensemanager.CfnReportGeneratorProps(
    report_context=licensemanager.CfnReportGenerator.ReportContextProperty(
        license_asset_group_arns=["licenseAssetGroupArns"],
        license_configuration_arns=["licenseConfigurationArns"],
        report_end_date="reportEndDate",
        report_start_date="reportStartDate"
    ),
    report_frequency=licensemanager.CfnReportGenerator.ReportFrequencyProperty(
        period="period",
        value=123
    ),
    report_generator_name="reportGeneratorName",
    report_type=["reportType"],

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.licensemanager.*;

CfnReportGeneratorProps cfnReportGeneratorProps = CfnReportGeneratorProps.builder()
        .reportContext(ReportContextProperty.builder()
                .licenseAssetGroupArns(List.of("licenseAssetGroupArns"))
                .licenseConfigurationArns(List.of("licenseConfigurationArns"))
                .reportEndDate("reportEndDate")
                .reportStartDate("reportStartDate")
                .build())
        .reportFrequency(ReportFrequencyProperty.builder()
                .period("period")
                .value(123)
                .build())
        .reportGeneratorName("reportGeneratorName")
        .reportType(List.of("reportType"))

        // the properties below are optional
        .description("description")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.LicenseManager;

var cfnReportGeneratorProps = new CfnReportGeneratorProps {
    ReportContext = new ReportContextProperty {
        LicenseAssetGroupArns = new [] { "licenseAssetGroupArns" },
        LicenseConfigurationArns = new [] { "licenseConfigurationArns" },
        ReportEndDate = "reportEndDate",
        ReportStartDate = "reportStartDate"
    },
    ReportFrequency = new ReportFrequencyProperty {
        Period = "period",
        Value = 123
    },
    ReportGeneratorName = "reportGeneratorName",
    ReportType = new [] { "reportType" },

    // the properties below are optional
    Description = "description",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnReportGeneratorProps := &CfnReportGeneratorProps{
	ReportContext: &ReportContextProperty{
		LicenseAssetGroupArns: []*string{
			jsii.String("licenseAssetGroupArns"),
		},
		LicenseConfigurationArns: []*string{
			jsii.String("licenseConfigurationArns"),
		},
		ReportEndDate: jsii.String("reportEndDate"),
		ReportStartDate: jsii.String("reportStartDate"),
	},
	ReportFrequency: &ReportFrequencyProperty{
		Period: jsii.String("period"),
		Value: jsii.Number(123),
	},
	ReportGeneratorName: jsii.String("reportGeneratorName"),
	ReportType: []*string{
		jsii.String("reportType"),
	},

	// the properties below are optional
	Description: jsii.String("description"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `description`: string — Description of the report generator.

- `reportContext`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnReportGenerator.ReportContextProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_licensemanager.CfnReportGenerator.ReportContextProperty.html) (required) — Details of the license configurations and asset groups that this generator reports on.

- `reportFrequency`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnReportGenerator.ReportFrequencyProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_licensemanager.CfnReportGenerator.ReportFrequencyProperty.html) (required) — Details about how frequently reports are generated.

- `reportGeneratorName`: string (required) — Name of the report generator.

- `reportType`: string[] (required) — Type of reports to generate.

  The report type determines the data reported on.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.
