Skip to content

Commit fa5ce7c

Browse files
author
AWS Scripting Guy
committed
rds complete snippets
1 parent 3573538 commit fa5ce7c

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed

snippets/yaml-snippets.json

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,93 @@
166166
"description": "",
167167
"scope": "source.cloudformation"
168168
},
169+
"rds-dbparametergroup": {
170+
"prefix": "rds-dbparametergroup",
171+
"body": [
172+
"${1:rdsDBParameterGroup}:",
173+
" Type: AWS::RDS::DBParameterGroup",
174+
" Properties:",
175+
" Description: ${2}",
176+
" Family: ${3}",
177+
" Parameters:",
178+
" ${4:key1}: ${5:value1}",
179+
" ${6:key2}: ${7:value2}",
180+
" Tags:",
181+
" - Key: ${8:keyname}",
182+
" Value: ${9:value}"
183+
],
184+
"description": "",
185+
"scope": "source.cloudformation"
186+
},
187+
"rds-dbsecuritygroup": {
188+
"prefix": "rds-dbsecuritygroup",
189+
"body": [
190+
"${1:rdsDBSecurityGroup}:",
191+
" Type: AWS::RDS::DBSecurityGroup",
192+
" Properties:",
193+
" EC2VpcId: ${2}",
194+
" GroupDescription: ${3}",
195+
" DBSecurityGroupIngress:",
196+
" - ",
197+
" CIDRIP: ${4:--.--.--.--/--}",
198+
" DBSecurityGroupName: ${5}",
199+
" EC2SecurityGroupId: ${6}",
200+
" EC2SecurityGroupName: ${7}",
201+
" EC2SecurityGroupOwnerId: ${8}",
202+
" - ",
203+
" ${9: RDS Security Group Rule}",
204+
" Tags:",
205+
" - Key: ${10:keyname}",
206+
" Value: ${11:value}"
207+
],
208+
"description": "",
209+
"scope": "source.cloudformation"
210+
},
211+
"rds-dbsecuritygroupingress": {
212+
"prefix": "rds-dbsecuritygroupingress",
213+
"body": [
214+
"CIDRIP: ${1:--.--.--.--/--}",
215+
"DBSecurityGroupName: ${2}",
216+
"EC2SecurityGroupId: ${3}",
217+
"EC2SecurityGroupName: ${4}",
218+
"EC2SecurityGroupOwnerId: ${5}"
219+
],
220+
"description": "",
221+
"scope": "source.cloudformation"
222+
},
223+
"rds-dbsubnetgroup": {
224+
"prefix": "rds-dbsubnetgroup",
225+
"body": [
226+
"${1:rdsDBSubnetGroup}:",
227+
" Type: AWS::RDS::DBSubnetGroup",
228+
" Properties:",
229+
" DBSubnetGroupDescription: ${2}",
230+
" SubnetIds:",
231+
" - ${3:subnet-id}",
232+
" Tags:",
233+
" - Key: ${4:keyname}",
234+
" Value: ${5:value}"
235+
],
236+
"description": "",
237+
"scope": "source.cloudformation"
238+
},
239+
"rds-eventsubscription": {
240+
"prefix": "rds-eventsubscription",
241+
"body": [
242+
"${1:rdsEventSubscription}:",
243+
"Type: AWS::RDS::EventSubscription",
244+
"Properties:",
245+
" Enabled: ${2:true | false}",
246+
" EventCategories:",
247+
" - ${3:event-category}",
248+
" SnsTopicArn: ${4}",
249+
" SourceIds:",
250+
" - ${5:source-id}",
251+
" SourceType: ${6}"
252+
],
253+
"description": "",
254+
"scope": "source.cloudformation"
255+
},
169256
"start": {
170257
"prefix": "start",
171258
"body": [

0 commit comments

Comments
 (0)