interface WidgetProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.BCM.CfnDashboardPropsMixin.WidgetProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbcm#CfnDashboardPropsMixin_WidgetProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnDashboardPropsMixin.WidgetProperty |
Python | aws_cdk.cfn_property_mixins.aws_bcm.CfnDashboardPropsMixin.WidgetProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bcm » CfnDashboardPropsMixin » WidgetProperty |
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 widgetProperty: bcm.CfnDashboardPropsMixin.WidgetProperty = {
configs: [{
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',
},
},
},
},
}],
description: 'description',
height: 123,
horizontalOffset: 123,
title: 'title',
width: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| configs? | IResolvable | (IResolvable | Widget)[] | |
| description? | string | |
| height? | number | |
| horizontal | number | |
| title? | string | |
| width? | number |
configs?
Type:
IResolvable | (IResolvable | Widget)[]
(optional)
description?
Type:
string
(optional)
height?
Type:
number
(optional)
horizontalOffset?
Type:
number
(optional)
title?
Type:
string
(optional)
width?
Type:
number
(optional)

.NET
Go
Java
Python
TypeScript