CfnReportGeneratorProps
Struct External
Properties for defining a CfnReportGenerator.
| Source | |
|---|---|
| Type last changed |
Example
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
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
// 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();
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
// 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
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #Description of the report generator.
reportContextIResolvable | CfnReportGenerator.report_contexttyping.Union[IResolvable, ReportContextProperty]reportContextIResolvableReportContextIResolvableReportContextinterface{} required #Details of the license configurations and asset groups that this generator reports on.
reportFrequencyIResolvable | CfnReportGenerator.report_frequencytyping.Union[IResolvable, ReportFrequencyProperty]reportFrequencyIResolvableReportFrequencyIResolvableReportFrequencyinterface{} required #Details about how frequently reports are generated.
reportGeneratorNamestringreport_generator_namestrreportGeneratorNameStringReportGeneratorNamestringReportGeneratorName*string required #Name of the report generator.
reportTypestring[]report_typetyping.List[str]reportTypeList<String>ReportTypestring[]ReportType*[]*string required #Type of reports to generate.
The report type determines the data reported on.