A Config rule that checks whether the compliance status of the Amazon EC2 Systems Manager association compliance is COMPLIANT or NON_COMPLIANT after the association execution on the instance. The rule is compliant if the field status is COMPLIANT.

 
Tags
Systems Manager
Items
1
Size
0.8 KB
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  ConfigRule:
    Type: 'AWS::Config::ConfigRule'
    Properties:
      ConfigRuleName: ec2-managedinstance-association-compliance-status-check
      Description: >-
        A Config rule that checks whether the compliance status of the Amazon
        EC2 Systems Manager association compliance is COMPLIANT or NON_COMPLIANT
        after the association execution on the instance. The rule is compliant
        if the field status is COMPLIANT.
      InputParameters: {}
      Scope:
        ComplianceResourceTypes:
          - 'AWS::SSM::AssociationCompliance'
      Source:
        Owner: AWS
        SourceIdentifier: EC2_MANAGEDINSTANCE_ASSOCIATION_COMPLIANCE_STATUS_CHECK
Parameters: {}
Metadata: {}
Conditions: {}

Customize Cf Template

Rule Parameters

No rule paramters
 
* Required field