aws-cdk-lib 2.158.0__py3-none-any.whl → 2.159.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +36 -19
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.158.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +22 -8
- aws_cdk/aws_apigatewayv2/__init__.py +30 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationinsights/__init__.py +544 -4
- aws_cdk/aws_applicationsignals/__init__.py +170 -142
- aws_cdk/aws_athena/__init__.py +15 -15
- aws_cdk/aws_auditmanager/__init__.py +5 -5
- aws_cdk/aws_bedrock/__init__.py +7 -7
- aws_cdk/aws_codebuild/__init__.py +39 -18
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +390 -203
- aws_cdk/aws_connect/__init__.py +1679 -152
- aws_cdk/aws_datazone/__init__.py +665 -40
- aws_cdk/aws_docdb/__init__.py +6 -1
- aws_cdk/aws_dynamodb/__init__.py +5 -5
- aws_cdk/aws_ec2/__init__.py +121 -36
- aws_cdk/aws_ecr/__init__.py +14 -6
- aws_cdk/aws_ecs/__init__.py +20 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +167 -20
- aws_cdk/aws_emr/__init__.py +8 -8
- aws_cdk/aws_events/__init__.py +19 -17
- aws_cdk/aws_events_targets/__init__.py +165 -85
- aws_cdk/aws_fms/__init__.py +59 -0
- aws_cdk/aws_fsx/__init__.py +3 -3
- aws_cdk/aws_gamelift/__init__.py +40 -52
- aws_cdk/aws_globalaccelerator/__init__.py +22 -29
- aws_cdk/aws_iam/__init__.py +22 -20
- aws_cdk/aws_iotfleetwise/__init__.py +419 -0
- aws_cdk/aws_iotsitewise/__init__.py +90 -1
- aws_cdk/aws_iotwireless/__init__.py +205 -0
- aws_cdk/aws_lambda/__init__.py +129 -16
- aws_cdk/aws_lex/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +111 -0
- aws_cdk/aws_medialive/__init__.py +7988 -3262
- aws_cdk/aws_msk/__init__.py +287 -479
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +69 -30
- aws_cdk/aws_pipes/__init__.py +49 -0
- aws_cdk/aws_qbusiness/__init__.py +11 -14
- aws_cdk/aws_quicksight/__init__.py +638 -99
- aws_cdk/aws_rds/__init__.py +38 -27
- aws_cdk/aws_s3/__init__.py +215 -33
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +872 -58
- aws_cdk/aws_secretsmanager/__init__.py +22 -8
- aws_cdk/aws_securityhub/__init__.py +261 -19
- aws_cdk/aws_securitylake/__init__.py +327 -7
- aws_cdk/aws_servicediscovery/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +0 -8
- aws_cdk/aws_ssm/__init__.py +20 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +36 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/RECORD +62 -62
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
|
@@ -137,6 +137,23 @@ class CfnApplication(
|
|
|
137
137
|
log_path="logPath",
|
|
138
138
|
pattern_set="patternSet"
|
|
139
139
|
)],
|
|
140
|
+
net_weaver_prometheus_exporter=applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty(
|
|
141
|
+
instance_numbers=["instanceNumbers"],
|
|
142
|
+
sapsid="sapsid",
|
|
143
|
+
|
|
144
|
+
# the properties below are optional
|
|
145
|
+
prometheus_port="prometheusPort"
|
|
146
|
+
),
|
|
147
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
148
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
149
|
+
alarm_metric_name="alarmMetricName"
|
|
150
|
+
)],
|
|
151
|
+
process_name="processName"
|
|
152
|
+
)],
|
|
153
|
+
sql_server_prometheus_exporter=applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty(
|
|
154
|
+
prometheus_port="prometheusPort",
|
|
155
|
+
sql_secret_name="sqlSecretName"
|
|
156
|
+
),
|
|
140
157
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
141
158
|
event_levels=["eventLevels"],
|
|
142
159
|
event_name="eventName",
|
|
@@ -160,6 +177,12 @@ class CfnApplication(
|
|
|
160
177
|
log_path="logPath",
|
|
161
178
|
pattern_set="patternSet"
|
|
162
179
|
)],
|
|
180
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
181
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
182
|
+
alarm_metric_name="alarmMetricName"
|
|
183
|
+
)],
|
|
184
|
+
process_name="processName"
|
|
185
|
+
)],
|
|
163
186
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
164
187
|
event_levels=["eventLevels"],
|
|
165
188
|
event_name="eventName",
|
|
@@ -209,6 +232,23 @@ class CfnApplication(
|
|
|
209
232
|
log_path="logPath",
|
|
210
233
|
pattern_set="patternSet"
|
|
211
234
|
)],
|
|
235
|
+
net_weaver_prometheus_exporter=applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty(
|
|
236
|
+
instance_numbers=["instanceNumbers"],
|
|
237
|
+
sapsid="sapsid",
|
|
238
|
+
|
|
239
|
+
# the properties below are optional
|
|
240
|
+
prometheus_port="prometheusPort"
|
|
241
|
+
),
|
|
242
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
243
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
244
|
+
alarm_metric_name="alarmMetricName"
|
|
245
|
+
)],
|
|
246
|
+
process_name="processName"
|
|
247
|
+
)],
|
|
248
|
+
sql_server_prometheus_exporter=applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty(
|
|
249
|
+
prometheus_port="prometheusPort",
|
|
250
|
+
sql_secret_name="sqlSecretName"
|
|
251
|
+
),
|
|
212
252
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
213
253
|
event_levels=["eventLevels"],
|
|
214
254
|
event_name="eventName",
|
|
@@ -232,6 +272,12 @@ class CfnApplication(
|
|
|
232
272
|
log_path="logPath",
|
|
233
273
|
pattern_set="patternSet"
|
|
234
274
|
)],
|
|
275
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
276
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
277
|
+
alarm_metric_name="alarmMetricName"
|
|
278
|
+
)],
|
|
279
|
+
process_name="processName"
|
|
280
|
+
)],
|
|
235
281
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
236
282
|
event_levels=["eventLevels"],
|
|
237
283
|
event_name="eventName",
|
|
@@ -291,7 +337,7 @@ class CfnApplication(
|
|
|
291
337
|
:param resource_group_name: The name of the resource group used for the application.
|
|
292
338
|
:param attach_missing_permission: If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
|
|
293
339
|
:param auto_configuration_enabled: If set to ``true`` , the application components will be configured with the monitoring configuration recommended by Application Insights.
|
|
294
|
-
:param component_monitoring_settings: The monitoring settings of the components.
|
|
340
|
+
:param component_monitoring_settings: The monitoring settings of the components. Not required to set up default monitoring for all components. To set up default monitoring for all components, set ``AutoConfigurationEnabled`` to ``true`` .
|
|
295
341
|
:param custom_components: Describes a custom component by grouping similar standalone instances to monitor.
|
|
296
342
|
:param cwe_monitor_enabled: Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as ``instance terminated`` , ``failed deployment`` , and others.
|
|
297
343
|
:param grouping_type: Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ``ACCOUNT_BASED`` .
|
|
@@ -741,6 +787,23 @@ class CfnApplication(
|
|
|
741
787
|
log_path="logPath",
|
|
742
788
|
pattern_set="patternSet"
|
|
743
789
|
)],
|
|
790
|
+
net_weaver_prometheus_exporter=applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty(
|
|
791
|
+
instance_numbers=["instanceNumbers"],
|
|
792
|
+
sapsid="sapsid",
|
|
793
|
+
|
|
794
|
+
# the properties below are optional
|
|
795
|
+
prometheus_port="prometheusPort"
|
|
796
|
+
),
|
|
797
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
798
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
799
|
+
alarm_metric_name="alarmMetricName"
|
|
800
|
+
)],
|
|
801
|
+
process_name="processName"
|
|
802
|
+
)],
|
|
803
|
+
sql_server_prometheus_exporter=applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty(
|
|
804
|
+
prometheus_port="prometheusPort",
|
|
805
|
+
sql_secret_name="sqlSecretName"
|
|
806
|
+
),
|
|
744
807
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
745
808
|
event_levels=["eventLevels"],
|
|
746
809
|
event_name="eventName",
|
|
@@ -764,6 +827,12 @@ class CfnApplication(
|
|
|
764
827
|
log_path="logPath",
|
|
765
828
|
pattern_set="patternSet"
|
|
766
829
|
)],
|
|
830
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
831
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
832
|
+
alarm_metric_name="alarmMetricName"
|
|
833
|
+
)],
|
|
834
|
+
process_name="processName"
|
|
835
|
+
)],
|
|
767
836
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
768
837
|
event_levels=["eventLevels"],
|
|
769
838
|
event_name="eventName",
|
|
@@ -847,8 +916,8 @@ class CfnApplication(
|
|
|
847
916
|
|
|
848
917
|
:param component_configuration_mode: Component monitoring can be configured in one of the following three modes:. - ``DEFAULT`` : The component will be configured with the recommended default monitoring settings of the selected ``Tier`` . - ``CUSTOM`` : The component will be configured with the customized monitoring settings that are specified in ``CustomComponentConfiguration`` . If used, ``CustomComponentConfiguration`` must be provided. - ``DEFAULT_WITH_OVERWRITE`` : The component will be configured with the recommended default monitoring settings of the selected ``Tier`` , and merged with customized overwrite settings that are specified in ``DefaultOverwriteComponentConfiguration`` . If used, ``DefaultOverwriteComponentConfiguration`` must be provided.
|
|
849
918
|
:param tier: The tier of the application component. Supported tiers include ``DOT_NET_CORE`` , ``DOT_NET_WORKER`` , ``DOT_NET_WEB`` , ``SQL_SERVER`` , ``SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP`` , ``SQL_SERVER_FAILOVER_CLUSTER_INSTANCE`` , ``MYSQL`` , ``POSTGRESQL`` , ``JAVA_JMX`` , ``ORACLE`` , ``SAP_HANA_MULTI_NODE`` , ``SAP_HANA_SINGLE_NODE`` , ``SAP_HANA_HIGH_AVAILABILITY`` , ``SHAREPOINT`` . ``ACTIVE_DIRECTORY`` , and ``DEFAULT`` .
|
|
850
|
-
:param component_arn: The ARN of the component.
|
|
851
|
-
:param component_name: The name of the component.
|
|
919
|
+
:param component_arn: The ARN of the component. Either the component ARN or the component name is required.
|
|
920
|
+
:param component_name: The name of the component. Either the component ARN or the component name is required.
|
|
852
921
|
:param custom_component_configuration: Customized monitoring settings. Required if CUSTOM mode is configured in ``ComponentConfigurationMode`` .
|
|
853
922
|
:param default_overwrite_component_configuration: Customized overwrite monitoring settings. Required if CUSTOM mode is configured in ``ComponentConfigurationMode`` .
|
|
854
923
|
|
|
@@ -905,6 +974,23 @@ class CfnApplication(
|
|
|
905
974
|
log_path="logPath",
|
|
906
975
|
pattern_set="patternSet"
|
|
907
976
|
)],
|
|
977
|
+
net_weaver_prometheus_exporter=applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty(
|
|
978
|
+
instance_numbers=["instanceNumbers"],
|
|
979
|
+
sapsid="sapsid",
|
|
980
|
+
|
|
981
|
+
# the properties below are optional
|
|
982
|
+
prometheus_port="prometheusPort"
|
|
983
|
+
),
|
|
984
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
985
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
986
|
+
alarm_metric_name="alarmMetricName"
|
|
987
|
+
)],
|
|
988
|
+
process_name="processName"
|
|
989
|
+
)],
|
|
990
|
+
sql_server_prometheus_exporter=applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty(
|
|
991
|
+
prometheus_port="prometheusPort",
|
|
992
|
+
sql_secret_name="sqlSecretName"
|
|
993
|
+
),
|
|
908
994
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
909
995
|
event_levels=["eventLevels"],
|
|
910
996
|
event_name="eventName",
|
|
@@ -928,6 +1014,12 @@ class CfnApplication(
|
|
|
928
1014
|
log_path="logPath",
|
|
929
1015
|
pattern_set="patternSet"
|
|
930
1016
|
)],
|
|
1017
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
1018
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
1019
|
+
alarm_metric_name="alarmMetricName"
|
|
1020
|
+
)],
|
|
1021
|
+
process_name="processName"
|
|
1022
|
+
)],
|
|
931
1023
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
932
1024
|
event_levels=["eventLevels"],
|
|
933
1025
|
event_name="eventName",
|
|
@@ -977,6 +1069,23 @@ class CfnApplication(
|
|
|
977
1069
|
log_path="logPath",
|
|
978
1070
|
pattern_set="patternSet"
|
|
979
1071
|
)],
|
|
1072
|
+
net_weaver_prometheus_exporter=applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty(
|
|
1073
|
+
instance_numbers=["instanceNumbers"],
|
|
1074
|
+
sapsid="sapsid",
|
|
1075
|
+
|
|
1076
|
+
# the properties below are optional
|
|
1077
|
+
prometheus_port="prometheusPort"
|
|
1078
|
+
),
|
|
1079
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
1080
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
1081
|
+
alarm_metric_name="alarmMetricName"
|
|
1082
|
+
)],
|
|
1083
|
+
process_name="processName"
|
|
1084
|
+
)],
|
|
1085
|
+
sql_server_prometheus_exporter=applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty(
|
|
1086
|
+
prometheus_port="prometheusPort",
|
|
1087
|
+
sql_secret_name="sqlSecretName"
|
|
1088
|
+
),
|
|
980
1089
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
981
1090
|
event_levels=["eventLevels"],
|
|
982
1091
|
event_name="eventName",
|
|
@@ -1000,6 +1109,12 @@ class CfnApplication(
|
|
|
1000
1109
|
log_path="logPath",
|
|
1001
1110
|
pattern_set="patternSet"
|
|
1002
1111
|
)],
|
|
1112
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
1113
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
1114
|
+
alarm_metric_name="alarmMetricName"
|
|
1115
|
+
)],
|
|
1116
|
+
process_name="processName"
|
|
1117
|
+
)],
|
|
1003
1118
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
1004
1119
|
event_levels=["eventLevels"],
|
|
1005
1120
|
event_name="eventName",
|
|
@@ -1065,6 +1180,8 @@ class CfnApplication(
|
|
|
1065
1180
|
def component_arn(self) -> typing.Optional[builtins.str]:
|
|
1066
1181
|
'''The ARN of the component.
|
|
1067
1182
|
|
|
1183
|
+
Either the component ARN or the component name is required.
|
|
1184
|
+
|
|
1068
1185
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentarn
|
|
1069
1186
|
'''
|
|
1070
1187
|
result = self._values.get("component_arn")
|
|
@@ -1074,6 +1191,8 @@ class CfnApplication(
|
|
|
1074
1191
|
def component_name(self) -> typing.Optional[builtins.str]:
|
|
1075
1192
|
'''The name of the component.
|
|
1076
1193
|
|
|
1194
|
+
Either the component ARN or the component name is required.
|
|
1195
|
+
|
|
1077
1196
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentname
|
|
1078
1197
|
'''
|
|
1079
1198
|
result = self._values.get("component_name")
|
|
@@ -1126,6 +1245,9 @@ class CfnApplication(
|
|
|
1126
1245
|
"hana_prometheus_exporter": "hanaPrometheusExporter",
|
|
1127
1246
|
"jmx_prometheus_exporter": "jmxPrometheusExporter",
|
|
1128
1247
|
"logs": "logs",
|
|
1248
|
+
"net_weaver_prometheus_exporter": "netWeaverPrometheusExporter",
|
|
1249
|
+
"processes": "processes",
|
|
1250
|
+
"sql_server_prometheus_exporter": "sqlServerPrometheusExporter",
|
|
1129
1251
|
"windows_events": "windowsEvents",
|
|
1130
1252
|
},
|
|
1131
1253
|
)
|
|
@@ -1139,6 +1261,9 @@ class CfnApplication(
|
|
|
1139
1261
|
hana_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.HANAPrometheusExporterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1140
1262
|
jmx_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.JMXPrometheusExporterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1141
1263
|
logs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.LogProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1264
|
+
net_weaver_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.NetWeaverPrometheusExporterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1265
|
+
processes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ProcessProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1266
|
+
sql_server_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.SQLServerPrometheusExporterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1142
1267
|
windows_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.WindowsEventProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1143
1268
|
) -> None:
|
|
1144
1269
|
'''The ``AWS::ApplicationInsights::Application ConfigurationDetails`` property type specifies the configuration settings.
|
|
@@ -1149,6 +1274,9 @@ class CfnApplication(
|
|
|
1149
1274
|
:param hana_prometheus_exporter: The HANA DB Prometheus Exporter settings.
|
|
1150
1275
|
:param jmx_prometheus_exporter: A list of Java metrics to monitor for the component.
|
|
1151
1276
|
:param logs: A list of logs to monitor for the component. Only Amazon EC2 instances can use ``Logs`` .
|
|
1277
|
+
:param net_weaver_prometheus_exporter: The NetWeaver Prometheus Exporter Settings.
|
|
1278
|
+
:param processes: A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section.
|
|
1279
|
+
:param sql_server_prometheus_exporter: The SQL prometheus exporter settings.
|
|
1152
1280
|
:param windows_events: A list of Windows Events to monitor for the component. Only Amazon EC2 instances running on Windows can use ``WindowsEvents`` .
|
|
1153
1281
|
|
|
1154
1282
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html
|
|
@@ -1196,6 +1324,23 @@ class CfnApplication(
|
|
|
1196
1324
|
log_path="logPath",
|
|
1197
1325
|
pattern_set="patternSet"
|
|
1198
1326
|
)],
|
|
1327
|
+
net_weaver_prometheus_exporter=applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty(
|
|
1328
|
+
instance_numbers=["instanceNumbers"],
|
|
1329
|
+
sapsid="sapsid",
|
|
1330
|
+
|
|
1331
|
+
# the properties below are optional
|
|
1332
|
+
prometheus_port="prometheusPort"
|
|
1333
|
+
),
|
|
1334
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
1335
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
1336
|
+
alarm_metric_name="alarmMetricName"
|
|
1337
|
+
)],
|
|
1338
|
+
process_name="processName"
|
|
1339
|
+
)],
|
|
1340
|
+
sql_server_prometheus_exporter=applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty(
|
|
1341
|
+
prometheus_port="prometheusPort",
|
|
1342
|
+
sql_secret_name="sqlSecretName"
|
|
1343
|
+
),
|
|
1199
1344
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
1200
1345
|
event_levels=["eventLevels"],
|
|
1201
1346
|
event_name="eventName",
|
|
@@ -1214,6 +1359,9 @@ class CfnApplication(
|
|
|
1214
1359
|
check_type(argname="argument hana_prometheus_exporter", value=hana_prometheus_exporter, expected_type=type_hints["hana_prometheus_exporter"])
|
|
1215
1360
|
check_type(argname="argument jmx_prometheus_exporter", value=jmx_prometheus_exporter, expected_type=type_hints["jmx_prometheus_exporter"])
|
|
1216
1361
|
check_type(argname="argument logs", value=logs, expected_type=type_hints["logs"])
|
|
1362
|
+
check_type(argname="argument net_weaver_prometheus_exporter", value=net_weaver_prometheus_exporter, expected_type=type_hints["net_weaver_prometheus_exporter"])
|
|
1363
|
+
check_type(argname="argument processes", value=processes, expected_type=type_hints["processes"])
|
|
1364
|
+
check_type(argname="argument sql_server_prometheus_exporter", value=sql_server_prometheus_exporter, expected_type=type_hints["sql_server_prometheus_exporter"])
|
|
1217
1365
|
check_type(argname="argument windows_events", value=windows_events, expected_type=type_hints["windows_events"])
|
|
1218
1366
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1219
1367
|
if alarm_metrics is not None:
|
|
@@ -1228,6 +1376,12 @@ class CfnApplication(
|
|
|
1228
1376
|
self._values["jmx_prometheus_exporter"] = jmx_prometheus_exporter
|
|
1229
1377
|
if logs is not None:
|
|
1230
1378
|
self._values["logs"] = logs
|
|
1379
|
+
if net_weaver_prometheus_exporter is not None:
|
|
1380
|
+
self._values["net_weaver_prometheus_exporter"] = net_weaver_prometheus_exporter
|
|
1381
|
+
if processes is not None:
|
|
1382
|
+
self._values["processes"] = processes
|
|
1383
|
+
if sql_server_prometheus_exporter is not None:
|
|
1384
|
+
self._values["sql_server_prometheus_exporter"] = sql_server_prometheus_exporter
|
|
1231
1385
|
if windows_events is not None:
|
|
1232
1386
|
self._values["windows_events"] = windows_events
|
|
1233
1387
|
|
|
@@ -1303,6 +1457,41 @@ class CfnApplication(
|
|
|
1303
1457
|
result = self._values.get("logs")
|
|
1304
1458
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.LogProperty"]]]], result)
|
|
1305
1459
|
|
|
1460
|
+
@builtins.property
|
|
1461
|
+
def net_weaver_prometheus_exporter(
|
|
1462
|
+
self,
|
|
1463
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.NetWeaverPrometheusExporterProperty"]]:
|
|
1464
|
+
'''The NetWeaver Prometheus Exporter Settings.
|
|
1465
|
+
|
|
1466
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-netweaverprometheusexporter
|
|
1467
|
+
'''
|
|
1468
|
+
result = self._values.get("net_weaver_prometheus_exporter")
|
|
1469
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.NetWeaverPrometheusExporterProperty"]], result)
|
|
1470
|
+
|
|
1471
|
+
@builtins.property
|
|
1472
|
+
def processes(
|
|
1473
|
+
self,
|
|
1474
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.ProcessProperty"]]]]:
|
|
1475
|
+
'''A list of processes to monitor for the component.
|
|
1476
|
+
|
|
1477
|
+
Only Windows EC2 instances can have a processes section.
|
|
1478
|
+
|
|
1479
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-processes
|
|
1480
|
+
'''
|
|
1481
|
+
result = self._values.get("processes")
|
|
1482
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.ProcessProperty"]]]], result)
|
|
1483
|
+
|
|
1484
|
+
@builtins.property
|
|
1485
|
+
def sql_server_prometheus_exporter(
|
|
1486
|
+
self,
|
|
1487
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.SQLServerPrometheusExporterProperty"]]:
|
|
1488
|
+
'''The SQL prometheus exporter settings.
|
|
1489
|
+
|
|
1490
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-sqlserverprometheusexporter
|
|
1491
|
+
'''
|
|
1492
|
+
result = self._values.get("sql_server_prometheus_exporter")
|
|
1493
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.SQLServerPrometheusExporterProperty"]], result)
|
|
1494
|
+
|
|
1306
1495
|
@builtins.property
|
|
1307
1496
|
def windows_events(
|
|
1308
1497
|
self,
|
|
@@ -1997,12 +2186,256 @@ class CfnApplication(
|
|
|
1997
2186
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1998
2187
|
)
|
|
1999
2188
|
|
|
2189
|
+
@jsii.data_type(
|
|
2190
|
+
jsii_type="aws-cdk-lib.aws_applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty",
|
|
2191
|
+
jsii_struct_bases=[],
|
|
2192
|
+
name_mapping={
|
|
2193
|
+
"instance_numbers": "instanceNumbers",
|
|
2194
|
+
"sapsid": "sapsid",
|
|
2195
|
+
"prometheus_port": "prometheusPort",
|
|
2196
|
+
},
|
|
2197
|
+
)
|
|
2198
|
+
class NetWeaverPrometheusExporterProperty:
|
|
2199
|
+
def __init__(
|
|
2200
|
+
self,
|
|
2201
|
+
*,
|
|
2202
|
+
instance_numbers: typing.Sequence[builtins.str],
|
|
2203
|
+
sapsid: builtins.str,
|
|
2204
|
+
prometheus_port: typing.Optional[builtins.str] = None,
|
|
2205
|
+
) -> None:
|
|
2206
|
+
'''The NetWeaver Prometheus Exporter Settings.
|
|
2207
|
+
|
|
2208
|
+
:param instance_numbers: SAP instance numbers for ASCS, ERS, and App Servers.
|
|
2209
|
+
:param sapsid: SAP NetWeaver SID.
|
|
2210
|
+
:param prometheus_port: Prometheus exporter port.
|
|
2211
|
+
|
|
2212
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-netweaverprometheusexporter.html
|
|
2213
|
+
:exampleMetadata: fixture=_generated
|
|
2214
|
+
|
|
2215
|
+
Example::
|
|
2216
|
+
|
|
2217
|
+
# The code below shows an example of how to instantiate this type.
|
|
2218
|
+
# The values are placeholders you should change.
|
|
2219
|
+
from aws_cdk import aws_applicationinsights as applicationinsights
|
|
2220
|
+
|
|
2221
|
+
net_weaver_prometheus_exporter_property = applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty(
|
|
2222
|
+
instance_numbers=["instanceNumbers"],
|
|
2223
|
+
sapsid="sapsid",
|
|
2224
|
+
|
|
2225
|
+
# the properties below are optional
|
|
2226
|
+
prometheus_port="prometheusPort"
|
|
2227
|
+
)
|
|
2228
|
+
'''
|
|
2229
|
+
if __debug__:
|
|
2230
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6e91de1160b655fd05bd95a5e68978a09179451d8336ed32b45f4ff8622dd56c)
|
|
2231
|
+
check_type(argname="argument instance_numbers", value=instance_numbers, expected_type=type_hints["instance_numbers"])
|
|
2232
|
+
check_type(argname="argument sapsid", value=sapsid, expected_type=type_hints["sapsid"])
|
|
2233
|
+
check_type(argname="argument prometheus_port", value=prometheus_port, expected_type=type_hints["prometheus_port"])
|
|
2234
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2235
|
+
"instance_numbers": instance_numbers,
|
|
2236
|
+
"sapsid": sapsid,
|
|
2237
|
+
}
|
|
2238
|
+
if prometheus_port is not None:
|
|
2239
|
+
self._values["prometheus_port"] = prometheus_port
|
|
2240
|
+
|
|
2241
|
+
@builtins.property
|
|
2242
|
+
def instance_numbers(self) -> typing.List[builtins.str]:
|
|
2243
|
+
'''SAP instance numbers for ASCS, ERS, and App Servers.
|
|
2244
|
+
|
|
2245
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-netweaverprometheusexporter.html#cfn-applicationinsights-application-netweaverprometheusexporter-instancenumbers
|
|
2246
|
+
'''
|
|
2247
|
+
result = self._values.get("instance_numbers")
|
|
2248
|
+
assert result is not None, "Required property 'instance_numbers' is missing"
|
|
2249
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
2250
|
+
|
|
2251
|
+
@builtins.property
|
|
2252
|
+
def sapsid(self) -> builtins.str:
|
|
2253
|
+
'''SAP NetWeaver SID.
|
|
2254
|
+
|
|
2255
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-netweaverprometheusexporter.html#cfn-applicationinsights-application-netweaverprometheusexporter-sapsid
|
|
2256
|
+
'''
|
|
2257
|
+
result = self._values.get("sapsid")
|
|
2258
|
+
assert result is not None, "Required property 'sapsid' is missing"
|
|
2259
|
+
return typing.cast(builtins.str, result)
|
|
2260
|
+
|
|
2261
|
+
@builtins.property
|
|
2262
|
+
def prometheus_port(self) -> typing.Optional[builtins.str]:
|
|
2263
|
+
'''Prometheus exporter port.
|
|
2264
|
+
|
|
2265
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-netweaverprometheusexporter.html#cfn-applicationinsights-application-netweaverprometheusexporter-prometheusport
|
|
2266
|
+
'''
|
|
2267
|
+
result = self._values.get("prometheus_port")
|
|
2268
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2269
|
+
|
|
2270
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2271
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2272
|
+
|
|
2273
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2274
|
+
return not (rhs == self)
|
|
2275
|
+
|
|
2276
|
+
def __repr__(self) -> str:
|
|
2277
|
+
return "NetWeaverPrometheusExporterProperty(%s)" % ", ".join(
|
|
2278
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2279
|
+
)
|
|
2280
|
+
|
|
2281
|
+
@jsii.data_type(
|
|
2282
|
+
jsii_type="aws-cdk-lib.aws_applicationinsights.CfnApplication.ProcessProperty",
|
|
2283
|
+
jsii_struct_bases=[],
|
|
2284
|
+
name_mapping={"alarm_metrics": "alarmMetrics", "process_name": "processName"},
|
|
2285
|
+
)
|
|
2286
|
+
class ProcessProperty:
|
|
2287
|
+
def __init__(
|
|
2288
|
+
self,
|
|
2289
|
+
*,
|
|
2290
|
+
alarm_metrics: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.AlarmMetricProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
2291
|
+
process_name: builtins.str,
|
|
2292
|
+
) -> None:
|
|
2293
|
+
'''A process to be monitored for the component.
|
|
2294
|
+
|
|
2295
|
+
:param alarm_metrics: A list of metrics to monitor for the component.
|
|
2296
|
+
:param process_name: The name of the process to be monitored for the component.
|
|
2297
|
+
|
|
2298
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-process.html
|
|
2299
|
+
:exampleMetadata: fixture=_generated
|
|
2300
|
+
|
|
2301
|
+
Example::
|
|
2302
|
+
|
|
2303
|
+
# The code below shows an example of how to instantiate this type.
|
|
2304
|
+
# The values are placeholders you should change.
|
|
2305
|
+
from aws_cdk import aws_applicationinsights as applicationinsights
|
|
2306
|
+
|
|
2307
|
+
process_property = applicationinsights.CfnApplication.ProcessProperty(
|
|
2308
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
2309
|
+
alarm_metric_name="alarmMetricName"
|
|
2310
|
+
)],
|
|
2311
|
+
process_name="processName"
|
|
2312
|
+
)
|
|
2313
|
+
'''
|
|
2314
|
+
if __debug__:
|
|
2315
|
+
type_hints = typing.get_type_hints(_typecheckingstub__54fdb3a86d97cbb1385f2114d289aef5ac599fc816080263f342373b46f0cffb)
|
|
2316
|
+
check_type(argname="argument alarm_metrics", value=alarm_metrics, expected_type=type_hints["alarm_metrics"])
|
|
2317
|
+
check_type(argname="argument process_name", value=process_name, expected_type=type_hints["process_name"])
|
|
2318
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2319
|
+
"alarm_metrics": alarm_metrics,
|
|
2320
|
+
"process_name": process_name,
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
@builtins.property
|
|
2324
|
+
def alarm_metrics(
|
|
2325
|
+
self,
|
|
2326
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.AlarmMetricProperty"]]]:
|
|
2327
|
+
'''A list of metrics to monitor for the component.
|
|
2328
|
+
|
|
2329
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-process.html#cfn-applicationinsights-application-process-alarmmetrics
|
|
2330
|
+
'''
|
|
2331
|
+
result = self._values.get("alarm_metrics")
|
|
2332
|
+
assert result is not None, "Required property 'alarm_metrics' is missing"
|
|
2333
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.AlarmMetricProperty"]]], result)
|
|
2334
|
+
|
|
2335
|
+
@builtins.property
|
|
2336
|
+
def process_name(self) -> builtins.str:
|
|
2337
|
+
'''The name of the process to be monitored for the component.
|
|
2338
|
+
|
|
2339
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-process.html#cfn-applicationinsights-application-process-processname
|
|
2340
|
+
'''
|
|
2341
|
+
result = self._values.get("process_name")
|
|
2342
|
+
assert result is not None, "Required property 'process_name' is missing"
|
|
2343
|
+
return typing.cast(builtins.str, result)
|
|
2344
|
+
|
|
2345
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2346
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2347
|
+
|
|
2348
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2349
|
+
return not (rhs == self)
|
|
2350
|
+
|
|
2351
|
+
def __repr__(self) -> str:
|
|
2352
|
+
return "ProcessProperty(%s)" % ", ".join(
|
|
2353
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2354
|
+
)
|
|
2355
|
+
|
|
2356
|
+
@jsii.data_type(
|
|
2357
|
+
jsii_type="aws-cdk-lib.aws_applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty",
|
|
2358
|
+
jsii_struct_bases=[],
|
|
2359
|
+
name_mapping={
|
|
2360
|
+
"prometheus_port": "prometheusPort",
|
|
2361
|
+
"sql_secret_name": "sqlSecretName",
|
|
2362
|
+
},
|
|
2363
|
+
)
|
|
2364
|
+
class SQLServerPrometheusExporterProperty:
|
|
2365
|
+
def __init__(
|
|
2366
|
+
self,
|
|
2367
|
+
*,
|
|
2368
|
+
prometheus_port: builtins.str,
|
|
2369
|
+
sql_secret_name: builtins.str,
|
|
2370
|
+
) -> None:
|
|
2371
|
+
'''The SQL prometheus exporter settings.
|
|
2372
|
+
|
|
2373
|
+
:param prometheus_port: Prometheus exporter port.
|
|
2374
|
+
:param sql_secret_name: Secret name which managers SQL exporter connection. e.g. {"data_source_name": "sqlserver://:@localhost:1433"}
|
|
2375
|
+
|
|
2376
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-sqlserverprometheusexporter.html
|
|
2377
|
+
:exampleMetadata: fixture=_generated
|
|
2378
|
+
|
|
2379
|
+
Example::
|
|
2380
|
+
|
|
2381
|
+
# The code below shows an example of how to instantiate this type.
|
|
2382
|
+
# The values are placeholders you should change.
|
|
2383
|
+
from aws_cdk import aws_applicationinsights as applicationinsights
|
|
2384
|
+
|
|
2385
|
+
s_qLServer_prometheus_exporter_property = applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty(
|
|
2386
|
+
prometheus_port="prometheusPort",
|
|
2387
|
+
sql_secret_name="sqlSecretName"
|
|
2388
|
+
)
|
|
2389
|
+
'''
|
|
2390
|
+
if __debug__:
|
|
2391
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0c73b248e9cf83207aae2084ef4a467585119dd596fb2ba65d7bdc33cfcdf509)
|
|
2392
|
+
check_type(argname="argument prometheus_port", value=prometheus_port, expected_type=type_hints["prometheus_port"])
|
|
2393
|
+
check_type(argname="argument sql_secret_name", value=sql_secret_name, expected_type=type_hints["sql_secret_name"])
|
|
2394
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2395
|
+
"prometheus_port": prometheus_port,
|
|
2396
|
+
"sql_secret_name": sql_secret_name,
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
@builtins.property
|
|
2400
|
+
def prometheus_port(self) -> builtins.str:
|
|
2401
|
+
'''Prometheus exporter port.
|
|
2402
|
+
|
|
2403
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-sqlserverprometheusexporter.html#cfn-applicationinsights-application-sqlserverprometheusexporter-prometheusport
|
|
2404
|
+
'''
|
|
2405
|
+
result = self._values.get("prometheus_port")
|
|
2406
|
+
assert result is not None, "Required property 'prometheus_port' is missing"
|
|
2407
|
+
return typing.cast(builtins.str, result)
|
|
2408
|
+
|
|
2409
|
+
@builtins.property
|
|
2410
|
+
def sql_secret_name(self) -> builtins.str:
|
|
2411
|
+
'''Secret name which managers SQL exporter connection.
|
|
2412
|
+
|
|
2413
|
+
e.g. {"data_source_name": "sqlserver://:@localhost:1433"}
|
|
2414
|
+
|
|
2415
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-sqlserverprometheusexporter.html#cfn-applicationinsights-application-sqlserverprometheusexporter-sqlsecretname
|
|
2416
|
+
'''
|
|
2417
|
+
result = self._values.get("sql_secret_name")
|
|
2418
|
+
assert result is not None, "Required property 'sql_secret_name' is missing"
|
|
2419
|
+
return typing.cast(builtins.str, result)
|
|
2420
|
+
|
|
2421
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2422
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2423
|
+
|
|
2424
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2425
|
+
return not (rhs == self)
|
|
2426
|
+
|
|
2427
|
+
def __repr__(self) -> str:
|
|
2428
|
+
return "SQLServerPrometheusExporterProperty(%s)" % ", ".join(
|
|
2429
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2430
|
+
)
|
|
2431
|
+
|
|
2000
2432
|
@jsii.data_type(
|
|
2001
2433
|
jsii_type="aws-cdk-lib.aws_applicationinsights.CfnApplication.SubComponentConfigurationDetailsProperty",
|
|
2002
2434
|
jsii_struct_bases=[],
|
|
2003
2435
|
name_mapping={
|
|
2004
2436
|
"alarm_metrics": "alarmMetrics",
|
|
2005
2437
|
"logs": "logs",
|
|
2438
|
+
"processes": "processes",
|
|
2006
2439
|
"windows_events": "windowsEvents",
|
|
2007
2440
|
},
|
|
2008
2441
|
)
|
|
@@ -2012,12 +2445,14 @@ class CfnApplication(
|
|
|
2012
2445
|
*,
|
|
2013
2446
|
alarm_metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.AlarmMetricProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2014
2447
|
logs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.LogProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2448
|
+
processes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ProcessProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2015
2449
|
windows_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.WindowsEventProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2016
2450
|
) -> None:
|
|
2017
2451
|
'''The ``AWS::ApplicationInsights::Application SubComponentConfigurationDetails`` property type specifies the configuration settings of the sub-components.
|
|
2018
2452
|
|
|
2019
2453
|
:param alarm_metrics: A list of metrics to monitor for the component. All component types can use ``AlarmMetrics`` .
|
|
2020
2454
|
:param logs: A list of logs to monitor for the component. Only Amazon EC2 instances can use ``Logs`` .
|
|
2455
|
+
:param processes: A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section.
|
|
2021
2456
|
:param windows_events: A list of Windows Events to monitor for the component. Only Amazon EC2 instances running on Windows can use ``WindowsEvents`` .
|
|
2022
2457
|
|
|
2023
2458
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html
|
|
@@ -2042,6 +2477,12 @@ class CfnApplication(
|
|
|
2042
2477
|
log_path="logPath",
|
|
2043
2478
|
pattern_set="patternSet"
|
|
2044
2479
|
)],
|
|
2480
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
2481
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
2482
|
+
alarm_metric_name="alarmMetricName"
|
|
2483
|
+
)],
|
|
2484
|
+
process_name="processName"
|
|
2485
|
+
)],
|
|
2045
2486
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2046
2487
|
event_levels=["eventLevels"],
|
|
2047
2488
|
event_name="eventName",
|
|
@@ -2056,12 +2497,15 @@ class CfnApplication(
|
|
|
2056
2497
|
type_hints = typing.get_type_hints(_typecheckingstub__ad15dc119b66b0eda1df32e08e74598f93fb10eb42aae2cf9610fff97048f0e9)
|
|
2057
2498
|
check_type(argname="argument alarm_metrics", value=alarm_metrics, expected_type=type_hints["alarm_metrics"])
|
|
2058
2499
|
check_type(argname="argument logs", value=logs, expected_type=type_hints["logs"])
|
|
2500
|
+
check_type(argname="argument processes", value=processes, expected_type=type_hints["processes"])
|
|
2059
2501
|
check_type(argname="argument windows_events", value=windows_events, expected_type=type_hints["windows_events"])
|
|
2060
2502
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2061
2503
|
if alarm_metrics is not None:
|
|
2062
2504
|
self._values["alarm_metrics"] = alarm_metrics
|
|
2063
2505
|
if logs is not None:
|
|
2064
2506
|
self._values["logs"] = logs
|
|
2507
|
+
if processes is not None:
|
|
2508
|
+
self._values["processes"] = processes
|
|
2065
2509
|
if windows_events is not None:
|
|
2066
2510
|
self._values["windows_events"] = windows_events
|
|
2067
2511
|
|
|
@@ -2091,6 +2535,19 @@ class CfnApplication(
|
|
|
2091
2535
|
result = self._values.get("logs")
|
|
2092
2536
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.LogProperty"]]]], result)
|
|
2093
2537
|
|
|
2538
|
+
@builtins.property
|
|
2539
|
+
def processes(
|
|
2540
|
+
self,
|
|
2541
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.ProcessProperty"]]]]:
|
|
2542
|
+
'''A list of processes to monitor for the component.
|
|
2543
|
+
|
|
2544
|
+
Only Windows EC2 instances can have a processes section.
|
|
2545
|
+
|
|
2546
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html#cfn-applicationinsights-application-subcomponentconfigurationdetails-processes
|
|
2547
|
+
'''
|
|
2548
|
+
result = self._values.get("processes")
|
|
2549
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.ProcessProperty"]]]], result)
|
|
2550
|
+
|
|
2094
2551
|
@builtins.property
|
|
2095
2552
|
def windows_events(
|
|
2096
2553
|
self,
|
|
@@ -2158,6 +2615,12 @@ class CfnApplication(
|
|
|
2158
2615
|
log_path="logPath",
|
|
2159
2616
|
pattern_set="patternSet"
|
|
2160
2617
|
)],
|
|
2618
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
2619
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
2620
|
+
alarm_metric_name="alarmMetricName"
|
|
2621
|
+
)],
|
|
2622
|
+
process_name="processName"
|
|
2623
|
+
)],
|
|
2161
2624
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2162
2625
|
event_levels=["eventLevels"],
|
|
2163
2626
|
event_name="eventName",
|
|
@@ -2363,7 +2826,7 @@ class CfnApplicationProps:
|
|
|
2363
2826
|
:param resource_group_name: The name of the resource group used for the application.
|
|
2364
2827
|
:param attach_missing_permission: If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
|
|
2365
2828
|
:param auto_configuration_enabled: If set to ``true`` , the application components will be configured with the monitoring configuration recommended by Application Insights.
|
|
2366
|
-
:param component_monitoring_settings: The monitoring settings of the components.
|
|
2829
|
+
:param component_monitoring_settings: The monitoring settings of the components. Not required to set up default monitoring for all components. To set up default monitoring for all components, set ``AutoConfigurationEnabled`` to ``true`` .
|
|
2367
2830
|
:param custom_components: Describes a custom component by grouping similar standalone instances to monitor.
|
|
2368
2831
|
:param cwe_monitor_enabled: Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as ``instance terminated`` , ``failed deployment`` , and others.
|
|
2369
2832
|
:param grouping_type: Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ``ACCOUNT_BASED`` .
|
|
@@ -2431,6 +2894,23 @@ class CfnApplicationProps:
|
|
|
2431
2894
|
log_path="logPath",
|
|
2432
2895
|
pattern_set="patternSet"
|
|
2433
2896
|
)],
|
|
2897
|
+
net_weaver_prometheus_exporter=applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty(
|
|
2898
|
+
instance_numbers=["instanceNumbers"],
|
|
2899
|
+
sapsid="sapsid",
|
|
2900
|
+
|
|
2901
|
+
# the properties below are optional
|
|
2902
|
+
prometheus_port="prometheusPort"
|
|
2903
|
+
),
|
|
2904
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
2905
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
2906
|
+
alarm_metric_name="alarmMetricName"
|
|
2907
|
+
)],
|
|
2908
|
+
process_name="processName"
|
|
2909
|
+
)],
|
|
2910
|
+
sql_server_prometheus_exporter=applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty(
|
|
2911
|
+
prometheus_port="prometheusPort",
|
|
2912
|
+
sql_secret_name="sqlSecretName"
|
|
2913
|
+
),
|
|
2434
2914
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2435
2915
|
event_levels=["eventLevels"],
|
|
2436
2916
|
event_name="eventName",
|
|
@@ -2454,6 +2934,12 @@ class CfnApplicationProps:
|
|
|
2454
2934
|
log_path="logPath",
|
|
2455
2935
|
pattern_set="patternSet"
|
|
2456
2936
|
)],
|
|
2937
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
2938
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
2939
|
+
alarm_metric_name="alarmMetricName"
|
|
2940
|
+
)],
|
|
2941
|
+
process_name="processName"
|
|
2942
|
+
)],
|
|
2457
2943
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2458
2944
|
event_levels=["eventLevels"],
|
|
2459
2945
|
event_name="eventName",
|
|
@@ -2503,6 +2989,23 @@ class CfnApplicationProps:
|
|
|
2503
2989
|
log_path="logPath",
|
|
2504
2990
|
pattern_set="patternSet"
|
|
2505
2991
|
)],
|
|
2992
|
+
net_weaver_prometheus_exporter=applicationinsights.CfnApplication.NetWeaverPrometheusExporterProperty(
|
|
2993
|
+
instance_numbers=["instanceNumbers"],
|
|
2994
|
+
sapsid="sapsid",
|
|
2995
|
+
|
|
2996
|
+
# the properties below are optional
|
|
2997
|
+
prometheus_port="prometheusPort"
|
|
2998
|
+
),
|
|
2999
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
3000
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
3001
|
+
alarm_metric_name="alarmMetricName"
|
|
3002
|
+
)],
|
|
3003
|
+
process_name="processName"
|
|
3004
|
+
)],
|
|
3005
|
+
sql_server_prometheus_exporter=applicationinsights.CfnApplication.SQLServerPrometheusExporterProperty(
|
|
3006
|
+
prometheus_port="prometheusPort",
|
|
3007
|
+
sql_secret_name="sqlSecretName"
|
|
3008
|
+
),
|
|
2506
3009
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2507
3010
|
event_levels=["eventLevels"],
|
|
2508
3011
|
event_name="eventName",
|
|
@@ -2526,6 +3029,12 @@ class CfnApplicationProps:
|
|
|
2526
3029
|
log_path="logPath",
|
|
2527
3030
|
pattern_set="patternSet"
|
|
2528
3031
|
)],
|
|
3032
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
3033
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
3034
|
+
alarm_metric_name="alarmMetricName"
|
|
3035
|
+
)],
|
|
3036
|
+
process_name="processName"
|
|
3037
|
+
)],
|
|
2529
3038
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2530
3039
|
event_levels=["eventLevels"],
|
|
2531
3040
|
event_name="eventName",
|
|
@@ -2636,6 +3145,8 @@ class CfnApplicationProps:
|
|
|
2636
3145
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.ComponentMonitoringSettingProperty]]]]:
|
|
2637
3146
|
'''The monitoring settings of the components.
|
|
2638
3147
|
|
|
3148
|
+
Not required to set up default monitoring for all components. To set up default monitoring for all components, set ``AutoConfigurationEnabled`` to ``true`` .
|
|
3149
|
+
|
|
2639
3150
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-componentmonitoringsettings
|
|
2640
3151
|
'''
|
|
2641
3152
|
result = self._values.get("component_monitoring_settings")
|
|
@@ -2873,6 +3384,9 @@ def _typecheckingstub__deefc6aeb9dc9247d68032456616f3b1f2608e9cedfd73fc49e6d5895
|
|
|
2873
3384
|
hana_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.HANAPrometheusExporterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2874
3385
|
jmx_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.JMXPrometheusExporterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2875
3386
|
logs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.LogProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3387
|
+
net_weaver_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.NetWeaverPrometheusExporterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3388
|
+
processes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ProcessProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3389
|
+
sql_server_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.SQLServerPrometheusExporterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2876
3390
|
windows_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.WindowsEventProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2877
3391
|
) -> None:
|
|
2878
3392
|
"""Type checking stubs"""
|
|
@@ -2941,10 +3455,36 @@ def _typecheckingstub__9e3cc264f003829da243563fc3ad782868f4fef192ac1b4b9f225c1fe
|
|
|
2941
3455
|
"""Type checking stubs"""
|
|
2942
3456
|
pass
|
|
2943
3457
|
|
|
3458
|
+
def _typecheckingstub__6e91de1160b655fd05bd95a5e68978a09179451d8336ed32b45f4ff8622dd56c(
|
|
3459
|
+
*,
|
|
3460
|
+
instance_numbers: typing.Sequence[builtins.str],
|
|
3461
|
+
sapsid: builtins.str,
|
|
3462
|
+
prometheus_port: typing.Optional[builtins.str] = None,
|
|
3463
|
+
) -> None:
|
|
3464
|
+
"""Type checking stubs"""
|
|
3465
|
+
pass
|
|
3466
|
+
|
|
3467
|
+
def _typecheckingstub__54fdb3a86d97cbb1385f2114d289aef5ac599fc816080263f342373b46f0cffb(
|
|
3468
|
+
*,
|
|
3469
|
+
alarm_metrics: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AlarmMetricProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
3470
|
+
process_name: builtins.str,
|
|
3471
|
+
) -> None:
|
|
3472
|
+
"""Type checking stubs"""
|
|
3473
|
+
pass
|
|
3474
|
+
|
|
3475
|
+
def _typecheckingstub__0c73b248e9cf83207aae2084ef4a467585119dd596fb2ba65d7bdc33cfcdf509(
|
|
3476
|
+
*,
|
|
3477
|
+
prometheus_port: builtins.str,
|
|
3478
|
+
sql_secret_name: builtins.str,
|
|
3479
|
+
) -> None:
|
|
3480
|
+
"""Type checking stubs"""
|
|
3481
|
+
pass
|
|
3482
|
+
|
|
2944
3483
|
def _typecheckingstub__ad15dc119b66b0eda1df32e08e74598f93fb10eb42aae2cf9610fff97048f0e9(
|
|
2945
3484
|
*,
|
|
2946
3485
|
alarm_metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AlarmMetricProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2947
3486
|
logs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.LogProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3487
|
+
processes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ProcessProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2948
3488
|
windows_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.WindowsEventProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2949
3489
|
) -> None:
|
|
2950
3490
|
"""Type checking stubs"""
|