Interface CfnDashboardPropsMixin.CostAndUsageQueryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDashboardPropsMixin.CostAndUsageQueryProperty.Jsii$Proxy
- Enclosing class:
CfnDashboardPropsMixin
@Stability(Stable)
public static interface CfnDashboardPropsMixin.CostAndUsageQueryProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bcm.*;
CostAndUsageExpressionProperty costAndUsageExpressionProperty_;
CostAndUsageQueryProperty costAndUsageQueryProperty = CostAndUsageQueryProperty.builder()
.filter(CostAndUsageExpressionProperty.builder()
.and(List.of(costAndUsageExpressionProperty_))
.costCategories(CostCategoryValuesProperty.builder()
.key("key")
.matchOptions(List.of("matchOptions"))
.values(List.of("values"))
.build())
.dimensions(DimensionValuesProperty.builder()
.key("key")
.matchOptions(List.of("matchOptions"))
.values(List.of("values"))
.build())
.not(costAndUsageExpressionProperty_)
.or(List.of(costAndUsageExpressionProperty_))
.tags(TagValuesProperty.builder()
.key("key")
.matchOptions(List.of("matchOptions"))
.values(List.of("values"))
.build())
.build())
.granularity("granularity")
.groupBy(List.of(GroupDefinitionProperty.builder()
.key("key")
.type("type")
.build()))
.metrics(List.of("metrics"))
.timeRange(DateTimeRangeProperty.builder()
.endTime(DateTimeValueProperty.builder()
.type("type")
.value("value")
.build())
.startTime(DateTimeValueProperty.builder()
.type("type")
.value("value")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDashboardPropsMixin.CostAndUsageQueryPropertystatic final classAn implementation forCfnDashboardPropsMixin.CostAndUsageQueryProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnDashboardPropsMixin.CostAndUsageExpressionPropertydefault Stringdefault ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnDashboardPropsMixin.GroupDefinitionProperty>default ObjectReturns union: eitherIResolvableorCfnDashboardPropsMixin.DateTimeRangePropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilter
Returns union: eitherIResolvableorCfnDashboardPropsMixin.CostAndUsageExpressionProperty- See Also:
-
getGranularity
- See Also:
-
getGroupBy
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnDashboardPropsMixin.GroupDefinitionProperty>- See Also:
-
getMetrics
- See Also:
-
getTimeRange
Returns union: eitherIResolvableorCfnDashboardPropsMixin.DateTimeRangeProperty- See Also:
-
builder
-