

# WidgetConfig


Defines the complete configuration for a widget, including data retrieval settings and visualization preferences.

## Contents


 ** displayConfig **   <a name="awscostmanagement-Type-bcmDashboards_WidgetConfig-displayConfig"></a>
The configuration that determines how the retrieved data should be visualized in the widget.  
Type: [DisplayConfig](API_bcmDashboards_DisplayConfig.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: Yes

 ** queryParameters **   <a name="awscostmanagement-Type-bcmDashboards_WidgetConfig-queryParameters"></a>
The parameters that define what data the widget should retrieve and how it should be filtered or grouped.  
Type: [QueryParameters](API_bcmDashboards_QueryParameters.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: Yes

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bcm-dashboards-2025-08-18/WidgetConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bcm-dashboards-2025-08-18/WidgetConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bcm-dashboards-2025-08-18/WidgetConfig) 