// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`snapshot test: all actions 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 { "DummyAlarm234203A9": Object { "Properties": Object { "AlarmActions": Array [ Object { "Ref": "DummyTopic75B5E033", }, ], "ComparisonOperator": "GreaterThanOrEqualToThreshold", "EvaluationPeriods": 1, "InsufficientDataActions": Array [ Object { "Ref": "DummyInsufficientDataTopic5C2BB5B5", }, ], "MetricName": "Dummy", "Namespace": "Dummy", "OKActions": Array [ Object { "Ref": "DummyOkTopicD5349398", }, ], "Period": 300, "Statistic": "Average", "Threshold": 0, }, "Type": "AWS::CloudWatch::Alarm", }, "DummyInsufficientDataTopic5C2BB5B5": Object { "Type": "AWS::SNS::Topic", }, "DummyOkTopicD5349398": Object { "Type": "AWS::SNS::Topic", }, "DummyTopic75B5E033": Object { "Type": "AWS::SNS::Topic", }, }, "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: default action only 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 { "DummyAlarm234203A9": Object { "Properties": Object { "AlarmActions": Array [ Object { "Ref": "DummyTopic75B5E033", }, ], "ComparisonOperator": "GreaterThanOrEqualToThreshold", "EvaluationPeriods": 1, "MetricName": "Dummy", "Namespace": "Dummy", "Period": 300, "Statistic": "Average", "Threshold": 0, }, "Type": "AWS::CloudWatch::Alarm", }, "DummyTopic75B5E033": Object { "Type": "AWS::SNS::Topic", }, }, "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.", }, ], }, }, } `;