Skip to content
v2.278.0

ReportContextProperty ​

Struct External

Details of the license configurations and asset groups that this generator reports on.

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 reportContextProperty: licensemanager.CfnReportGenerator.ReportContextProperty = {
  licenseAssetGroupArns: ['licenseAssetGroupArns'],
  licenseConfigurationArns: ['licenseConfigurationArns'],
  reportEndDate: 'reportEndDate',
  reportStartDate: 'reportStartDate',
};
python
# 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

report_context_property = licensemanager.CfnReportGenerator.ReportContextProperty(
    license_asset_group_arns=["licenseAssetGroupArns"],
    license_configuration_arns=["licenseConfigurationArns"],
    report_end_date="reportEndDate",
    report_start_date="reportStartDate"
)
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.*;

ReportContextProperty reportContextProperty = ReportContextProperty.builder()
        .licenseAssetGroupArns(List.of("licenseAssetGroupArns"))
        .licenseConfigurationArns(List.of("licenseConfigurationArns"))
        .reportEndDate("reportEndDate")
        .reportStartDate("reportStartDate")
        .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 reportContextProperty = new ReportContextProperty {
    LicenseAssetGroupArns = new [] { "licenseAssetGroupArns" },
    LicenseConfigurationArns = new [] { "licenseConfigurationArns" },
    ReportEndDate = "reportEndDate",
    ReportStartDate = "reportStartDate"
};
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"

reportContextProperty := &ReportContextProperty{
	LicenseAssetGroupArns: []*string{
		jsii.String("licenseAssetGroupArns"),
	},
	LicenseConfigurationArns: []*string{
		jsii.String("licenseConfigurationArns"),
	},
	ReportEndDate: jsii.String("reportEndDate"),
	ReportStartDate: jsii.String("reportStartDate"),
}

Properties ​

licenseAssetGroupArnsoptionalstring[]license_asset_group_arnsoptionaltyping.List[str]licenseAssetGroupArnsoptionalList<String>LicenseAssetGroupArnsoptionalstring[]LicenseAssetGroupArnsoptional*[]*string #
Amazon Resource Names (ARNs) of the license asset groups to include in the report.
licenseConfigurationArnsoptionalstring[]license_configuration_arnsoptionaltyping.List[str]licenseConfigurationArnsoptionalList<String>LicenseConfigurationArnsoptionalstring[]LicenseConfigurationArnsoptional*[]*string #
Amazon Resource Names (ARNs) of the license configurations that this generator reports on.
reportEndDateoptionalstringreport_end_dateoptionalstrreportEndDateoptionalStringReportEndDateoptionalstringReportEndDateoptional*string #
End date for the report data collection period.
reportStartDateoptionalstringreport_start_dateoptionalstrreportStartDateoptionalStringReportStartDateoptionalstringReportStartDateoptional*string #
Start date for the report data collection period.