Skip to content

Commit 4cc0278

Browse files
Merge pull request #9 from dbahlbeck/master
Add code-pipeline snippets
2 parents 9500a0b + cbbffc5 commit 4cc0278

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

snippets/snippets.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,5 +684,22 @@
684684
"body": "\r\n\"${1:vgwName}\": {\r\n \"Type\": \"AWS::EC2::VPNGateway\",\r\n \"Properties\": {\r\n \"Type\": \"ipsec.1\",\r\n \"Tags\": [${2:\"--\"}]\r\n }\r\n},\r\n\"AttachVpnGateway\": {\r\n \"Type\": \"AWS::EC2::VPCGatewayAttachment\",\r\n \"Properties\": {\r\n \"VpcId\": ${3:\"--\"},\r\n \"VpnGatewayId\": { \"Ref\": \"${4:vgwName}\" }\r\n }\r\n}\r\n",
685685
"description": "",
686686
"scope": "source.cloudformation"
687+
},
688+
"code-pipeline": {
689+
"prefix": "code-pipeline",
690+
"body": "\r\n\"${1:codepipeline}\": {\r\n \"Type\" : \"AWS::CodePipeline::Pipeline\",\r\n \"Properties\" : {\r\n \"ArtifactStore\": {\r\n \"Type\": \"S3\",\r\n \"Location\": { \"Ref\" : \"s3Bucket\" }\r\n },\r\n \"DisableInboundStageTransitions\" : [ ],\r\n \"Name\" : \"${3:name}\",\r\n \"RestartExecutionOnUpdate\" : ${4:true | false},\r\n \"RoleArn\" : \"${roleArn}\",\r\n \"Stages\" : [ ]\r\n }\r\n}", "description": "",
691+
"scope": "json"
692+
},
693+
"code-pipeline-stage": {
694+
"prefix": "code-pipeline-stage",
695+
"body": "{\r\n \"Name\": \"${1:Source}\",\r\n \"Actions\": [\r\n ]\r\n}",
696+
"description": "",
697+
"scope": "json"
698+
},
699+
"code-pipeline-action": {
700+
"prefix": "code-pipeline-action",
701+
"body": "{\r\n \"ActionTypeId\" : {\r\n \"Category\": \"${1:Source | Build | Deploy | Test | Invoke | Approval}\",\r\n \"Owner\": \"${2:AWS | ThirdParty | Custom}\",\r\n \"Version\": \"1\",\r\n \"Provider\": \"${3:S3|CodeCommit|GitHub|CloudFormation|CodeBuild|CodeDeploy|ElasticBeanstalk|Lambda|ECS|jenkinsProviderName}\"\r\n },\r\n \"Configuration\" : { \"key\" : \"value\" },\r\n \"InputArtifacts\" : [ ],\r\n \"Name\" : \"${4:actionName}\",\r\n \"OutputArtifacts\" : [ ],\r\n \"RoleArn\" : \"\",\r\n \"RunOrder\" : ${5:1|2|3|4}\r\n}",
702+
"description": "",
703+
"scope": "json"
687704
}
688705
}

0 commit comments

Comments
 (0)