// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`snapshot test: all alarms 1`] = ` Object { "Parameters": Object { "BootstrapVersion": Object { "Default": "/cdk-bootstrap/hnb659fds/version", "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", "Type": "AWS::SSM::Parameter::Value", }, }, "Resources": Object { "Alarm7103F465": Object { "Properties": Object { "DashboardBody": Object { "Fn::Join": Array [ "", Array [ "{\\"widgets\\":[{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":0,\\"y\\":0,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyP50Warning7EEB3E57", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":6,\\"y\\":0,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyP70Warning56ABF038", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":12,\\"y\\":0,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyP90Warning48639A66", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":18,\\"y\\":0,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyP95Warning450538DF", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":0,\\"y\\":4,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyP99Warning254DA12C", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":6,\\"y\\":4,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyP999Warning8CF0377D", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":12,\\"y\\":4,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyP9999Warning89E47C72", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":18,\\"y\\":4,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyP100WarningB48A5E64", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyTM50Warning092E86BF", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":6,\\"y\\":8,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyTM70Warning8E657453", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":12,\\"y\\":8,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyTM90Warning0FDD3108", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":18,\\"y\\":8,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyTM95WarningFFD46CB8", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":0,\\"y\\":12,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyTM99WarningFF55C464", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":6,\\"y\\":12,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyTM999WarningD73972C6", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":12,\\"y\\":12,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyTM9999Warning4181DE97", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":18,\\"y\\":12,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiLatencyAverageWarning27D59767", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":0,\\"y\\":16,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyP50WarningB23B4040", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":6,\\"y\\":16,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyP70Warning3CC3EBD5", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":12,\\"y\\":16,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyP90WarningF259FC77", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":18,\\"y\\":16,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyP95WarningD9A4B89B", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":0,\\"y\\":20,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyP99WarningC8929BAD", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":6,\\"y\\":20,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyP999Warning9F27E61C", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":12,\\"y\\":20,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyP9999WarningA7C40063", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":18,\\"y\\":20,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyP100Warning347C1F98", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyTM50Warning6B4229D0", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":6,\\"y\\":24,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyTM70WarningB60BC024", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyTM90Warning2A0B535F", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":18,\\"y\\":24,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyTM95WarningCA30746B", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":0,\\"y\\":28,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyTM99WarningACB026E2", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":6,\\"y\\":28,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyTM999Warning08B604B1", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":12,\\"y\\":28,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyTM9999Warning26E553E4", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":18,\\"y\\":28,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiIntegrationLatencyAverageWarning1FB2E797", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":0,\\"y\\":32,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiErrorCountWarning11BE36AF", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":6,\\"y\\":32,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiErrorRateWarningD181D1C6", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":12,\\"y\\":32,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiFaultCountWarning6270BEC0", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":18,\\"y\\":32,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiFaultRateWarning63CFB7F0", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":0,\\"y\\":36,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiMinTPSWarning4E8DB4D0", "Arn", ], }, "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":4,\\"x\\":6,\\"y\\":36,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"annotations\\":{\\"alarms\\":[\\"", Object { "Fn::GetAtt": Array [ "ScopeTestDummyApiMaxTPSWarning62732F2B", "Arn", ], }, "\\"]},\\"yAxis\\":{}}}]}", ], ], }, }, "Type": "AWS::CloudWatch::Dashboard", }, "Resource": Object { "Properties": Object { "DashboardBody": Object { "Fn::Join": Array [ "", Array [ "{\\"widgets\\":[{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":0,\\"properties\\":{\\"markdown\\":\\"### API Gateway V2 HTTP Endpoint **Dummy API Gateway for testing**\\"}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":5,\\"x\\":0,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"TPS\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[{\\"label\\":\\"TPS\\",\\"expression\\":\\"requests / PERIOD(requests)\\"}],[\\"AWS/ApiGateway\\",\\"Count\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"Invocations\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"requests\\"}]],\\"annotations\\":{\\"horizontal\\":[{\\"label\\":\\"TPS < 1 for 3 datapoints within 15 minutes\\",\\"value\\":1,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TPS > 10 for 3 datapoints within 15 minutes\\",\\"value\\":10,\\"yAxis\\":\\"left\\"}]},\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":5,\\"x\\":6,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Latency\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"Average\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"Average\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P100 (avg: \${AVG})\\",\\"stat\\":\\"p100\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P100 (avg: \${AVG})\\",\\"stat\\":\\"p100\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P50 (avg: \${AVG})\\",\\"stat\\":\\"p50\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P50 (avg: \${AVG})\\",\\"stat\\":\\"p50\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P70 (avg: \${AVG})\\",\\"stat\\":\\"p70\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P70 (avg: \${AVG})\\",\\"stat\\":\\"p70\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P90 (avg: \${AVG})\\",\\"stat\\":\\"p90\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P90 (avg: \${AVG})\\",\\"stat\\":\\"p90\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P95 (avg: \${AVG})\\",\\"stat\\":\\"p95\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P95 (avg: \${AVG})\\",\\"stat\\":\\"p95\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99 (avg: \${AVG})\\",\\"stat\\":\\"p99\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99 (avg: \${AVG})\\",\\"stat\\":\\"p99\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99.9 (avg: \${AVG})\\",\\"stat\\":\\"p99.9\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99.9 (avg: \${AVG})\\",\\"stat\\":\\"p99.9\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99.99 (avg: \${AVG})\\",\\"stat\\":\\"p99.99\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99.99 (avg: \${AVG})\\",\\"stat\\":\\"p99.99\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM50 (avg: \${AVG})\\",\\"stat\\":\\"tm50\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM50 (avg: \${AVG})\\",\\"stat\\":\\"tm50\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM70 (avg: \${AVG})\\",\\"stat\\":\\"tm70\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM70 (avg: \${AVG})\\",\\"stat\\":\\"tm70\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM90 (avg: \${AVG})\\",\\"stat\\":\\"tm90\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM90 (avg: \${AVG})\\",\\"stat\\":\\"tm90\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM95 (avg: \${AVG})\\",\\"stat\\":\\"tm95\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM95 (avg: \${AVG})\\",\\"stat\\":\\"tm95\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99 (avg: \${AVG})\\",\\"stat\\":\\"tm99\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99 (avg: \${AVG})\\",\\"stat\\":\\"tm99\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99.9 (avg: \${AVG})\\",\\"stat\\":\\"tm99.9\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99.9 (avg: \${AVG})\\",\\"stat\\":\\"tm99.9\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99.99 (avg: \${AVG})\\",\\"stat\\":\\"tm99.99\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99.99 (avg: \${AVG})\\",\\"stat\\":\\"tm99.99\\"}]],\\"annotations\\":{\\"horizontal\\":[{\\"label\\":\\"P50 > 150 for 150 datapoints within 750 minutes\\",\\"value\\":150,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P70 > 170 for 170 datapoints within 850 minutes\\",\\"value\\":170,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P90 > 190 for 190 datapoints within 950 minutes\\",\\"value\\":190,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P95 > 195 for 195 datapoints within 975 minutes\\",\\"value\\":195,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99 > 199 for 199 datapoints within 995 minutes\\",\\"value\\":199,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99.9 > 1999 for 1999 datapoints within 9995 minutes\\",\\"value\\":1999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99.99 > 19999 for 19999 datapoints within 99995 minutes\\",\\"value\\":19999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P100 > 1100 for 1100 datapoints within 5500 minutes\\",\\"value\\":1100,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM50 > 250 for 250 datapoints within 1250 minutes\\",\\"value\\":250,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM70 > 270 for 270 datapoints within 1350 minutes\\",\\"value\\":270,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM90 > 290 for 290 datapoints within 1450 minutes\\",\\"value\\":290,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM95 > 295 for 295 datapoints within 1475 minutes\\",\\"value\\":295,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99 > 299 for 299 datapoints within 1495 minutes\\",\\"value\\":299,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99.9 > 2999 for 2999 datapoints within 14995 minutes\\",\\"value\\":2999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99.99 > 29999 for 29999 datapoints within 149995 minutes\\",\\"value\\":29999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"Average > 20 for 20 datapoints within 100 minutes\\",\\"value\\":20,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P50 > 150 for 150 datapoints within 750 minutes\\",\\"value\\":150,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P70 > 170 for 170 datapoints within 850 minutes\\",\\"value\\":170,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P90 > 190 for 190 datapoints within 950 minutes\\",\\"value\\":190,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P95 > 195 for 195 datapoints within 975 minutes\\",\\"value\\":195,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99 > 199 for 199 datapoints within 995 minutes\\",\\"value\\":199,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99.9 > 1999 for 1999 datapoints within 9995 minutes\\",\\"value\\":1999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99.99 > 19999 for 19999 datapoints within 99995 minutes\\",\\"value\\":19999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P100 > 1100 for 1100 datapoints within 5500 minutes\\",\\"value\\":1100,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM50 > 250 for 250 datapoints within 1250 minutes\\",\\"value\\":250,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM70 > 270 for 270 datapoints within 1350 minutes\\",\\"value\\":270,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM90 > 290 for 290 datapoints within 1450 minutes\\",\\"value\\":290,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM95 > 295 for 295 datapoints within 1475 minutes\\",\\"value\\":295,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99 > 299 for 299 datapoints within 1495 minutes\\",\\"value\\":299,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99.9 > 2999 for 2999 datapoints within 14995 minutes\\",\\"value\\":2999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99.99 > 29999 for 29999 datapoints within 149995 minutes\\",\\"value\\":29999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"Average > 20 for 20 datapoints within 100 minutes\\",\\"value\\":20,\\"yAxis\\":\\"left\\"}]},\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"ms\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":5,\\"x\\":12,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Errors\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[\\"AWS/ApiGateway\\",\\"4xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"4xx\\",\\"stat\\":\\"Sum\\"}],[\\"AWS/ApiGateway\\",\\"5xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"5xx\\",\\"stat\\":\\"Sum\\"}]],\\"annotations\\":{\\"horizontal\\":[{\\"label\\":\\"4xx > 0.02 for 10 datapoints within 50 minutes\\",\\"value\\":0.02,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"5xx > 2 for 11 datapoints within 55 minutes\\",\\"value\\":2,\\"yAxis\\":\\"left\\"}]},\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":5,\\"x\\":18,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Errors (rate)\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[\\"AWS/ApiGateway\\",\\"4xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"4xx (avg)\\"}],[\\"AWS/ApiGateway\\",\\"5xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"5xx (avg)\\"}]],\\"annotations\\":{\\"horizontal\\":[{\\"label\\":\\"4xx (avg) > 0.01 for 20 datapoints within 100 minutes\\",\\"value\\":0.01,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"5xx (avg) > 1 for 22 datapoints within 110 minutes\\",\\"value\\":1,\\"yAxis\\":\\"left\\"}]},\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", ], ], }, }, "Type": "AWS::CloudWatch::Dashboard", }, "ScopeTestDummyApiErrorCountWarning11BE36AF": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "Error count is too high.", "AlarmName": "Test-DummyApi-Error-Count-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 10, "EvaluationPeriods": 10, "Metrics": Array [ Object { "Id": "m1", "Label": "4xx", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "4xx", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "Sum", }, "ReturnData": true, }, ], "Threshold": 0.02, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiErrorRateWarningD181D1C6": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "Error rate is too high.", "AlarmName": "Test-DummyApi-Error-Rate-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 20, "EvaluationPeriods": 20, "Metrics": Array [ Object { "Id": "m1", "Label": "4xx (avg)", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "4xx", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "Average", }, "ReturnData": true, }, ], "Threshold": 0.01, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiFaultCountWarning6270BEC0": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "Fault count is too high.", "AlarmName": "Test-DummyApi-Fault-Count-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 11, "EvaluationPeriods": 11, "Metrics": Array [ Object { "Id": "m1", "Label": "5xx", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "5xx", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "Sum", }, "ReturnData": true, }, ], "Threshold": 2, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiFaultRateWarning63CFB7F0": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "Fault rate is too high.", "AlarmName": "Test-DummyApi-Fault-Rate-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 22, "EvaluationPeriods": 22, "Metrics": Array [ Object { "Id": "m1", "Label": "5xx (avg)", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "5xx", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "Average", }, "ReturnData": true, }, ], "Threshold": 1, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyAverageWarning1FB2E797": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "Average integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-Average-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 20, "EvaluationPeriods": 20, "Metrics": Array [ Object { "Id": "m1", "Label": "Average", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "Average", }, "ReturnData": true, }, ], "Threshold": 20, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyP100Warning347C1F98": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P100 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-P100-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 1100, "EvaluationPeriods": 1100, "Metrics": Array [ Object { "Id": "m1", "Label": "P100", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p100", }, "ReturnData": true, }, ], "Threshold": 1100, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyP50WarningB23B4040": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P50 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-P50-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 150, "EvaluationPeriods": 150, "Metrics": Array [ Object { "Id": "m1", "Label": "P50", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p50", }, "ReturnData": true, }, ], "Threshold": 150, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyP70Warning3CC3EBD5": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P70 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-P70-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 170, "EvaluationPeriods": 170, "Metrics": Array [ Object { "Id": "m1", "Label": "P70", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p70", }, "ReturnData": true, }, ], "Threshold": 170, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyP90WarningF259FC77": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P90 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-P90-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 190, "EvaluationPeriods": 190, "Metrics": Array [ Object { "Id": "m1", "Label": "P90", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p90", }, "ReturnData": true, }, ], "Threshold": 190, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyP95WarningD9A4B89B": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P95 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-P95-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 195, "EvaluationPeriods": 195, "Metrics": Array [ Object { "Id": "m1", "Label": "P95", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p95", }, "ReturnData": true, }, ], "Threshold": 195, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyP9999WarningA7C40063": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P9999 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-P9999-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 19999, "EvaluationPeriods": 19999, "Metrics": Array [ Object { "Id": "m1", "Label": "P99.99", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p99.99", }, "ReturnData": true, }, ], "Threshold": 19999, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyP999Warning9F27E61C": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P999 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-P999-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 1999, "EvaluationPeriods": 1999, "Metrics": Array [ Object { "Id": "m1", "Label": "P99.9", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p99.9", }, "ReturnData": true, }, ], "Threshold": 1999, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyP99WarningC8929BAD": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P99 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-P99-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 199, "EvaluationPeriods": 199, "Metrics": Array [ Object { "Id": "m1", "Label": "P99", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p99", }, "ReturnData": true, }, ], "Threshold": 199, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyTM50Warning6B4229D0": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM50 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-TM50-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 250, "EvaluationPeriods": 250, "Metrics": Array [ Object { "Id": "m1", "Label": "TM50", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm50", }, "ReturnData": true, }, ], "Threshold": 250, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyTM70WarningB60BC024": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM70 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-TM70-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 270, "EvaluationPeriods": 270, "Metrics": Array [ Object { "Id": "m1", "Label": "TM70", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm70", }, "ReturnData": true, }, ], "Threshold": 270, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyTM90Warning2A0B535F": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM90 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-TM90-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 290, "EvaluationPeriods": 290, "Metrics": Array [ Object { "Id": "m1", "Label": "TM90", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm90", }, "ReturnData": true, }, ], "Threshold": 290, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyTM95WarningCA30746B": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM95 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-TM95-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 295, "EvaluationPeriods": 295, "Metrics": Array [ Object { "Id": "m1", "Label": "TM95", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm95", }, "ReturnData": true, }, ], "Threshold": 295, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyTM9999Warning26E553E4": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM9999 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-TM9999-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 29999, "EvaluationPeriods": 29999, "Metrics": Array [ Object { "Id": "m1", "Label": "TM99.99", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm99.99", }, "ReturnData": true, }, ], "Threshold": 29999, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyTM999Warning08B604B1": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM999 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-TM999-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 2999, "EvaluationPeriods": 2999, "Metrics": Array [ Object { "Id": "m1", "Label": "TM99.9", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm99.9", }, "ReturnData": true, }, ], "Threshold": 2999, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiIntegrationLatencyTM99WarningACB026E2": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM99 integration latency is too high.", "AlarmName": "Test-DummyApi-IntegrationLatency-TM99-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 299, "EvaluationPeriods": 299, "Metrics": Array [ Object { "Id": "m1", "Label": "TM99", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "IntegrationLatency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm99", }, "ReturnData": true, }, ], "Threshold": 299, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyAverageWarning27D59767": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "Average latency is too high.", "AlarmName": "Test-DummyApi-Latency-Average-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 20, "EvaluationPeriods": 20, "Metrics": Array [ Object { "Id": "m1", "Label": "Average", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "Average", }, "ReturnData": true, }, ], "Threshold": 20, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyP100WarningB48A5E64": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P100 latency is too high.", "AlarmName": "Test-DummyApi-Latency-P100-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 1100, "EvaluationPeriods": 1100, "Metrics": Array [ Object { "Id": "m1", "Label": "P100", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p100", }, "ReturnData": true, }, ], "Threshold": 1100, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyP50Warning7EEB3E57": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P50 latency is too high.", "AlarmName": "Test-DummyApi-Latency-P50-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 150, "EvaluationPeriods": 150, "Metrics": Array [ Object { "Id": "m1", "Label": "P50", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p50", }, "ReturnData": true, }, ], "Threshold": 150, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyP70Warning56ABF038": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P70 latency is too high.", "AlarmName": "Test-DummyApi-Latency-P70-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 170, "EvaluationPeriods": 170, "Metrics": Array [ Object { "Id": "m1", "Label": "P70", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p70", }, "ReturnData": true, }, ], "Threshold": 170, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyP90Warning48639A66": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P90 latency is too high.", "AlarmName": "Test-DummyApi-Latency-P90-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 190, "EvaluationPeriods": 190, "Metrics": Array [ Object { "Id": "m1", "Label": "P90", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p90", }, "ReturnData": true, }, ], "Threshold": 190, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyP95Warning450538DF": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P95 latency is too high.", "AlarmName": "Test-DummyApi-Latency-P95-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 195, "EvaluationPeriods": 195, "Metrics": Array [ Object { "Id": "m1", "Label": "P95", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p95", }, "ReturnData": true, }, ], "Threshold": 195, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyP9999Warning89E47C72": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P9999 latency is too high.", "AlarmName": "Test-DummyApi-Latency-P9999-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 19999, "EvaluationPeriods": 19999, "Metrics": Array [ Object { "Id": "m1", "Label": "P99.99", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p99.99", }, "ReturnData": true, }, ], "Threshold": 19999, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyP999Warning8CF0377D": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P999 latency is too high.", "AlarmName": "Test-DummyApi-Latency-P999-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 1999, "EvaluationPeriods": 1999, "Metrics": Array [ Object { "Id": "m1", "Label": "P99.9", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p99.9", }, "ReturnData": true, }, ], "Threshold": 1999, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyP99Warning254DA12C": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "P99 latency is too high.", "AlarmName": "Test-DummyApi-Latency-P99-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 199, "EvaluationPeriods": 199, "Metrics": Array [ Object { "Id": "m1", "Label": "P99", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "p99", }, "ReturnData": true, }, ], "Threshold": 199, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyTM50Warning092E86BF": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM50 latency is too high.", "AlarmName": "Test-DummyApi-Latency-TM50-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 250, "EvaluationPeriods": 250, "Metrics": Array [ Object { "Id": "m1", "Label": "TM50", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm50", }, "ReturnData": true, }, ], "Threshold": 250, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyTM70Warning8E657453": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM70 latency is too high.", "AlarmName": "Test-DummyApi-Latency-TM70-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 270, "EvaluationPeriods": 270, "Metrics": Array [ Object { "Id": "m1", "Label": "TM70", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm70", }, "ReturnData": true, }, ], "Threshold": 270, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyTM90Warning0FDD3108": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM90 latency is too high.", "AlarmName": "Test-DummyApi-Latency-TM90-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 290, "EvaluationPeriods": 290, "Metrics": Array [ Object { "Id": "m1", "Label": "TM90", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm90", }, "ReturnData": true, }, ], "Threshold": 290, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyTM95WarningFFD46CB8": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM95 latency is too high.", "AlarmName": "Test-DummyApi-Latency-TM95-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 295, "EvaluationPeriods": 295, "Metrics": Array [ Object { "Id": "m1", "Label": "TM95", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm95", }, "ReturnData": true, }, ], "Threshold": 295, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyTM9999Warning4181DE97": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM9999 latency is too high.", "AlarmName": "Test-DummyApi-Latency-TM9999-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 29999, "EvaluationPeriods": 29999, "Metrics": Array [ Object { "Id": "m1", "Label": "TM99.99", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm99.99", }, "ReturnData": true, }, ], "Threshold": 29999, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyTM999WarningD73972C6": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM999 latency is too high.", "AlarmName": "Test-DummyApi-Latency-TM999-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 2999, "EvaluationPeriods": 2999, "Metrics": Array [ Object { "Id": "m1", "Label": "TM99.9", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm99.9", }, "ReturnData": true, }, ], "Threshold": 2999, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiLatencyTM99WarningFF55C464": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TM99 latency is too high.", "AlarmName": "Test-DummyApi-Latency-TM99-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 299, "EvaluationPeriods": 299, "Metrics": Array [ Object { "Id": "m1", "Label": "TM99", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Latency", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "tm99", }, "ReturnData": true, }, ], "Threshold": 299, "TreatMissingData": "notBreaching", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiMaxTPSWarning62732F2B": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TPS is too high.", "AlarmName": "Test-DummyApi-MaxTPS-Warning", "ComparisonOperator": "GreaterThanThreshold", "DatapointsToAlarm": 3, "EvaluationPeriods": 3, "Metrics": Array [ Object { "Expression": "requests / PERIOD(requests)", "Id": "expr_1", "Label": "TPS", }, Object { "Id": "requests", "Label": "Invocations", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Count", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "Sum", }, "ReturnData": false, }, ], "Threshold": 10, "TreatMissingData": "missing", }, "Type": "AWS::CloudWatch::Alarm", }, "ScopeTestDummyApiMinTPSWarning4E8DB4D0": Object { "Properties": Object { "ActionsEnabled": true, "AlarmDescription": "TPS is too low.", "AlarmName": "Test-DummyApi-MinTPS-Warning", "ComparisonOperator": "LessThanThreshold", "DatapointsToAlarm": 3, "EvaluationPeriods": 3, "Metrics": Array [ Object { "Expression": "requests / PERIOD(requests)", "Id": "expr_1", "Label": "TPS", }, Object { "Id": "requests", "Label": "Invocations", "MetricStat": Object { "Metric": Object { "Dimensions": Array [ Object { "Name": "ApiId", "Value": Object { "Ref": "testHttpApiC57B300F", }, }, Object { "Name": "Stage", "Value": "$default", }, ], "MetricName": "Count", "Namespace": "AWS/ApiGateway", }, "Period": 300, "Stat": "Sum", }, "ReturnData": false, }, ], "Threshold": 1, "TreatMissingData": "missing", }, "Type": "AWS::CloudWatch::Alarm", }, "Summary68521F81": Object { "Properties": Object { "DashboardBody": Object { "Fn::Join": Array [ "", Array [ "{\\"widgets\\":[{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":0,\\"properties\\":{\\"markdown\\":\\"### API Gateway V2 HTTP Endpoint **Dummy API Gateway for testing**\\"}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":0,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"TPS\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[{\\"label\\":\\"TPS\\",\\"expression\\":\\"requests / PERIOD(requests)\\"}],[\\"AWS/ApiGateway\\",\\"Count\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"Invocations\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"requests\\"}]],\\"annotations\\":{\\"horizontal\\":[{\\"label\\":\\"TPS < 1 for 3 datapoints within 15 minutes\\",\\"value\\":1,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TPS > 10 for 3 datapoints within 15 minutes\\",\\"value\\":10,\\"yAxis\\":\\"left\\"}]},\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":8,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Latency\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"Average\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"Average\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P100 (avg: \${AVG})\\",\\"stat\\":\\"p100\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P100 (avg: \${AVG})\\",\\"stat\\":\\"p100\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P50 (avg: \${AVG})\\",\\"stat\\":\\"p50\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P50 (avg: \${AVG})\\",\\"stat\\":\\"p50\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P70 (avg: \${AVG})\\",\\"stat\\":\\"p70\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P70 (avg: \${AVG})\\",\\"stat\\":\\"p70\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P90 (avg: \${AVG})\\",\\"stat\\":\\"p90\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P90 (avg: \${AVG})\\",\\"stat\\":\\"p90\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P95 (avg: \${AVG})\\",\\"stat\\":\\"p95\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P95 (avg: \${AVG})\\",\\"stat\\":\\"p95\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99 (avg: \${AVG})\\",\\"stat\\":\\"p99\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99 (avg: \${AVG})\\",\\"stat\\":\\"p99\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99.9 (avg: \${AVG})\\",\\"stat\\":\\"p99.9\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99.9 (avg: \${AVG})\\",\\"stat\\":\\"p99.9\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99.99 (avg: \${AVG})\\",\\"stat\\":\\"p99.99\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99.99 (avg: \${AVG})\\",\\"stat\\":\\"p99.99\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM50 (avg: \${AVG})\\",\\"stat\\":\\"tm50\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM50 (avg: \${AVG})\\",\\"stat\\":\\"tm50\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM70 (avg: \${AVG})\\",\\"stat\\":\\"tm70\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM70 (avg: \${AVG})\\",\\"stat\\":\\"tm70\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM90 (avg: \${AVG})\\",\\"stat\\":\\"tm90\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM90 (avg: \${AVG})\\",\\"stat\\":\\"tm90\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM95 (avg: \${AVG})\\",\\"stat\\":\\"tm95\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM95 (avg: \${AVG})\\",\\"stat\\":\\"tm95\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99 (avg: \${AVG})\\",\\"stat\\":\\"tm99\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99 (avg: \${AVG})\\",\\"stat\\":\\"tm99\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99.9 (avg: \${AVG})\\",\\"stat\\":\\"tm99.9\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99.9 (avg: \${AVG})\\",\\"stat\\":\\"tm99.9\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99.99 (avg: \${AVG})\\",\\"stat\\":\\"tm99.99\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"TM99.99 (avg: \${AVG})\\",\\"stat\\":\\"tm99.99\\"}]],\\"annotations\\":{\\"horizontal\\":[{\\"label\\":\\"P50 > 150 for 150 datapoints within 750 minutes\\",\\"value\\":150,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P70 > 170 for 170 datapoints within 850 minutes\\",\\"value\\":170,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P90 > 190 for 190 datapoints within 950 minutes\\",\\"value\\":190,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P95 > 195 for 195 datapoints within 975 minutes\\",\\"value\\":195,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99 > 199 for 199 datapoints within 995 minutes\\",\\"value\\":199,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99.9 > 1999 for 1999 datapoints within 9995 minutes\\",\\"value\\":1999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99.99 > 19999 for 19999 datapoints within 99995 minutes\\",\\"value\\":19999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P100 > 1100 for 1100 datapoints within 5500 minutes\\",\\"value\\":1100,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM50 > 250 for 250 datapoints within 1250 minutes\\",\\"value\\":250,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM70 > 270 for 270 datapoints within 1350 minutes\\",\\"value\\":270,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM90 > 290 for 290 datapoints within 1450 minutes\\",\\"value\\":290,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM95 > 295 for 295 datapoints within 1475 minutes\\",\\"value\\":295,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99 > 299 for 299 datapoints within 1495 minutes\\",\\"value\\":299,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99.9 > 2999 for 2999 datapoints within 14995 minutes\\",\\"value\\":2999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99.99 > 29999 for 29999 datapoints within 149995 minutes\\",\\"value\\":29999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"Average > 20 for 20 datapoints within 100 minutes\\",\\"value\\":20,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P50 > 150 for 150 datapoints within 750 minutes\\",\\"value\\":150,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P70 > 170 for 170 datapoints within 850 minutes\\",\\"value\\":170,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P90 > 190 for 190 datapoints within 950 minutes\\",\\"value\\":190,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P95 > 195 for 195 datapoints within 975 minutes\\",\\"value\\":195,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99 > 199 for 199 datapoints within 995 minutes\\",\\"value\\":199,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99.9 > 1999 for 1999 datapoints within 9995 minutes\\",\\"value\\":1999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P99.99 > 19999 for 19999 datapoints within 99995 minutes\\",\\"value\\":19999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"P100 > 1100 for 1100 datapoints within 5500 minutes\\",\\"value\\":1100,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM50 > 250 for 250 datapoints within 1250 minutes\\",\\"value\\":250,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM70 > 270 for 270 datapoints within 1350 minutes\\",\\"value\\":270,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM90 > 290 for 290 datapoints within 1450 minutes\\",\\"value\\":290,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM95 > 295 for 295 datapoints within 1475 minutes\\",\\"value\\":295,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99 > 299 for 299 datapoints within 1495 minutes\\",\\"value\\":299,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99.9 > 2999 for 2999 datapoints within 14995 minutes\\",\\"value\\":2999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"TM99.99 > 29999 for 29999 datapoints within 149995 minutes\\",\\"value\\":29999,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"Average > 20 for 20 datapoints within 100 minutes\\",\\"value\\":20,\\"yAxis\\":\\"left\\"}]},\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"ms\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":16,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Errors (rate)\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[\\"AWS/ApiGateway\\",\\"4xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"4xx (avg)\\"}],[\\"AWS/ApiGateway\\",\\"5xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"5xx (avg)\\"}]],\\"annotations\\":{\\"horizontal\\":[{\\"label\\":\\"4xx (avg) > 0.01 for 20 datapoints within 100 minutes\\",\\"value\\":0.01,\\"yAxis\\":\\"left\\"},{\\"label\\":\\"5xx (avg) > 1 for 22 datapoints within 110 minutes\\",\\"value\\":1,\\"yAxis\\":\\"left\\"}]},\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", ], ], }, }, "Type": "AWS::CloudWatch::Dashboard", }, "testHttpApiC57B300F": Object { "Properties": Object { "Name": "testHttpApi", "ProtocolType": "HTTP", }, "Type": "AWS::ApiGatewayV2::Api", }, "testHttpApiDefaultStageBA851B68": Object { "Properties": Object { "ApiId": Object { "Ref": "testHttpApiC57B300F", }, "AutoDeploy": true, "StageName": "$default", }, "Type": "AWS::ApiGatewayV2::Stage", }, }, "Rules": Object { "CheckBootstrapVersion": Object { "Assertions": Array [ Object { "Assert": Object { "Fn::Not": Array [ Object { "Fn::Contains": Array [ Array [ "1", "2", "3", "4", "5", ], Object { "Ref": "BootstrapVersion", }, ], }, ], }, "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI.", }, ], }, }, } `; exports[`snapshot test: no alarms 1`] = ` Object { "Parameters": Object { "BootstrapVersion": Object { "Default": "/cdk-bootstrap/hnb659fds/version", "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", "Type": "AWS::SSM::Parameter::Value", }, }, "Resources": Object { "Alarm7103F465": Object { "Properties": Object { "DashboardBody": "{\\"widgets\\":[]}", }, "Type": "AWS::CloudWatch::Dashboard", }, "Resource": Object { "Properties": Object { "DashboardBody": Object { "Fn::Join": Array [ "", Array [ "{\\"widgets\\":[{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":0,\\"properties\\":{\\"markdown\\":\\"### API Gateway V2 HTTP Endpoint **Dummy API Gateway for testing**\\"}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":5,\\"x\\":0,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"TPS\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[{\\"label\\":\\"TPS\\",\\"expression\\":\\"requests / PERIOD(requests)\\"}],[\\"AWS/ApiGateway\\",\\"Count\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"Invocations\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"requests\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":5,\\"x\\":6,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Latency\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P50 (avg: \${AVG})\\",\\"stat\\":\\"p50\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P50 (avg: \${AVG})\\",\\"stat\\":\\"p50\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P90 (avg: \${AVG})\\",\\"stat\\":\\"p90\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P90 (avg: \${AVG})\\",\\"stat\\":\\"p90\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99 (avg: \${AVG})\\",\\"stat\\":\\"p99\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99 (avg: \${AVG})\\",\\"stat\\":\\"p99\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"ms\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":5,\\"x\\":12,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Errors\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[\\"AWS/ApiGateway\\",\\"4xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"4xx\\",\\"stat\\":\\"Sum\\"}],[\\"AWS/ApiGateway\\",\\"5xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"5xx\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":5,\\"x\\":18,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Errors (rate)\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[\\"AWS/ApiGateway\\",\\"4xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"4xx (avg)\\"}],[\\"AWS/ApiGateway\\",\\"5xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"5xx (avg)\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", ], ], }, }, "Type": "AWS::CloudWatch::Dashboard", }, "Summary68521F81": Object { "Properties": Object { "DashboardBody": Object { "Fn::Join": Array [ "", Array [ "{\\"widgets\\":[{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":0,\\"properties\\":{\\"markdown\\":\\"### API Gateway V2 HTTP Endpoint **Dummy API Gateway for testing**\\"}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":0,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"TPS\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[{\\"label\\":\\"TPS\\",\\"expression\\":\\"requests / PERIOD(requests)\\"}],[\\"AWS/ApiGateway\\",\\"Count\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"Invocations\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"requests\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":8,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Latency\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P50 (avg: \${AVG})\\",\\"stat\\":\\"p50\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P50 (avg: \${AVG})\\",\\"stat\\":\\"p50\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P90 (avg: \${AVG})\\",\\"stat\\":\\"p90\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P90 (avg: \${AVG})\\",\\"stat\\":\\"p90\\"}],[\\"AWS/ApiGateway\\",\\"Latency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99 (avg: \${AVG})\\",\\"stat\\":\\"p99\\"}],[\\"AWS/ApiGateway\\",\\"IntegrationLatency\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"P99 (avg: \${AVG})\\",\\"stat\\":\\"p99\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"ms\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":16,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Errors (rate)\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, "\\",\\"metrics\\":[[\\"AWS/ApiGateway\\",\\"4xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"4xx (avg)\\"}],[\\"AWS/ApiGateway\\",\\"5xx\\",\\"ApiId\\",\\"", Object { "Ref": "testHttpApiC57B300F", }, "\\",\\"Stage\\",\\"$default\\",{\\"label\\":\\"5xx (avg)\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", ], ], }, }, "Type": "AWS::CloudWatch::Dashboard", }, "testHttpApiC57B300F": Object { "Properties": Object { "Name": "testHttpApi", "ProtocolType": "HTTP", }, "Type": "AWS::ApiGatewayV2::Api", }, "testHttpApiDefaultStageBA851B68": Object { "Properties": Object { "ApiId": Object { "Ref": "testHttpApiC57B300F", }, "AutoDeploy": true, "StageName": "$default", }, "Type": "AWS::ApiGatewayV2::Stage", }, }, "Rules": Object { "CheckBootstrapVersion": Object { "Assertions": Array [ Object { "Assert": Object { "Fn::Not": Array [ Object { "Fn::Contains": Array [ Array [ "1", "2", "3", "4", "5", ], Object { "Ref": "BootstrapVersion", }, ], }, ], }, "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI.", }, ], }, }, } `;