Skip to content

Commit f564ef0

Browse files
author
AWS Scripting Guy
committed
vpn-gateway and codepipeline complete snippets
1 parent 3673679 commit f564ef0

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

snippets/yaml-snippets.json

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,5 +586,84 @@
586586
" - Key: ${4:keyname}",
587587
" Value: ${5:value}"
588588
]
589+
},
590+
"vpn-gateway": {
591+
"prefix": "vpn-gateway",
592+
"body": [
593+
"${1:vgwName}:",
594+
" Type: AWS::EC2::VPNGateway",
595+
" Properties:",
596+
" Type: ipsec.1",
597+
" Tags:",
598+
" - Key: ${2:keyname}",
599+
" Value: ${3:value}",
600+
"${4:AttachVpnGateway}:",
601+
" Type: AWS::EC2::VPCGatewayAttachment",
602+
" Properties:",
603+
" VpcId: ${4:vpc-id}",
604+
" VpnGatewayId: !Ref ${1:vgwName}"
605+
],
606+
"description": "",
607+
"scope": "source.cloudformation"
608+
},
609+
"code-pipeline": {
610+
"prefix": "code-pipeline",
611+
"body": [
612+
"${1:codepipeline}:",
613+
" Type: AWS::CodePipeline::Pipeline",
614+
" Properties:",
615+
" Name: ${2:name}",
616+
" RoleArn: ${3}",
617+
" ArtifactStore:",
618+
" Type: S3",
619+
" Location: ${4}",
620+
" Stages: ${5}",
621+
" - ",
622+
" Name: ${6:name}",
623+
" Actions:",
624+
" - ${7:actions}",
625+
" Blockers:",
626+
" - ${8:blockers}",
627+
" RestartExecutionOnUpdate: ${9:true | false}",
628+
" DisableInboundStageTransitions: ${10}"
629+
],
630+
"description": "",
631+
"scope": "json"
632+
},
633+
"code-pipeline-stage": {
634+
"prefix": "code-pipeline-stage",
635+
"body": [
636+
"Name: ${1:name}",
637+
"Actions:",
638+
" - ${2:actions}",
639+
"Blockers:",
640+
" - ${3:blockers}"
641+
],
642+
"description": "",
643+
"scope": "json"
644+
},
645+
"code-pipeline-action": {
646+
"prefix": "code-pipeline-action",
647+
"body": [
648+
"Name: ${1:\"actionName\"}",
649+
"ActionTypeId:",
650+
" Category: ${2:Source | Build | Deploy | Test | Invoke | Approval}",
651+
" Owner: ${3:AWS | ThirdParty | Custom}",
652+
" Provider: ${4:S3|CodeCommit|GitHub|CloudFormation|CodeBuild|CodeDeploy|ElasticBeanstalk|Lambda|ECS|jenkinsProviderName}",
653+
" Version: \"1\"",
654+
"Configuration:",
655+
" ${5:key: value}",
656+
"InputArtifacts:",
657+
" - ",
658+
" ${6:inputartifact}",
659+
"OutputArtifacts:",
660+
" - ",
661+
" ${7:outputartifact}",
662+
"RoleArn: ${8:\"\"}",
663+
"RunOrder: ${9:1|2|3|4}"
664+
],
665+
"description": "",
666+
"scope": "json"
589667
}
668+
590669
}

0 commit comments

Comments
 (0)