component_configurations
Creates, updates, deletes, gets or lists a component_configurations resource.
Overview
| Name | component_configurations |
| Type | Resource |
| Id | aws.application_insights.component_configurations |
Fields
The following fields are returned by SELECT queries:
- describe_component_configuration
| Name | Datatype | Description |
|---|---|---|
component_configuration | string | The configuration settings of the component. The value is the escaped JSON of the configuration. (pattern: <code>[\S\s]+</code>) |
monitor | boolean | Indicates whether the application component is monitored. |
tier | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_component_configuration | select | region | Describes the monitoring configuration of the component. | |
update_component_configuration | update | region, ResourceGroupName, ComponentName | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_component_configuration
Describes the monitoring configuration of the component.
SELECT
component_configuration,
monitor,
tier
FROM aws.application_insights.component_configurations
WHERE region = '{{ region }}' -- required
;
UPDATE examples
- update_component_configuration
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;