This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws autoscaling put-scaling-policy \ | |
--auto-scaling-group-name ASG_NAME \ | |
--policy-name target-tracking \ | |
--policy-type TargetTrackingScaling \ | |
--target-tracking-configuration file://target-tracking-configuration.json \ | |
--estimated-instance-warmup 300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Resources: | |
Api: | |
Type: 'AWS::ApiGatewayV2::Api' | |
Properties: | |
Name: !Ref 'AWS::StackName' | |
ProtocolType: WEBSOCKET | |
RouteSelectionExpression: '\$default' | |
DefaultRoute: | |
Type: 'AWS::ApiGatewayV2::Route' |