Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sk-t3ch/89647a83e654783da20e1f42ebe87eae to your computer and use it in GitHub Desktop.
Save sk-t3ch/89647a83e654783da20e1f42ebe87eae to your computer and use it in GitHub Desktop.
Hello World Cluster CloudFormation - Auto Scaling Group CPU Scaling Policy
AutoScalingPolicy:
Type: AWS::AutoScaling::ScalingPolicy
Properties:
AutoScalingGroupName: !Ref AutoScalingGroup
PolicyType: TargetTrackingScaling
TargetTrackingConfiguration:
PredefinedMetricSpecification:
PredefinedMetricType: ASGAverageCPUUtilization
TargetValue: 70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment