aws-cdk-lib 2.157.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 +52 -20
- aws_cdk/_jsii/__init__.py +17 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.157.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +16 -1
- aws_cdk/assertions/__init__.py +16 -1
- aws_cdk/aws_accessanalyzer/__init__.py +16 -1
- aws_cdk/aws_acmpca/__init__.py +16 -1
- aws_cdk/aws_amazonmq/__init__.py +16 -1
- aws_cdk/aws_amplify/__init__.py +38 -9
- aws_cdk/aws_amplifyuibuilder/__init__.py +16 -1
- aws_cdk/aws_apigateway/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2/__init__.py +46 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +16 -1
- aws_cdk/aws_appconfig/__init__.py +19 -4
- aws_cdk/aws_appflow/__init__.py +16 -1
- aws_cdk/aws_appintegrations/__init__.py +16 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -1
- aws_cdk/aws_applicationinsights/__init__.py +560 -5
- aws_cdk/aws_applicationsignals/__init__.py +186 -143
- aws_cdk/aws_appmesh/__init__.py +16 -1
- aws_cdk/aws_apprunner/__init__.py +16 -1
- aws_cdk/aws_appstream/__init__.py +16 -1
- aws_cdk/aws_appsync/__init__.py +16 -1
- aws_cdk/aws_apptest/__init__.py +16 -1
- aws_cdk/aws_aps/__init__.py +16 -1
- aws_cdk/aws_arczonalshift/__init__.py +16 -1
- aws_cdk/aws_athena/__init__.py +31 -16
- aws_cdk/aws_auditmanager/__init__.py +21 -6
- aws_cdk/aws_autoscaling/__init__.py +16 -1
- aws_cdk/aws_autoscaling_common/__init__.py +16 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +16 -1
- aws_cdk/aws_autoscalingplans/__init__.py +16 -1
- aws_cdk/aws_b2bi/__init__.py +16 -1
- aws_cdk/aws_backup/__init__.py +16 -1
- aws_cdk/aws_backupgateway/__init__.py +16 -1
- aws_cdk/aws_batch/__init__.py +16 -1
- aws_cdk/aws_bcmdataexports/__init__.py +16 -1
- aws_cdk/aws_bedrock/__init__.py +23 -8
- aws_cdk/aws_billingconductor/__init__.py +16 -1
- aws_cdk/aws_budgets/__init__.py +16 -1
- aws_cdk/aws_cassandra/__init__.py +16 -1
- aws_cdk/aws_ce/__init__.py +16 -1
- aws_cdk/aws_certificatemanager/__init__.py +16 -1
- aws_cdk/aws_chatbot/__init__.py +16 -1
- aws_cdk/aws_cleanrooms/__init__.py +16 -1
- aws_cdk/aws_cleanroomsml/__init__.py +16 -1
- aws_cdk/aws_cloud9/__init__.py +16 -1
- aws_cdk/aws_cloudformation/__init__.py +16 -1
- aws_cdk/aws_cloudfront/__init__.py +16 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +16 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +16 -1
- aws_cdk/aws_cloudtrail/__init__.py +16 -1
- aws_cdk/aws_cloudwatch/__init__.py +16 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +16 -1
- aws_cdk/aws_codeartifact/__init__.py +16 -1
- aws_cdk/aws_codebuild/__init__.py +55 -19
- aws_cdk/aws_codecommit/__init__.py +16 -1
- aws_cdk/aws_codeconnections/__init__.py +17 -2
- aws_cdk/aws_codedeploy/__init__.py +16 -1
- aws_cdk/aws_codeguruprofiler/__init__.py +16 -1
- aws_cdk/aws_codegurureviewer/__init__.py +16 -1
- aws_cdk/aws_codepipeline/__init__.py +16 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +16 -1
- aws_cdk/aws_codestar/__init__.py +16 -1
- aws_cdk/aws_codestarconnections/__init__.py +16 -1
- aws_cdk/aws_codestarnotifications/__init__.py +16 -1
- aws_cdk/aws_cognito/__init__.py +406 -204
- aws_cdk/aws_comprehend/__init__.py +16 -1
- aws_cdk/aws_config/__init__.py +16 -1
- aws_cdk/aws_connect/__init__.py +1695 -153
- aws_cdk/aws_connectcampaigns/__init__.py +16 -1
- aws_cdk/aws_controltower/__init__.py +16 -1
- aws_cdk/aws_cur/__init__.py +16 -1
- aws_cdk/aws_customerprofiles/__init__.py +16 -1
- aws_cdk/aws_databrew/__init__.py +16 -1
- aws_cdk/aws_datapipeline/__init__.py +16 -1
- aws_cdk/aws_datasync/__init__.py +16 -1
- aws_cdk/aws_datazone/__init__.py +681 -41
- aws_cdk/aws_dax/__init__.py +16 -1
- aws_cdk/aws_deadline/__init__.py +16 -1
- aws_cdk/aws_detective/__init__.py +16 -1
- aws_cdk/aws_devicefarm/__init__.py +16 -1
- aws_cdk/aws_devopsguru/__init__.py +16 -1
- aws_cdk/aws_directoryservice/__init__.py +16 -1
- aws_cdk/aws_dlm/__init__.py +16 -1
- aws_cdk/aws_dms/__init__.py +16 -1
- aws_cdk/aws_docdb/__init__.py +22 -2
- aws_cdk/aws_docdbelastic/__init__.py +16 -1
- aws_cdk/aws_dynamodb/__init__.py +21 -6
- aws_cdk/aws_ec2/__init__.py +137 -37
- aws_cdk/aws_ecr/__init__.py +30 -7
- aws_cdk/aws_ecr_assets/__init__.py +16 -1
- aws_cdk/aws_ecs/__init__.py +36 -21
- aws_cdk/aws_ecs_patterns/__init__.py +16 -1
- aws_cdk/aws_efs/__init__.py +16 -1
- aws_cdk/aws_eks/__init__.py +16 -1
- aws_cdk/aws_elasticache/__init__.py +16 -1
- aws_cdk/aws_elasticbeanstalk/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +183 -21
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +16 -1
- aws_cdk/aws_elasticsearch/__init__.py +16 -1
- aws_cdk/aws_emr/__init__.py +24 -9
- aws_cdk/aws_emrcontainers/__init__.py +16 -1
- aws_cdk/aws_emrserverless/__init__.py +16 -1
- aws_cdk/aws_entityresolution/__init__.py +16 -1
- aws_cdk/aws_events/__init__.py +35 -18
- aws_cdk/aws_events_targets/__init__.py +181 -86
- aws_cdk/aws_eventschemas/__init__.py +16 -1
- aws_cdk/aws_evidently/__init__.py +16 -1
- aws_cdk/aws_finspace/__init__.py +16 -1
- aws_cdk/aws_fis/__init__.py +16 -1
- aws_cdk/aws_fms/__init__.py +75 -1
- aws_cdk/aws_forecast/__init__.py +16 -1
- aws_cdk/aws_frauddetector/__init__.py +16 -1
- aws_cdk/aws_fsx/__init__.py +19 -4
- aws_cdk/aws_gamelift/__init__.py +56 -53
- aws_cdk/aws_globalaccelerator/__init__.py +38 -30
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +16 -1
- aws_cdk/aws_glue/__init__.py +16 -1
- aws_cdk/aws_grafana/__init__.py +16 -1
- aws_cdk/aws_greengrass/__init__.py +16 -1
- aws_cdk/aws_greengrassv2/__init__.py +16 -1
- aws_cdk/aws_groundstation/__init__.py +16 -1
- aws_cdk/aws_guardduty/__init__.py +16 -1
- aws_cdk/aws_healthimaging/__init__.py +16 -1
- aws_cdk/aws_healthlake/__init__.py +16 -1
- aws_cdk/aws_iam/__init__.py +38 -21
- aws_cdk/aws_identitystore/__init__.py +16 -1
- aws_cdk/aws_imagebuilder/__init__.py +16 -1
- aws_cdk/aws_inspector/__init__.py +16 -1
- aws_cdk/aws_inspectorv2/__init__.py +16 -1
- aws_cdk/aws_internetmonitor/__init__.py +16 -1
- aws_cdk/aws_iot/__init__.py +16 -1
- aws_cdk/aws_iot1click/__init__.py +16 -1
- aws_cdk/aws_iotanalytics/__init__.py +16 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -1
- aws_cdk/aws_iotevents/__init__.py +16 -1
- aws_cdk/aws_iotfleethub/__init__.py +16 -1
- aws_cdk/aws_iotfleetwise/__init__.py +435 -1
- aws_cdk/aws_iotsitewise/__init__.py +106 -2
- aws_cdk/aws_iotthingsgraph/__init__.py +16 -1
- aws_cdk/aws_iottwinmaker/__init__.py +16 -1
- aws_cdk/aws_iotwireless/__init__.py +221 -1
- aws_cdk/aws_ivs/__init__.py +16 -1
- aws_cdk/aws_ivschat/__init__.py +16 -1
- aws_cdk/aws_kafkaconnect/__init__.py +16 -1
- aws_cdk/aws_kendra/__init__.py +16 -1
- aws_cdk/aws_kendraranking/__init__.py +16 -1
- aws_cdk/aws_kinesis/__init__.py +16 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +16 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +16 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +16 -1
- aws_cdk/aws_kinesisvideo/__init__.py +16 -1
- aws_cdk/aws_kms/__init__.py +16 -1
- aws_cdk/aws_lakeformation/__init__.py +16 -1
- aws_cdk/aws_lambda/__init__.py +145 -17
- aws_cdk/aws_lambda_destinations/__init__.py +16 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +16 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +16 -1
- aws_cdk/aws_launchwizard/__init__.py +16 -1
- aws_cdk/aws_lex/__init__.py +31 -2
- aws_cdk/aws_licensemanager/__init__.py +16 -1
- aws_cdk/aws_lightsail/__init__.py +16 -1
- aws_cdk/aws_location/__init__.py +16 -1
- aws_cdk/aws_logs/__init__.py +17 -2
- aws_cdk/aws_logs_destinations/__init__.py +16 -1
- aws_cdk/aws_lookoutequipment/__init__.py +16 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +16 -1
- aws_cdk/aws_lookoutvision/__init__.py +16 -1
- aws_cdk/aws_m2/__init__.py +16 -1
- aws_cdk/aws_macie/__init__.py +16 -1
- aws_cdk/aws_managedblockchain/__init__.py +16 -1
- aws_cdk/aws_mediaconnect/__init__.py +127 -1
- aws_cdk/aws_mediaconvert/__init__.py +16 -1
- aws_cdk/aws_medialive/__init__.py +8004 -3263
- aws_cdk/aws_mediapackage/__init__.py +16 -1
- aws_cdk/aws_mediapackagev2/__init__.py +16 -1
- aws_cdk/aws_mediastore/__init__.py +16 -1
- aws_cdk/aws_mediatailor/__init__.py +16 -1
- aws_cdk/aws_memorydb/__init__.py +16 -1
- aws_cdk/aws_msk/__init__.py +303 -480
- aws_cdk/aws_mwaa/__init__.py +16 -1
- aws_cdk/aws_neptune/__init__.py +16 -1
- aws_cdk/aws_neptunegraph/__init__.py +16 -1
- aws_cdk/aws_networkfirewall/__init__.py +16 -1
- aws_cdk/aws_networkmanager/__init__.py +16 -1
- aws_cdk/aws_nimblestudio/__init__.py +16 -1
- aws_cdk/aws_oam/__init__.py +16 -1
- aws_cdk/aws_omics/__init__.py +16 -1
- aws_cdk/aws_opensearchserverless/__init__.py +16 -1
- aws_cdk/aws_opensearchservice/__init__.py +22 -1
- aws_cdk/aws_opsworks/__init__.py +16 -1
- aws_cdk/aws_opsworkscm/__init__.py +16 -1
- aws_cdk/aws_organizations/__init__.py +16 -1
- aws_cdk/aws_osis/__init__.py +16 -1
- aws_cdk/aws_panorama/__init__.py +16 -1
- aws_cdk/aws_paymentcryptography/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorscep/__init__.py +85 -31
- aws_cdk/aws_personalize/__init__.py +16 -1
- aws_cdk/aws_pinpoint/__init__.py +16 -1
- aws_cdk/aws_pinpointemail/__init__.py +16 -1
- aws_cdk/aws_pipes/__init__.py +65 -1
- aws_cdk/aws_proton/__init__.py +16 -1
- aws_cdk/aws_qbusiness/__init__.py +27 -15
- aws_cdk/aws_qldb/__init__.py +16 -1
- aws_cdk/aws_quicksight/__init__.py +654 -100
- aws_cdk/aws_ram/__init__.py +16 -1
- aws_cdk/aws_rds/__init__.py +78 -32
- aws_cdk/aws_redshift/__init__.py +16 -1
- aws_cdk/aws_redshiftserverless/__init__.py +16 -1
- aws_cdk/aws_refactorspaces/__init__.py +16 -1
- aws_cdk/aws_rekognition/__init__.py +16 -1
- aws_cdk/aws_resiliencehub/__init__.py +16 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +16 -1
- aws_cdk/aws_resourcegroups/__init__.py +16 -1
- aws_cdk/aws_robomaker/__init__.py +16 -1
- aws_cdk/aws_rolesanywhere/__init__.py +16 -1
- aws_cdk/aws_route53/__init__.py +16 -1
- aws_cdk/aws_route53_patterns/__init__.py +16 -1
- aws_cdk/aws_route53_targets/__init__.py +16 -1
- aws_cdk/aws_route53profiles/__init__.py +16 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +16 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +16 -1
- aws_cdk/aws_route53resolver/__init__.py +16 -1
- aws_cdk/aws_rum/__init__.py +16 -1
- aws_cdk/aws_s3/__init__.py +231 -34
- aws_cdk/aws_s3_assets/__init__.py +16 -1
- aws_cdk/aws_s3_deployment/__init__.py +16 -1
- aws_cdk/aws_s3_notifications/__init__.py +16 -1
- aws_cdk/aws_s3express/__init__.py +16 -1
- aws_cdk/aws_s3objectlambda/__init__.py +18 -3
- aws_cdk/aws_s3outposts/__init__.py +16 -1
- aws_cdk/aws_sagemaker/__init__.py +888 -59
- aws_cdk/aws_sam/__init__.py +16 -1
- aws_cdk/aws_scheduler/__init__.py +16 -1
- aws_cdk/aws_sdb/__init__.py +16 -1
- aws_cdk/aws_secretsmanager/__init__.py +38 -9
- aws_cdk/aws_securityhub/__init__.py +277 -20
- aws_cdk/aws_securitylake/__init__.py +343 -8
- aws_cdk/aws_servicecatalog/__init__.py +16 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +16 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -6
- aws_cdk/aws_ses/__init__.py +16 -1
- aws_cdk/aws_ses_actions/__init__.py +16 -1
- aws_cdk/aws_shield/__init__.py +16 -1
- aws_cdk/aws_signer/__init__.py +16 -1
- aws_cdk/aws_simspaceweaver/__init__.py +16 -1
- aws_cdk/aws_sns/__init__.py +16 -9
- aws_cdk/aws_sns_subscriptions/__init__.py +16 -1
- aws_cdk/aws_sqs/__init__.py +16 -1
- aws_cdk/aws_ssm/__init__.py +36 -13
- aws_cdk/aws_ssmcontacts/__init__.py +16 -1
- aws_cdk/aws_ssmincidents/__init__.py +16 -1
- aws_cdk/aws_ssmquicksetup/__init__.py +16 -1
- aws_cdk/aws_sso/__init__.py +16 -1
- aws_cdk/aws_stepfunctions/__init__.py +16 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +52 -1
- aws_cdk/aws_supportapp/__init__.py +16 -1
- aws_cdk/aws_synthetics/__init__.py +16 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +16 -1
- aws_cdk/aws_timestream/__init__.py +16 -1
- aws_cdk/aws_transfer/__init__.py +16 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +16 -1
- aws_cdk/aws_voiceid/__init__.py +16 -1
- aws_cdk/aws_vpclattice/__init__.py +16 -1
- aws_cdk/aws_waf/__init__.py +16 -1
- aws_cdk/aws_wafregional/__init__.py +16 -1
- aws_cdk/aws_wafv2/__init__.py +16 -1
- aws_cdk/aws_wisdom/__init__.py +16 -1
- aws_cdk/aws_workspaces/__init__.py +16 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +16 -1
- aws_cdk/aws_workspacesweb/__init__.py +16 -1
- aws_cdk/aws_xray/__init__.py +16 -1
- aws_cdk/cloud_assembly_schema/__init__.py +16 -1
- aws_cdk/cloudformation_include/__init__.py +16 -1
- aws_cdk/custom_resources/__init__.py +16 -1
- aws_cdk/cx_api/__init__.py +35 -1
- aws_cdk/lambda_layer_awscli/__init__.py +16 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +16 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +16 -1
- aws_cdk/pipelines/__init__.py +16 -1
- aws_cdk/region_info/__init__.py +16 -1
- aws_cdk/triggers/__init__.py +16 -1
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +5 -5
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +27 -8
- aws_cdk_lib-2.159.0.dist-info/RECORD +294 -0
- aws_cdk_lib-2.157.0.dist-info/RECORD +0 -294
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
|
@@ -122,6 +137,23 @@ class CfnApplication(
|
|
|
122
137
|
log_path="logPath",
|
|
123
138
|
pattern_set="patternSet"
|
|
124
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
|
+
),
|
|
125
157
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
126
158
|
event_levels=["eventLevels"],
|
|
127
159
|
event_name="eventName",
|
|
@@ -145,6 +177,12 @@ class CfnApplication(
|
|
|
145
177
|
log_path="logPath",
|
|
146
178
|
pattern_set="patternSet"
|
|
147
179
|
)],
|
|
180
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
181
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
182
|
+
alarm_metric_name="alarmMetricName"
|
|
183
|
+
)],
|
|
184
|
+
process_name="processName"
|
|
185
|
+
)],
|
|
148
186
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
149
187
|
event_levels=["eventLevels"],
|
|
150
188
|
event_name="eventName",
|
|
@@ -194,6 +232,23 @@ class CfnApplication(
|
|
|
194
232
|
log_path="logPath",
|
|
195
233
|
pattern_set="patternSet"
|
|
196
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
|
+
),
|
|
197
252
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
198
253
|
event_levels=["eventLevels"],
|
|
199
254
|
event_name="eventName",
|
|
@@ -217,6 +272,12 @@ class CfnApplication(
|
|
|
217
272
|
log_path="logPath",
|
|
218
273
|
pattern_set="patternSet"
|
|
219
274
|
)],
|
|
275
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
276
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
277
|
+
alarm_metric_name="alarmMetricName"
|
|
278
|
+
)],
|
|
279
|
+
process_name="processName"
|
|
280
|
+
)],
|
|
220
281
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
221
282
|
event_levels=["eventLevels"],
|
|
222
283
|
event_name="eventName",
|
|
@@ -276,7 +337,7 @@ class CfnApplication(
|
|
|
276
337
|
:param resource_group_name: The name of the resource group used for the application.
|
|
277
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.
|
|
278
339
|
:param auto_configuration_enabled: If set to ``true`` , the application components will be configured with the monitoring configuration recommended by Application Insights.
|
|
279
|
-
: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`` .
|
|
280
341
|
:param custom_components: Describes a custom component by grouping similar standalone instances to monitor.
|
|
281
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.
|
|
282
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`` .
|
|
@@ -726,6 +787,23 @@ class CfnApplication(
|
|
|
726
787
|
log_path="logPath",
|
|
727
788
|
pattern_set="patternSet"
|
|
728
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
|
+
),
|
|
729
807
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
730
808
|
event_levels=["eventLevels"],
|
|
731
809
|
event_name="eventName",
|
|
@@ -749,6 +827,12 @@ class CfnApplication(
|
|
|
749
827
|
log_path="logPath",
|
|
750
828
|
pattern_set="patternSet"
|
|
751
829
|
)],
|
|
830
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
831
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
832
|
+
alarm_metric_name="alarmMetricName"
|
|
833
|
+
)],
|
|
834
|
+
process_name="processName"
|
|
835
|
+
)],
|
|
752
836
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
753
837
|
event_levels=["eventLevels"],
|
|
754
838
|
event_name="eventName",
|
|
@@ -832,8 +916,8 @@ class CfnApplication(
|
|
|
832
916
|
|
|
833
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.
|
|
834
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`` .
|
|
835
|
-
:param component_arn: The ARN of the component.
|
|
836
|
-
: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.
|
|
837
921
|
:param custom_component_configuration: Customized monitoring settings. Required if CUSTOM mode is configured in ``ComponentConfigurationMode`` .
|
|
838
922
|
:param default_overwrite_component_configuration: Customized overwrite monitoring settings. Required if CUSTOM mode is configured in ``ComponentConfigurationMode`` .
|
|
839
923
|
|
|
@@ -890,6 +974,23 @@ class CfnApplication(
|
|
|
890
974
|
log_path="logPath",
|
|
891
975
|
pattern_set="patternSet"
|
|
892
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
|
+
),
|
|
893
994
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
894
995
|
event_levels=["eventLevels"],
|
|
895
996
|
event_name="eventName",
|
|
@@ -913,6 +1014,12 @@ class CfnApplication(
|
|
|
913
1014
|
log_path="logPath",
|
|
914
1015
|
pattern_set="patternSet"
|
|
915
1016
|
)],
|
|
1017
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
1018
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
1019
|
+
alarm_metric_name="alarmMetricName"
|
|
1020
|
+
)],
|
|
1021
|
+
process_name="processName"
|
|
1022
|
+
)],
|
|
916
1023
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
917
1024
|
event_levels=["eventLevels"],
|
|
918
1025
|
event_name="eventName",
|
|
@@ -962,6 +1069,23 @@ class CfnApplication(
|
|
|
962
1069
|
log_path="logPath",
|
|
963
1070
|
pattern_set="patternSet"
|
|
964
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
|
+
),
|
|
965
1089
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
966
1090
|
event_levels=["eventLevels"],
|
|
967
1091
|
event_name="eventName",
|
|
@@ -985,6 +1109,12 @@ class CfnApplication(
|
|
|
985
1109
|
log_path="logPath",
|
|
986
1110
|
pattern_set="patternSet"
|
|
987
1111
|
)],
|
|
1112
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
1113
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
1114
|
+
alarm_metric_name="alarmMetricName"
|
|
1115
|
+
)],
|
|
1116
|
+
process_name="processName"
|
|
1117
|
+
)],
|
|
988
1118
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
989
1119
|
event_levels=["eventLevels"],
|
|
990
1120
|
event_name="eventName",
|
|
@@ -1050,6 +1180,8 @@ class CfnApplication(
|
|
|
1050
1180
|
def component_arn(self) -> typing.Optional[builtins.str]:
|
|
1051
1181
|
'''The ARN of the component.
|
|
1052
1182
|
|
|
1183
|
+
Either the component ARN or the component name is required.
|
|
1184
|
+
|
|
1053
1185
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentarn
|
|
1054
1186
|
'''
|
|
1055
1187
|
result = self._values.get("component_arn")
|
|
@@ -1059,6 +1191,8 @@ class CfnApplication(
|
|
|
1059
1191
|
def component_name(self) -> typing.Optional[builtins.str]:
|
|
1060
1192
|
'''The name of the component.
|
|
1061
1193
|
|
|
1194
|
+
Either the component ARN or the component name is required.
|
|
1195
|
+
|
|
1062
1196
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentname
|
|
1063
1197
|
'''
|
|
1064
1198
|
result = self._values.get("component_name")
|
|
@@ -1111,6 +1245,9 @@ class CfnApplication(
|
|
|
1111
1245
|
"hana_prometheus_exporter": "hanaPrometheusExporter",
|
|
1112
1246
|
"jmx_prometheus_exporter": "jmxPrometheusExporter",
|
|
1113
1247
|
"logs": "logs",
|
|
1248
|
+
"net_weaver_prometheus_exporter": "netWeaverPrometheusExporter",
|
|
1249
|
+
"processes": "processes",
|
|
1250
|
+
"sql_server_prometheus_exporter": "sqlServerPrometheusExporter",
|
|
1114
1251
|
"windows_events": "windowsEvents",
|
|
1115
1252
|
},
|
|
1116
1253
|
)
|
|
@@ -1124,6 +1261,9 @@ class CfnApplication(
|
|
|
1124
1261
|
hana_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.HANAPrometheusExporterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1125
1262
|
jmx_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.JMXPrometheusExporterProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1126
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,
|
|
1127
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,
|
|
1128
1268
|
) -> None:
|
|
1129
1269
|
'''The ``AWS::ApplicationInsights::Application ConfigurationDetails`` property type specifies the configuration settings.
|
|
@@ -1134,6 +1274,9 @@ class CfnApplication(
|
|
|
1134
1274
|
:param hana_prometheus_exporter: The HANA DB Prometheus Exporter settings.
|
|
1135
1275
|
:param jmx_prometheus_exporter: A list of Java metrics to monitor for the component.
|
|
1136
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.
|
|
1137
1280
|
:param windows_events: A list of Windows Events to monitor for the component. Only Amazon EC2 instances running on Windows can use ``WindowsEvents`` .
|
|
1138
1281
|
|
|
1139
1282
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html
|
|
@@ -1181,6 +1324,23 @@ class CfnApplication(
|
|
|
1181
1324
|
log_path="logPath",
|
|
1182
1325
|
pattern_set="patternSet"
|
|
1183
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
|
+
),
|
|
1184
1344
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
1185
1345
|
event_levels=["eventLevels"],
|
|
1186
1346
|
event_name="eventName",
|
|
@@ -1199,6 +1359,9 @@ class CfnApplication(
|
|
|
1199
1359
|
check_type(argname="argument hana_prometheus_exporter", value=hana_prometheus_exporter, expected_type=type_hints["hana_prometheus_exporter"])
|
|
1200
1360
|
check_type(argname="argument jmx_prometheus_exporter", value=jmx_prometheus_exporter, expected_type=type_hints["jmx_prometheus_exporter"])
|
|
1201
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"])
|
|
1202
1365
|
check_type(argname="argument windows_events", value=windows_events, expected_type=type_hints["windows_events"])
|
|
1203
1366
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1204
1367
|
if alarm_metrics is not None:
|
|
@@ -1213,6 +1376,12 @@ class CfnApplication(
|
|
|
1213
1376
|
self._values["jmx_prometheus_exporter"] = jmx_prometheus_exporter
|
|
1214
1377
|
if logs is not None:
|
|
1215
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
|
|
1216
1385
|
if windows_events is not None:
|
|
1217
1386
|
self._values["windows_events"] = windows_events
|
|
1218
1387
|
|
|
@@ -1288,6 +1457,41 @@ class CfnApplication(
|
|
|
1288
1457
|
result = self._values.get("logs")
|
|
1289
1458
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.LogProperty"]]]], result)
|
|
1290
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
|
+
|
|
1291
1495
|
@builtins.property
|
|
1292
1496
|
def windows_events(
|
|
1293
1497
|
self,
|
|
@@ -1982,12 +2186,256 @@ class CfnApplication(
|
|
|
1982
2186
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1983
2187
|
)
|
|
1984
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
|
+
|
|
1985
2432
|
@jsii.data_type(
|
|
1986
2433
|
jsii_type="aws-cdk-lib.aws_applicationinsights.CfnApplication.SubComponentConfigurationDetailsProperty",
|
|
1987
2434
|
jsii_struct_bases=[],
|
|
1988
2435
|
name_mapping={
|
|
1989
2436
|
"alarm_metrics": "alarmMetrics",
|
|
1990
2437
|
"logs": "logs",
|
|
2438
|
+
"processes": "processes",
|
|
1991
2439
|
"windows_events": "windowsEvents",
|
|
1992
2440
|
},
|
|
1993
2441
|
)
|
|
@@ -1997,12 +2445,14 @@ class CfnApplication(
|
|
|
1997
2445
|
*,
|
|
1998
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,
|
|
1999
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,
|
|
2000
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,
|
|
2001
2450
|
) -> None:
|
|
2002
2451
|
'''The ``AWS::ApplicationInsights::Application SubComponentConfigurationDetails`` property type specifies the configuration settings of the sub-components.
|
|
2003
2452
|
|
|
2004
2453
|
:param alarm_metrics: A list of metrics to monitor for the component. All component types can use ``AlarmMetrics`` .
|
|
2005
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.
|
|
2006
2456
|
:param windows_events: A list of Windows Events to monitor for the component. Only Amazon EC2 instances running on Windows can use ``WindowsEvents`` .
|
|
2007
2457
|
|
|
2008
2458
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html
|
|
@@ -2027,6 +2477,12 @@ class CfnApplication(
|
|
|
2027
2477
|
log_path="logPath",
|
|
2028
2478
|
pattern_set="patternSet"
|
|
2029
2479
|
)],
|
|
2480
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
2481
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
2482
|
+
alarm_metric_name="alarmMetricName"
|
|
2483
|
+
)],
|
|
2484
|
+
process_name="processName"
|
|
2485
|
+
)],
|
|
2030
2486
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2031
2487
|
event_levels=["eventLevels"],
|
|
2032
2488
|
event_name="eventName",
|
|
@@ -2041,12 +2497,15 @@ class CfnApplication(
|
|
|
2041
2497
|
type_hints = typing.get_type_hints(_typecheckingstub__ad15dc119b66b0eda1df32e08e74598f93fb10eb42aae2cf9610fff97048f0e9)
|
|
2042
2498
|
check_type(argname="argument alarm_metrics", value=alarm_metrics, expected_type=type_hints["alarm_metrics"])
|
|
2043
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"])
|
|
2044
2501
|
check_type(argname="argument windows_events", value=windows_events, expected_type=type_hints["windows_events"])
|
|
2045
2502
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2046
2503
|
if alarm_metrics is not None:
|
|
2047
2504
|
self._values["alarm_metrics"] = alarm_metrics
|
|
2048
2505
|
if logs is not None:
|
|
2049
2506
|
self._values["logs"] = logs
|
|
2507
|
+
if processes is not None:
|
|
2508
|
+
self._values["processes"] = processes
|
|
2050
2509
|
if windows_events is not None:
|
|
2051
2510
|
self._values["windows_events"] = windows_events
|
|
2052
2511
|
|
|
@@ -2076,6 +2535,19 @@ class CfnApplication(
|
|
|
2076
2535
|
result = self._values.get("logs")
|
|
2077
2536
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.LogProperty"]]]], result)
|
|
2078
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
|
+
|
|
2079
2551
|
@builtins.property
|
|
2080
2552
|
def windows_events(
|
|
2081
2553
|
self,
|
|
@@ -2143,6 +2615,12 @@ class CfnApplication(
|
|
|
2143
2615
|
log_path="logPath",
|
|
2144
2616
|
pattern_set="patternSet"
|
|
2145
2617
|
)],
|
|
2618
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
2619
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
2620
|
+
alarm_metric_name="alarmMetricName"
|
|
2621
|
+
)],
|
|
2622
|
+
process_name="processName"
|
|
2623
|
+
)],
|
|
2146
2624
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2147
2625
|
event_levels=["eventLevels"],
|
|
2148
2626
|
event_name="eventName",
|
|
@@ -2348,7 +2826,7 @@ class CfnApplicationProps:
|
|
|
2348
2826
|
:param resource_group_name: The name of the resource group used for the application.
|
|
2349
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.
|
|
2350
2828
|
:param auto_configuration_enabled: If set to ``true`` , the application components will be configured with the monitoring configuration recommended by Application Insights.
|
|
2351
|
-
: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`` .
|
|
2352
2830
|
:param custom_components: Describes a custom component by grouping similar standalone instances to monitor.
|
|
2353
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.
|
|
2354
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`` .
|
|
@@ -2416,6 +2894,23 @@ class CfnApplicationProps:
|
|
|
2416
2894
|
log_path="logPath",
|
|
2417
2895
|
pattern_set="patternSet"
|
|
2418
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
|
+
),
|
|
2419
2914
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2420
2915
|
event_levels=["eventLevels"],
|
|
2421
2916
|
event_name="eventName",
|
|
@@ -2439,6 +2934,12 @@ class CfnApplicationProps:
|
|
|
2439
2934
|
log_path="logPath",
|
|
2440
2935
|
pattern_set="patternSet"
|
|
2441
2936
|
)],
|
|
2937
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
2938
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
2939
|
+
alarm_metric_name="alarmMetricName"
|
|
2940
|
+
)],
|
|
2941
|
+
process_name="processName"
|
|
2942
|
+
)],
|
|
2442
2943
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2443
2944
|
event_levels=["eventLevels"],
|
|
2444
2945
|
event_name="eventName",
|
|
@@ -2488,6 +2989,23 @@ class CfnApplicationProps:
|
|
|
2488
2989
|
log_path="logPath",
|
|
2489
2990
|
pattern_set="patternSet"
|
|
2490
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
|
+
),
|
|
2491
3009
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2492
3010
|
event_levels=["eventLevels"],
|
|
2493
3011
|
event_name="eventName",
|
|
@@ -2511,6 +3029,12 @@ class CfnApplicationProps:
|
|
|
2511
3029
|
log_path="logPath",
|
|
2512
3030
|
pattern_set="patternSet"
|
|
2513
3031
|
)],
|
|
3032
|
+
processes=[applicationinsights.CfnApplication.ProcessProperty(
|
|
3033
|
+
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
|
|
3034
|
+
alarm_metric_name="alarmMetricName"
|
|
3035
|
+
)],
|
|
3036
|
+
process_name="processName"
|
|
3037
|
+
)],
|
|
2514
3038
|
windows_events=[applicationinsights.CfnApplication.WindowsEventProperty(
|
|
2515
3039
|
event_levels=["eventLevels"],
|
|
2516
3040
|
event_name="eventName",
|
|
@@ -2621,6 +3145,8 @@ class CfnApplicationProps:
|
|
|
2621
3145
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.ComponentMonitoringSettingProperty]]]]:
|
|
2622
3146
|
'''The monitoring settings of the components.
|
|
2623
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
|
+
|
|
2624
3150
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-componentmonitoringsettings
|
|
2625
3151
|
'''
|
|
2626
3152
|
result = self._values.get("component_monitoring_settings")
|
|
@@ -2858,6 +3384,9 @@ def _typecheckingstub__deefc6aeb9dc9247d68032456616f3b1f2608e9cedfd73fc49e6d5895
|
|
|
2858
3384
|
hana_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.HANAPrometheusExporterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2859
3385
|
jmx_prometheus_exporter: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.JMXPrometheusExporterProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2860
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,
|
|
2861
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,
|
|
2862
3391
|
) -> None:
|
|
2863
3392
|
"""Type checking stubs"""
|
|
@@ -2926,10 +3455,36 @@ def _typecheckingstub__9e3cc264f003829da243563fc3ad782868f4fef192ac1b4b9f225c1fe
|
|
|
2926
3455
|
"""Type checking stubs"""
|
|
2927
3456
|
pass
|
|
2928
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
|
+
|
|
2929
3483
|
def _typecheckingstub__ad15dc119b66b0eda1df32e08e74598f93fb10eb42aae2cf9610fff97048f0e9(
|
|
2930
3484
|
*,
|
|
2931
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,
|
|
2932
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,
|
|
2933
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,
|
|
2934
3489
|
) -> None:
|
|
2935
3490
|
"""Type checking stubs"""
|