Skip to content

Unable to switch on metric collections for autoscaling group #6453

@fogfish

Description

@fogfish
  1. ASG has a property MetricsCollection. It is off by default.
    https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-autoscaling-autoscalinggroup-autoscalinggroupname

  2. CfnAutoScalingGroupProps supports this property

  3. AutoScalingGroup class do not have any means to set this property up
    https://github.com/aws/aws-cdk/blob/v1.25.0/packages/@aws-cdk/aws-autoscaling/lib/auto-scaling-group.ts#L495

Environment

  • CLI Version : 1.25.0
  • Framework Version:
  • OS : MacOs
  • Language : TypeScript

This is 🐛 Bug Report

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-autoscalingRelated to Amazon EC2 Auto ScalingbugThis issue is a bug.effort/smallSmall work item – less than a day of effortgood first issueRelated to contributions. See CONTRIBUTING.mdin-progressThis issue is being actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions