New! Security Assessments

Overview

A Config rule that checks whether there are instances stopped for more than the allowed number of days. The instance is NON_COMPLIANT if the state of the ec2 instance has been stopped for longer than the allowed number of days.

Configuration Templates

Items
1
Size
0.7 KB
AWSTemplateFormatVersion: '2010-09-09'
Description: ''
Resources:
  ConfigRule:
    Type: 'AWS::Config::ConfigRule'
    Properties:
      ConfigRuleName: ec2-stopped-instance
      Description: >-
        A Config rule that checks whether there are instances stopped for more
        than the allowed number of days. The instance is NON_COMPLIANT if the
        state of the ec2 instance has been stopped for longer than the allowed
        number of days.
      Scope:
        ComplianceResourceTypes: []
      InputParameters:
        AllowedDays: '30'
      Source:
        Owner: AWS
        SourceIdentifier: EC2_STOPPED_INSTANCE
      MaximumExecutionFrequency: TwentyFour_Hours
Parameters: {}
Metadata: {}
Conditions: {}

Actions



Customize Template

Rule Parameters

 
* Required field

Sources and Documentation

Configuration Source: AWS Documentation

Additional Documentation:

© 2020 asecurecloud Inc. All Rights Reserved.