Overview

A CloudWatch Alarm that triggers when the state of both VPN tunnels in an AWS VPN connection are down.

Configuration Templates

Items
2
Size
0.8 KB
AWSTemplateFormatVersion: '2010-09-09'
Description: ''
Resources:
  SnsTopic:
    Type: 'AWS::SNS::Topic'
    Properties:
      Subscription:
        - Endpoint: email@example.com
          Protocol: email
      TopicName: alarm-action
  CloudWatchAlarm:
    Type: 'AWS::CloudWatch::Alarm'
    Properties:
      AlarmName: vpnstate_alarm
      AlarmDescription: >-
        A CloudWatch Alarm that triggers when the state of both VPN tunnels in
        an AWS VPN connection are down.
      MetricName: TunnelState
      Namespace: AWS/VPN
      Statistic: Maximum
      Period: '300'
      EvaluationPeriods: '1'
      Threshold: '0'
      ComparisonOperator: LessThanOrEqualToThreshold
      AlarmActions:
        - Ref: SnsTopic
      Dimensions:
        - Name: VpnId
          Value: ''
Parameters: {}
Metadata: {}
Conditions: {}

Actions



Customize Cf Template

Configure Action

Alarm Configuration

* Required field

Sources and Documentation

Configuration Source: AWS Documentation

Additional Documentation: