Skip to content

Commit 340c509

Browse files
chefrenaws-scripting-guy
authored andcommitted
1 parent eb106b2 commit 340c509

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

snippets/snippets.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{
2+
"autoscaling-group-scheduledaction": {
3+
"prefix": "autoscaling-group-scheduledaction",
4+
"body": "\r\n\"${1:-}\" : {\r\n \"Type\" : \"AWS::AutoScaling::ScheduledAction\",\r\n \"Properties\" : {\r\n \"AutoScalingGroupName\" : \"${2}\",\r\n \"MaxSize\" : ${3:1},\r\n \"MinSize\" : ${4:0},\r\n \"DesiredCapacity\" : ${5:1},\r\n \"Recurrence\" : \"${6}\"}\r\n}\r\n",
5+
"description": "Specifies a scheduled scaling action for an Amazon EC2 Auto Scaling group, changing the number of servers available for your application in response to predictable load changes.",
6+
"scope": "source.cloudformation"
7+
},
28
"autoscaling-group-vpc": {
39
"prefix": "autoscaling-group-vpc",
410
"body": "\r\n\"${1:-}\" : {\r\n \"Type\" : \"AWS::AutoScaling::AutoScalingGroup\",\r\n \"Properties\" : {\r\n \"AvailabilityZones\" : [\r\n ${2:azs}\r\n ],\r\n \"LaunchConfigurationName\" : ${3:\"-\"},\r\n \"MaxSize\" : \"${4:-}\",\r\n \"MinSize\" : \"${5:-}\",\r\n \"VPCZoneIdentifier\" : [ ${6:list of subnet ids} ],\r\n \"Tags\" : [ {\"Key\" : \"Name\",\r\n \"Value\" : \"${7:-}\",\r\n \"PropagateAtLaunch\" : \"True\"} \r\n ]\r\n }\r\n}\r\n",

snippets/yaml-snippets.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
2-
2+
"autoscaling-group-scheduledaction": {
3+
"prefix": "autoscaling-group-scheduledaction",
4+
"body": [
5+
"${1:myAutoscalingGroup}: ",
6+
" Type: AWS::AutoScaling::AutoScalingGroup",
7+
" Properties:",
8+
" AutoScalingGroupName: ${2:asg}",
9+
" MaxSize: ${3:1}",
10+
" MinSize: ${4:0}",
11+
" DesiredCapacity: ${5:1}",
12+
" Recurrence: ${6}"
13+
],
14+
"description": "Specifies a scheduled scaling action for an Amazon EC2 Auto Scaling group, changing the number of servers available for your application in response to predictable load changes.",
15+
"scope": "source.cloudformation"
16+
},
317
"autoscaling-group-vpc": {
418
"prefix": "autoscaling-group-vpc",
519
"body": [

0 commit comments

Comments
 (0)