forked from aws/aws-toolkit-azure-devops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vss-extension.json
440 lines (440 loc) · 17.3 KB
/
vss-extension.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
{
"manifestVersion": 1,
"id": "aws-vsts-tools",
"version": "1.1.8",
"name": "AWS Toolkit for Azure DevOps",
"scopes": ["vso.build", "vso.build_execute", "vso.release"],
"description": "Tasks for Amazon S3, AWS Elastic Beanstalk, AWS CodeDeploy, AWS Lambda and AWS CloudFormation and more, and running commands in the AWS Tools for Windows PowerShell module and the AWS CLI.",
"publisher": "unknown",
"public": false,
"icons": {
"default": "images/logo.png"
},
"content": {
"details": {
"path": "README.md"
},
"license": {
"path": "LICENSE"
}
},
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"tags": [
"AWS",
"S3",
"CloudFormation",
"AWS CLI",
"Lambda",
"Serverless",
"CodeDeploy",
"Elastic Beanstalk",
"SNS",
"SQS",
"AWSPowerShell",
"Elastic Container Registry",
"Systems Manager",
"Secrets Manager"
],
"links": {
"getstarted": {
"uri": "https://aws.amazon.com/vsts?referer=vsmarketplace"
},
"learn": {
"uri": "https://aws.amazon.com/vsts?referer=vsmarketplace"
},
"license": {
"uri": "https://github.com/aws/aws-vsts-tools/blob/master/LICENSE"
},
"support": {
"uri": "https://github.com/aws/aws-vsts-tools/issues"
}
},
"repository": {
"type": "git",
"uri": "https://github.com/aws/aws-vsts-tools"
},
"branding": {
"color": "rgb(220, 235, 252)",
"theme": "light"
},
"galleryFlags": [],
"screenshots": [
{
"path": "images/screenshot.png"
}
],
"files": [
{
"path": "images",
"addressable": true
},
{
"path": "Tasks/AWSCLI"
},
{
"path": "Tasks/AWSPowerShellModuleScript"
},
{
"path": "Tasks/AWSShellScript"
},
{
"path": "Tasks/BeanstalkCreateApplicationVersion"
},
{
"path": "Tasks/BeanstalkDeployApplication"
},
{
"path": "Tasks/CloudFormationCreateOrUpdateStack"
},
{
"path": "Tasks/CloudFormationDeleteStack"
},
{
"path": "Tasks/CloudFormationExecuteChangeSet"
},
{
"path": "Tasks/CodeDeployDeployApplication"
},
{
"path": "Tasks/ECRPullImage"
},
{
"path": "Tasks/ECRPushImage"
},
{
"path": "Tasks/LambdaDeployFunction"
},
{
"path": "Tasks/LambdaInvokeFunction"
},
{
"path": "Tasks/LambdaNETCoreDeploy"
},
{
"path": "Tasks/S3Download"
},
{
"path": "Tasks/S3Upload"
},
{
"path": "Tasks/SecretsManagerCreateOrUpdateSecret"
},
{
"path": "Tasks/SecretsManagerGetSecret"
},
{
"path": "Tasks/SendMessage"
},
{
"path": "Tasks/SystemsManagerGetParameter"
},
{
"path": "Tasks/SystemsManagerRunCommand"
},
{
"path": "Tasks/SystemsManagerSetParameter"
}
],
"categories": ["Azure Pipelines"],
"contributions": [
{
"id": "aws-credentials",
"description": "Credentials for tasks invoking AWS services",
"type": "ms.vss-endpoint.service-endpoint-type",
"targets": ["ms.vss-endpoint.endpoint-types"],
"properties": {
"name": "AWS",
"displayName": "AWS",
"url": {
"displayName": "Server Url",
"helpText": "AWS homepage.",
"value": "https://aws.amazon.com/",
"isVisible": "false"
},
"dataSources": [
{
"name": "AWS",
"endpointUrl": "{{endpoint.url}}api/projects/index",
"resultSelector": "jsonpath:$[*].nm"
}
],
"authenticationSchemes": [
{
"type": "ms.vss-endpoint.endpoint-auth-scheme-basic",
"inputDescriptors": [
{
"id": "username",
"name": "Access Key ID",
"description": "The AWS access key ID for signing programmatic requests.\nExample: AKIAIOSFODNN7EXAMPLE",
"inputMode": "textbox",
"isConfidential": false,
"validation": {
"isRequired": true,
"dataType": "string"
}
},
{
"id": "password",
"name": "Secret Access Key",
"description": "The AWS secret access key for signing programmatic requests.\nExample: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
"inputMode": "passwordbox",
"isConfidential": true,
"validation": {
"isRequired": true,
"dataType": "string"
}
},
{
"id": "sessionToken",
"name": "Session Token",
"description": "The AWS session token for signing programmatic requests.\nNote: Only use this if you have an external rotation mechanism)",
"inputMode": "passwordbox",
"isConfidential": true,
"validation": {
"isRequired": false,
"dataType": "string"
}
},
{
"id": "assumeRoleArn",
"name": "Role to Assume",
"description": "The Amazon Resource Name (ARN) of the role to assume.\nIf a role ARN is specified the access and secret keys configured in the endpoint will be used to generate temporary session credentials, scoped to the specified role, and used be used by the task.\nThe generated credentials for each AWS task will be valid for a default duration of 15 minutes. If your tasks need a longer duration (up to a maximum of one hour) set the variable 'aws.rolecredential.maxduration' on your build or release definition to the required duration (in seconds, minimum 900 and maximum 3600). Note that this setting will affect all tasks that use AWS endpoints configured to assume a role.",
"inputMode": "textbox",
"isConfidential": false,
"validation": {
"isRequired": false,
"dataType": "string"
}
},
{
"id": "roleSessionName",
"name": "Role Session Name",
"description": "Optional identifier for the assumed role session. If not specified the tasks will use a default name of 'aws-vsts-tools'.\nUse the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. In cross-account scenarios, the role session name is visible to, and can be logged by the account that owns the role. The role session name is also used in the ARN of the assumed role principal. This means that subsequent cross-account API requests using the temporary security credentials will expose the role session name to the external account in their CloudTrail logs.",
"inputMode": "textbox",
"isConfidential": false,
"validation": {
"isRequired": false,
"dataType": "string"
}
},
{
"id": "externalId",
"name": "External ID",
"description": "A unique identifier that is used by third parties when assuming roles in their customers' accounts, aka cross-account role access.",
"inputMode": "textbox",
"isConfidential": false,
"validation": {
"isRequired": false,
"dataType": "string"
}
}
]
}
],
"helpMarkDown": "<a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html?icmpid=docs_iam_console\" target=\"_blank\"><b>Learn More</b></a>"
}
},
{
"id": "AWSCLI",
"description": "Run an AWS CLI command against an AWS connection",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/AWSCLI"
}
},
{
"id": "AWSPowerShellModuleScript",
"description": "Run a PowerShell script that uses cmdlets from the AWS Tools for Windows PowerShell module.",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/AWSPowerShellModuleScript"
}
},
{
"id": "AWSShellScript",
"description": "Run a shell script using Bash with AWS credentials.",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/AWSShellScript"
}
},
{
"id": "BeanstalkCreateApplicationVersion",
"description": "Create a new application version for later deployment to AWS Elastic Beanstalk",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/BeanstalkCreateApplicationVersion"
}
},
{
"id": "BeanstalkDeployApplication",
"description": "Deploy an application to AWS Elastic Beanstalk",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/BeanstalkDeployApplication"
}
},
{
"id": "CloudFormationCreateOrUpdateStack",
"description": "Create or update an AWS CloudFormation stack",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/CloudFormationCreateOrUpdateStack"
}
},
{
"id": "CloudFormationDeleteStack",
"description": "Deletes an AWS CloudFormation stack",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/CloudFormationDeleteStack"
}
},
{
"id": "CloudFormationExecuteChangeSet",
"description": "Executes an AWS CloudFormation change set",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/CloudFormationExecuteChangeSet"
}
},
{
"id": "CodeDeployDeployApplication",
"description": "Deploy an application to Amazon EC2 instances using AWS CodeDeploy",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/CodeDeployDeployApplication"
}
},
{
"id": "ECRPullImage",
"description": "Pull an Elastic Container Registry image",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/ECRPullImage"
}
},
{
"id": "ECRPushImage",
"description": "Push a local Docker image to Elastic Container Registry",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/ECRPushImage"
}
},
{
"id": "LambdaDeployFunction",
"description": "General purpose deployment for AWS Lambda functions",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/LambdaDeployFunction"
}
},
{
"id": "LambdaInvokeFunction",
"description": "Invokes an AWS Lambda function with a JSON payload",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/LambdaInvokeFunction"
}
},
{
"id": "LambdaNETCoreDeploy",
"description": "Build and deploy a .NET Core AWS Lambda function",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/LambdaNETCoreDeploy"
}
},
{
"id": "S3Download",
"description": "Download files from an Amazon Simple Storage Service (S3) Bucket",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/S3Download"
}
},
{
"id": "S3Upload",
"description": "Upload files to an Amazon Simple Storage Service (S3) Bucket",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/S3Upload"
}
},
{
"id": "SecretsManagerCreateOrUpdateSecret",
"description": "Updates a secret, optionally creating a secret if it does not exist",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/SecretsManagerCreateOrUpdateSecret"
}
},
{
"id": "SecretsManagerGetSecret",
"description": "Stores the value of a secret in AWS Secrets Manager into a secret build variable",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/SecretsManagerGetSecret"
}
},
{
"id": "SendMessage",
"description": "Sends a message to an SNS topic or SQS queue",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/SendMessage"
}
},
{
"id": "SystemsManagerGetParameter",
"description": "Read one or more Systems Manager Parameter Store values into build variables",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/SystemsManagerGetParameter"
}
},
{
"id": "SystemsManagerRunCommand",
"description": "Run a command remotely on a fleet of EC2 instances and/or on-premise machines",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/SystemsManagerRunCommand"
}
},
{
"id": "SystemsManagerSetParameter",
"description": "Creates or updates a parameter value in the Systems Manager Parameter Store.",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
"name": "Tasks/SystemsManagerSetParameter"
}
}
]
}