|
1 | 1 | {
|
2 |
| - |
3 | 2 | "autoscaling-group-vpc": {
|
4 | 3 | "prefix": "autoscaling-group-vpc",
|
5 | 4 | "body": [
|
|
511 | 510 | " LaunchTemplateData: ${3}"
|
512 | 511 | ]
|
513 | 512 | },
|
| 513 | + "logs-loggroup": { |
| 514 | + "prefix": "logs-loggroup", |
| 515 | + "body": [ |
| 516 | + "${1:logLogGroup}:", |
| 517 | + " Type: AWS::Logs::LogGroup", |
| 518 | + " Properties:", |
| 519 | + " RetentionInDays: ${2}", |
| 520 | + " LogGroupName: ${3}" |
| 521 | + ], |
| 522 | + "description": "", |
| 523 | + "scope": "source.cloudformation" |
| 524 | + }, |
| 525 | + "logs-metricfilter": { |
| 526 | + "prefix": "logs-metricfilter", |
| 527 | + "body": [ |
| 528 | + "${1:logsMetricFilter}:", |
| 529 | + " Type: AWS::Logs::MetricFilter", |
| 530 | + " Properties:", |
| 531 | + " FilterPattern: ${2} # Example: [..., request=*.html*, status_code=4*,]", |
| 532 | + " LogGroupName: ${3}", |
| 533 | + " MetricTransformations:", |
| 534 | + " - ", |
| 535 | + " MetricValue: ${4} # Example: \"1\"", |
| 536 | + " MetricNamespace: ${5} # Example: \"WebServer/404s\"", |
| 537 | + " MetricName: ${6} # Example: \"404Count\"" |
| 538 | + ], |
| 539 | + "description": "", |
| 540 | + "scope": "source.cloudformation" |
| 541 | + }, |
514 | 542 | "rds-dbinstance": {
|
515 | 543 | "prefix": "rds-dbinstance",
|
516 | 544 | "body": [
|
|
1178 | 1206 | "description": "",
|
1179 | 1207 | "scope": "source.cloudformation"
|
1180 | 1208 | },
|
| 1209 | + "security-group-egress-cidr": { |
| 1210 | + "prefix": "security-group-egress-cidr", |
| 1211 | + "body": [ |
| 1212 | + "IpProtocol: ${1:[tcp|udp|ip]}", |
| 1213 | + "FromPort: ${2}", |
| 1214 | + "ToPort: ${3}", |
| 1215 | + "CidrIp: ${4:--.--.--.--/--}" |
| 1216 | + ], |
| 1217 | + "description": "", |
| 1218 | + "scope": "source.cloudformation" |
| 1219 | + }, |
| 1220 | + "security-group-ingress-cidr": { |
| 1221 | + "prefix": "security-group-ingress-cidr", |
| 1222 | + "body": [ |
| 1223 | + "IpProtocol: ${1:[tcp|udp|ip]}", |
| 1224 | + "FromPort: ${2}", |
| 1225 | + "ToPort: ${3}", |
| 1226 | + "CidrIp: ${4:--.--.--.--/--}" |
| 1227 | + ], |
| 1228 | + "description": "", |
| 1229 | + "scope": "source.cloudformation" |
| 1230 | + }, |
1181 | 1231 | "subnet": {
|
1182 | 1232 | "prefix": "subnet",
|
1183 | 1233 | "body": [
|
|
0 commit comments