Class CfnDashboardPropsMixin.CostAndUsageQueryProperty
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.BCM
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnDashboardPropsMixin.CostAndUsageQueryProperty : CfnDashboardPropsMixin.ICostAndUsageQueryProperty
Syntax (vb)
Public Class CfnDashboardPropsMixin.CostAndUsageQueryProperty Implements CfnDashboardPropsMixin.ICostAndUsageQueryProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.BCM;
CostAndUsageExpressionProperty costAndUsageExpressionProperty_;
var costAndUsageQueryProperty = new CostAndUsageQueryProperty {
Filter = new CostAndUsageExpressionProperty {
And = new [] { costAndUsageExpressionProperty_ },
CostCategories = new CostCategoryValuesProperty {
Key = "key",
MatchOptions = new [] { "matchOptions" },
Values = new [] { "values" }
},
Dimensions = new DimensionValuesProperty {
Key = "key",
MatchOptions = new [] { "matchOptions" },
Values = new [] { "values" }
},
Not = costAndUsageExpressionProperty_,
Or = new [] { costAndUsageExpressionProperty_ },
Tags = new TagValuesProperty {
Key = "key",
MatchOptions = new [] { "matchOptions" },
Values = new [] { "values" }
}
},
Granularity = "granularity",
GroupBy = new [] { new GroupDefinitionProperty {
Key = "key",
Type = "type"
} },
Metrics = new [] { "metrics" },
TimeRange = new DateTimeRangeProperty {
EndTime = new DateTimeValueProperty {
Type = "type",
Value = "value"
},
StartTime = new DateTimeValueProperty {
Type = "type",
Value = "value"
}
}
};
Synopsis
Constructors
| CostAndUsageQueryProperty() |
Properties
| Filter | |
| Granularity | |
| GroupBy | |
| Metrics | |
| TimeRange |
Constructors
CostAndUsageQueryProperty()
public CostAndUsageQueryProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.BCM;
CostAndUsageExpressionProperty costAndUsageExpressionProperty_;
var costAndUsageQueryProperty = new CostAndUsageQueryProperty {
Filter = new CostAndUsageExpressionProperty {
And = new [] { costAndUsageExpressionProperty_ },
CostCategories = new CostCategoryValuesProperty {
Key = "key",
MatchOptions = new [] { "matchOptions" },
Values = new [] { "values" }
},
Dimensions = new DimensionValuesProperty {
Key = "key",
MatchOptions = new [] { "matchOptions" },
Values = new [] { "values" }
},
Not = costAndUsageExpressionProperty_,
Or = new [] { costAndUsageExpressionProperty_ },
Tags = new TagValuesProperty {
Key = "key",
MatchOptions = new [] { "matchOptions" },
Values = new [] { "values" }
}
},
Granularity = "granularity",
GroupBy = new [] { new GroupDefinitionProperty {
Key = "key",
Type = "type"
} },
Metrics = new [] { "metrics" },
TimeRange = new DateTimeRangeProperty {
EndTime = new DateTimeValueProperty {
Type = "type",
Value = "value"
},
StartTime = new DateTimeValueProperty {
Type = "type",
Value = "value"
}
}
};
Properties
Filter
public object? Filter { get; set; }
Property Value
Remarks
Granularity
public string? Granularity { get; set; }
Property Value
Remarks
GroupBy
public object? GroupBy { get; set; }
Property Value
Remarks
Metrics
TimeRange
public object? TimeRange { get; set; }