Skip to main content

component_configurations

Creates, updates, deletes, gets or lists a component_configurations resource.

Overview

Namecomponent_configurations
TypeResource
Idaws.application_insights.component_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
component_configurationstringThe configuration settings of the component. The value is the escaped JSON of the configuration. (pattern: <code>[\S\s]+</code>)
monitorbooleanIndicates whether the application component is monitored.
tierstringThe tier of the application component. Supported tiers include DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT (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, SAP_ASE_SINGLE_NODE, SAP_ASE_HIGH_AVAILABILITY, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, SHAREPOINT, ACTIVE_DIRECTORY, SAP_NETWEAVER_STANDARD, SAP_NETWEAVER_DISTRIBUTED, SAP_NETWEAVER_HIGH_AVAILABILITY)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_component_configurationselectregionDescribes the monitoring configuration of the component.
update_component_configurationupdateregion, ResourceGroupName, ComponentNameUpdates 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 DescribeComponentConfigurationRecommendation.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes the monitoring configuration of the component.

SELECT
component_configuration,
monitor,
tier
FROM aws.application_insights.component_configurations
WHERE region = '{{ region }}' -- required
;

UPDATE examples

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 DescribeComponentConfigurationRecommendation.

UPDATE aws.application_insights.component_configurations
SET
ResourceGroupName = '{{ ResourceGroupName }}',
ComponentName = '{{ ComponentName }}',
Monitor = {{ Monitor }},
Tier = '{{ Tier }}',
ComponentConfiguration = '{{ ComponentConfiguration }}',
AutoConfigEnabled = {{ AutoConfigEnabled }}
WHERE
region = '{{ region }}' --required
AND ResourceGroupName = '{{ ResourceGroupName }}' --required
AND ComponentName = '{{ ComponentName }}' --required;