Class CfnDashboardPropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnDashboardPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-06-16T16:14:37.716Z") @Stability(Stable) public class CfnDashboardPropsMixin extends Mixin implements software.constructs.IMixin
Definition of AWS::BCM::Dashboard Resource Type.

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.*;
 import software.amazon.awscdk.*;
 CostAndUsageExpressionProperty costAndUsageExpressionProperty_;
 ExpressionProperty expressionProperty_;
 IMergeStrategy mergeStrategy;
 Object table;
 CfnDashboardPropsMixin cfnDashboardPropsMixin = CfnDashboardPropsMixin.Builder.create(CfnDashboardMixinProps.builder()
         .description("description")
         .name("name")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .widgets(List.of(WidgetProperty.builder()
                 .configs(List.of(WidgetConfigProperty.builder()
                         .displayConfig(DisplayConfigProperty.builder()
                                 .graph(Map.of(
                                         "graphKey", GraphDisplayConfigProperty.builder()
                                                 .visualType("visualType")
                                                 .build()))
                                 .table(table)
                                 .build())
                         .queryParameters(QueryParametersProperty.builder()
                                 .costAndUsage(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())
                                 .reservationCoverage(ReservationCoverageQueryProperty.builder()
                                         .filter(ExpressionProperty.builder()
                                                 .and(List.of(expressionProperty_))
                                                 .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(expressionProperty_)
                                                 .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())
                                 .reservationUtilization(ReservationUtilizationQueryProperty.builder()
                                         .filter(ExpressionProperty.builder()
                                                 .and(List.of(expressionProperty_))
                                                 .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(expressionProperty_)
                                                 .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()))
                                         .timeRange(DateTimeRangeProperty.builder()
                                                 .endTime(DateTimeValueProperty.builder()
                                                         .type("type")
                                                         .value("value")
                                                         .build())
                                                 .startTime(DateTimeValueProperty.builder()
                                                         .type("type")
                                                         .value("value")
                                                         .build())
                                                 .build())
                                         .build())
                                 .savingsPlansCoverage(SavingsPlansCoverageQueryProperty.builder()
                                         .filter(ExpressionProperty.builder()
                                                 .and(List.of(expressionProperty_))
                                                 .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(expressionProperty_)
                                                 .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())
                                 .savingsPlansUtilization(SavingsPlansUtilizationQueryProperty.builder()
                                         .filter(ExpressionProperty.builder()
                                                 .and(List.of(expressionProperty_))
                                                 .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(expressionProperty_)
                                                 .tags(TagValuesProperty.builder()
                                                         .key("key")
                                                         .matchOptions(List.of("matchOptions"))
                                                         .values(List.of("values"))
                                                         .build())
                                                 .build())
                                         .granularity("granularity")
                                         .timeRange(DateTimeRangeProperty.builder()
                                                 .endTime(DateTimeValueProperty.builder()
                                                         .type("type")
                                                         .value("value")
                                                         .build())
                                                 .startTime(DateTimeValueProperty.builder()
                                                         .type("type")
                                                         .value("value")
                                                         .build())
                                                 .build())
                                         .build())
                                 .build())
                         .build()))
                 .description("description")
                 .height(123)
                 .horizontalOffset(123)
                 .title("title")
                 .width(123)
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnDashboardPropsMixin

      protected CfnDashboardPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnDashboardPropsMixin

      protected CfnDashboardPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnDashboardPropsMixin

      @Stability(Stable) public CfnDashboardPropsMixin(@NotNull CfnDashboardMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::BCM::Dashboard.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnDashboardPropsMixin

      @Stability(Stable) public CfnDashboardPropsMixin(@NotNull CfnDashboardMixinProps props)
      Create a mixin to apply properties to AWS::BCM::Dashboard.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnDashboardMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()