interface WidgetConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.BCM.CfnDashboardPropsMixin.WidgetConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbcm#CfnDashboardPropsMixin_WidgetConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnDashboardPropsMixin.WidgetConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_bcm.CfnDashboardPropsMixin.WidgetConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bcm » CfnDashboardPropsMixin » WidgetConfigProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bcm as bcm } from '@aws-cdk/cfn-property-mixins';
declare const costAndUsageExpressionProperty_: bcm.CfnDashboardPropsMixin.CostAndUsageExpressionProperty;
declare const expressionProperty_: bcm.CfnDashboardPropsMixin.ExpressionProperty;
declare const table: any;
const widgetConfigProperty: bcm.CfnDashboardPropsMixin.WidgetConfigProperty = {
displayConfig: {
graph: {
graphKey: {
visualType: 'visualType',
},
},
table: table,
},
queryParameters: {
costAndUsage: {
filter: {
and: [costAndUsageExpressionProperty_],
costCategories: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
dimensions: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
not: costAndUsageExpressionProperty_,
or: [costAndUsageExpressionProperty_],
tags: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
},
granularity: 'granularity',
groupBy: [{
key: 'key',
type: 'type',
}],
metrics: ['metrics'],
timeRange: {
endTime: {
type: 'type',
value: 'value',
},
startTime: {
type: 'type',
value: 'value',
},
},
},
reservationCoverage: {
filter: {
and: [expressionProperty_],
costCategories: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
dimensions: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
not: expressionProperty_,
tags: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
},
granularity: 'granularity',
groupBy: [{
key: 'key',
type: 'type',
}],
metrics: ['metrics'],
timeRange: {
endTime: {
type: 'type',
value: 'value',
},
startTime: {
type: 'type',
value: 'value',
},
},
},
reservationUtilization: {
filter: {
and: [expressionProperty_],
costCategories: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
dimensions: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
not: expressionProperty_,
tags: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
},
granularity: 'granularity',
groupBy: [{
key: 'key',
type: 'type',
}],
timeRange: {
endTime: {
type: 'type',
value: 'value',
},
startTime: {
type: 'type',
value: 'value',
},
},
},
savingsPlansCoverage: {
filter: {
and: [expressionProperty_],
costCategories: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
dimensions: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
not: expressionProperty_,
tags: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
},
granularity: 'granularity',
groupBy: [{
key: 'key',
type: 'type',
}],
metrics: ['metrics'],
timeRange: {
endTime: {
type: 'type',
value: 'value',
},
startTime: {
type: 'type',
value: 'value',
},
},
},
savingsPlansUtilization: {
filter: {
and: [expressionProperty_],
costCategories: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
dimensions: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
not: expressionProperty_,
tags: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
},
granularity: 'granularity',
timeRange: {
endTime: {
type: 'type',
value: 'value',
},
startTime: {
type: 'type',
value: 'value',
},
},
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| display | IResolvable | Display | |
| query | IResolvable | Query |
displayConfig?
Type:
IResolvable | Display
(optional)
queryParameters?
Type:
IResolvable | Query
(optional)

.NET
Go
Java
Python
TypeScript