Skip to content

Instantly share code, notes, and snippets.

@gezza-b
Last active April 26, 2020 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gezza-b/5c2ca6b02e00205dc0be9e4c3567ad49 to your computer and use it in GitHub Desktop.
Save gezza-b/5c2ca6b02e00205dc0be9e4c3567ad49 to your computer and use it in GitHub Desktop.
AWS Config - Remediation Configuration - part 1
Ec2ApprovedAmiRemediation:
Type: AWS::Config::RemediationConfiguration
Properties:
Automatic: true
ConfigRuleName: !Ref Ec2ApprovedAmiRule
Parameters:
AutomationAssumeRole:
StaticValue:
Values:
- !Sub 'arn:aws:iam::${AWS::AccountId}:role/aws-service-role/config.amazonaws.com/AWSServiceRoleForConfig'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment