v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142717496.7 KB

Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by <code>DescribeComponentConfigurationRecommendation</code>.

post/#X-Amz-Target=EC2WindowsBarleyService.UpdateComponentConfiguration

Headers

X-Amz-Target'EC2WindowsBarleyService.UpdateComponentConfiguration' required

Request body

ResourceGroupNamestring required

The name of the resource group.

ComponentNamestring required

The name of the component.

Monitorboolean

Indicates whether the application component is monitored.

Tier'CUSTOM' | 'DEFAULT' | 'DOT_NET_CORE' | 'DOT_NET_WORKER' | 'DOT_NET_WEB_TIER' | 'DOT_NET_WEB' | 'SQL_SERVER' | 'SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP' | 'MYSQL' | 'POSTGRESQL' | 'JAVA_JMX' | 'ORACLE' | 'SAP_HANA_MULTI_NODE' | 'SAP_HANA_SINGLE_NODE' | 'SAP_HANA_HIGH_AVAILABILITY' | 'SQL_SERVER_FAILOVER_CLUSTER_INSTANCE' | 'SHAREPOINT' | 'ACTIVE_DIRECTORY'

The tier of the application component.

ComponentConfigurationstring

The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see <a href="https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/working-with-json.html">Working with JSON</a>. You can send a request to <code>DescribeComponentConfigurationRecommendation</code> to see the recommended configuration for a component. For the complete format of the component configuration file, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/component-config.html">Component Configuration</a>.

AutoConfigEnabledboolean

Automatically configures the component by applying the recommended configurations.

Response

Success

UpdateComponentConfigurationResponse required