@pulumi/aws 6.73.0-alpha.1742228199 → 6.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/cloudwatch/metricAlarm.d.ts +0 -1
  2. package/cloudwatch/metricAlarm.js +0 -1
  3. package/cloudwatch/metricAlarm.js.map +1 -1
  4. package/codebuild/project.d.ts +112 -36
  5. package/codebuild/project.js +33 -1
  6. package/codebuild/project.js.map +1 -1
  7. package/codebuild/sourceCredential.d.ts +41 -10
  8. package/codebuild/sourceCredential.js +17 -1
  9. package/codebuild/sourceCredential.js.map +1 -1
  10. package/ec2/index.d.ts +3 -0
  11. package/ec2/index.js +7 -2
  12. package/ec2/index.js.map +1 -1
  13. package/ec2/networkInterfacePermission.d.ts +118 -0
  14. package/ec2/networkInterfacePermission.js +99 -0
  15. package/ec2/networkInterfacePermission.js.map +1 -0
  16. package/ec2/vpcIpv4CidrBlockAssociation.d.ts +16 -2
  17. package/ec2/vpcIpv4CidrBlockAssociation.js +16 -2
  18. package/ec2/vpcIpv4CidrBlockAssociation.js.map +1 -1
  19. package/ec2/vpcIpv6CidrBlockAssociation.d.ts +16 -2
  20. package/ec2/vpcIpv6CidrBlockAssociation.js +16 -2
  21. package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -1
  22. package/package.json +2 -2
  23. package/route53/index.d.ts +3 -0
  24. package/route53/index.js +7 -2
  25. package/route53/index.js.map +1 -1
  26. package/route53/recordsExclusive.d.ts +83 -0
  27. package/route53/recordsExclusive.js +65 -0
  28. package/route53/recordsExclusive.js.map +1 -0
  29. package/timestreaminfluxdb/dbInstance.d.ts +48 -20
  30. package/timestreaminfluxdb/dbInstance.js +10 -2
  31. package/timestreaminfluxdb/dbInstance.js.map +1 -1
  32. package/types/input.d.ts +346 -49
  33. package/types/input.js.map +1 -1
  34. package/types/output.d.ts +346 -49
  35. package/types/output.js.map +1 -1
  36. package/wafv2/ipSet.d.ts +15 -3
  37. package/wafv2/ipSet.js +2 -0
  38. package/wafv2/ipSet.js.map +1 -1
  39. package/wafv2/regexPatternSet.d.ts +15 -3
  40. package/wafv2/regexPatternSet.js +2 -0
  41. package/wafv2/regexPatternSet.js.map +1 -1
  42. package/wafv2/webAcl.d.ts +15 -3
  43. package/wafv2/webAcl.js +2 -0
  44. package/wafv2/webAcl.js.map +1 -1
@@ -121,7 +121,6 @@ import { Topic } from "../sns";
121
121
  * id: "e1",
122
122
  * expression: "ANOMALY_DETECTION_BAND(m1)",
123
123
  * label: "CPUUtilization (Expected)",
124
- * returnData: true,
125
124
  * },
126
125
  * {
127
126
  * id: "m1",
@@ -124,7 +124,6 @@ const utilities = require("../utilities");
124
124
  * id: "e1",
125
125
  * expression: "ANOMALY_DETECTION_BAND(m1)",
126
126
  * label: "CPUUtilization (Expected)",
127
- * returnData: true,
128
127
  * },
129
128
  * {
130
129
  * id: "m1",
@@ -1 +1 @@
1
- {"version":3,"file":"metricAlarm.js","sourceRoot":"","sources":["../../cloudwatch/metricAlarm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+KG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,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AW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAhNL,kCAiNC;AAnMG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
@@ -2,7 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * Provides a CodeBuild Project resource. See also the `aws.codebuild.Webhook` resource, which manages the webhook to the source (e.g., the "rebuild every time a code change is pushed" option in the CodeBuild web console).
5
+ * Provides a CodeBuild Project resource. See also the
6
+ * `aws.codebuild.Webhook` resource, which manages the webhook to the
7
+ * source (e.g., the "rebuild every time a code change is pushed" option in the CodeBuild web console).
6
8
  *
7
9
  * ## Example Usage
8
10
  *
@@ -81,6 +83,14 @@ import * as outputs from "../types/output";
81
83
  * `${exampleBucketV2Arn1}/*`,
82
84
  * ],
83
85
  * },
86
+ * {
87
+ * effect: "Allow",
88
+ * actions: [
89
+ * "codeconnections:GetConnectionToken",
90
+ * "codeconnections:GetConnection",
91
+ * ],
92
+ * resources: ["arn:aws:codestar-connections:us-east-1:123456789012:connection/guid-string"],
93
+ * },
84
94
  * ],
85
95
  * }));
86
96
  * const exampleRolePolicy = new aws.iam.RolePolicy("example", {
@@ -185,6 +195,28 @@ import * as outputs from "../types/output";
185
195
  * Environment: "Test",
186
196
  * },
187
197
  * });
198
+ * const project_using_github_app = new aws.codebuild.Project("project-using-github-app", {
199
+ * name: "project-using-github-app",
200
+ * description: "gets_source_from_github_via_the_github_app",
201
+ * serviceRole: exampleRole.arn,
202
+ * artifacts: {
203
+ * type: "NO_ARTIFACTS",
204
+ * },
205
+ * environment: {
206
+ * computeType: "BUILD_GENERAL1_SMALL",
207
+ * image: "aws/codebuild/amazonlinux2-x86_64-standard:4.0",
208
+ * type: "LINUX_CONTAINER",
209
+ * imagePullCredentialsType: "CODEBUILD",
210
+ * },
211
+ * source: {
212
+ * type: "GITHUB",
213
+ * location: "https://github.com/example/example.git",
214
+ * auth: {
215
+ * type: "CODECONNECTIONS",
216
+ * resource: "arn:aws:codestar-connections:us-east-1:123456789012:connection/guid-string",
217
+ * },
218
+ * },
219
+ * });
188
220
  * ```
189
221
  *
190
222
  * ## Import
@@ -220,7 +252,8 @@ export declare class Project extends pulumi.CustomResource {
220
252
  */
221
253
  readonly artifacts: pulumi.Output<outputs.codebuild.ProjectArtifacts>;
222
254
  /**
223
- * Generates a publicly-accessible URL for the projects build badge. Available as `badgeUrl` attribute when enabled.
255
+ * Generates a publicly-accessible URL for the projects build badge. Available as
256
+ * `badgeUrl` attribute when enabled.
224
257
  */
225
258
  readonly badgeEnabled: pulumi.Output<boolean | undefined>;
226
259
  /**
@@ -232,7 +265,9 @@ export declare class Project extends pulumi.CustomResource {
232
265
  */
233
266
  readonly buildBatchConfig: pulumi.Output<outputs.codebuild.ProjectBuildBatchConfig | undefined>;
234
267
  /**
235
- * Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is not available on the `Lambda` compute type.
268
+ * Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out
269
+ * any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is
270
+ * not available on the `Lambda` compute type.
236
271
  */
237
272
  readonly buildTimeout: pulumi.Output<number | undefined>;
238
273
  /**
@@ -240,7 +275,8 @@ export declare class Project extends pulumi.CustomResource {
240
275
  */
241
276
  readonly cache: pulumi.Output<outputs.codebuild.ProjectCache | undefined>;
242
277
  /**
243
- * Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
278
+ * Specify a maximum number of concurrent builds for the project. The value
279
+ * specified must be greater than 0 and less than the account concurrent running builds limit.
244
280
  */
245
281
  readonly concurrentBuildLimit: pulumi.Output<number | undefined>;
246
282
  /**
@@ -248,7 +284,8 @@ export declare class Project extends pulumi.CustomResource {
248
284
  */
249
285
  readonly description: pulumi.Output<string>;
250
286
  /**
251
- * AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
287
+ * AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting
288
+ * the build project's build output artifacts.
252
289
  */
253
290
  readonly encryptionKey: pulumi.Output<string>;
254
291
  /**
@@ -256,7 +293,8 @@ export declare class Project extends pulumi.CustomResource {
256
293
  */
257
294
  readonly environment: pulumi.Output<outputs.codebuild.ProjectEnvironment>;
258
295
  /**
259
- * A set of file system locations to mount inside the build. File system locations are documented below.
296
+ * A set of file system locations to mount inside the build. File system locations
297
+ * are documented below.
260
298
  */
261
299
  readonly fileSystemLocations: pulumi.Output<outputs.codebuild.ProjectFileSystemLocation[] | undefined>;
262
300
  /**
@@ -268,7 +306,8 @@ export declare class Project extends pulumi.CustomResource {
268
306
  */
269
307
  readonly name: pulumi.Output<string>;
270
308
  /**
271
- * Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
309
+ * Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ`
310
+ * and `PRIVATE`. Default value is `PRIVATE`.
272
311
  */
273
312
  readonly projectVisibility: pulumi.Output<string | undefined>;
274
313
  /**
@@ -276,11 +315,14 @@ export declare class Project extends pulumi.CustomResource {
276
315
  */
277
316
  readonly publicProjectAlias: pulumi.Output<string>;
278
317
  /**
279
- * Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
318
+ * Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it
319
+ * times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
280
320
  */
281
321
  readonly queuedTimeout: pulumi.Output<number | undefined>;
282
322
  /**
283
- * The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds in order to display them publicly. Only applicable if `projectVisibility` is `PUBLIC_READ`.
323
+ * The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and
324
+ * Amazon S3 artifacts for the project's builds in order to display them publicly. Only applicable if
325
+ * `projectVisibility` is `PUBLIC_READ`.
284
326
  */
285
327
  readonly resourceAccessRole: pulumi.Output<string | undefined>;
286
328
  /**
@@ -296,7 +338,8 @@ export declare class Project extends pulumi.CustomResource {
296
338
  */
297
339
  readonly secondarySources: pulumi.Output<outputs.codebuild.ProjectSecondarySource[] | undefined>;
298
340
  /**
299
- * Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
341
+ * Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
342
+ * enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
300
343
  */
301
344
  readonly serviceRole: pulumi.Output<string>;
302
345
  /**
@@ -306,17 +349,21 @@ export declare class Project extends pulumi.CustomResource {
306
349
  */
307
350
  readonly source: pulumi.Output<outputs.codebuild.ProjectSource>;
308
351
  /**
309
- * Version of the build input to be built for this project. If not specified, the latest version is used.
352
+ * Version of the build input to be built for this project. If not specified, the latest
353
+ * version is used.
310
354
  */
311
355
  readonly sourceVersion: pulumi.Output<string | undefined>;
312
356
  /**
313
- * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
357
+ * Map of tags to assign to the resource. If configured with a provider
358
+ * `defaultTags` configuration block
359
+ * present, tags with matching keys will overwrite those defined at the provider-level.
314
360
  */
315
361
  readonly tags: pulumi.Output<{
316
362
  [key: string]: string;
317
363
  } | undefined>;
318
364
  /**
319
- * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
365
+ * A map of tags assigned to the resource, including those inherited from the provider
366
+ * `defaultTags` configuration block.
320
367
  *
321
368
  * @deprecated Please use `tags` instead.
322
369
  */
@@ -349,7 +396,8 @@ export interface ProjectState {
349
396
  */
350
397
  artifacts?: pulumi.Input<inputs.codebuild.ProjectArtifacts>;
351
398
  /**
352
- * Generates a publicly-accessible URL for the projects build badge. Available as `badgeUrl` attribute when enabled.
399
+ * Generates a publicly-accessible URL for the projects build badge. Available as
400
+ * `badgeUrl` attribute when enabled.
353
401
  */
354
402
  badgeEnabled?: pulumi.Input<boolean>;
355
403
  /**
@@ -361,7 +409,9 @@ export interface ProjectState {
361
409
  */
362
410
  buildBatchConfig?: pulumi.Input<inputs.codebuild.ProjectBuildBatchConfig>;
363
411
  /**
364
- * Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is not available on the `Lambda` compute type.
412
+ * Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out
413
+ * any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is
414
+ * not available on the `Lambda` compute type.
365
415
  */
366
416
  buildTimeout?: pulumi.Input<number>;
367
417
  /**
@@ -369,7 +419,8 @@ export interface ProjectState {
369
419
  */
370
420
  cache?: pulumi.Input<inputs.codebuild.ProjectCache>;
371
421
  /**
372
- * Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
422
+ * Specify a maximum number of concurrent builds for the project. The value
423
+ * specified must be greater than 0 and less than the account concurrent running builds limit.
373
424
  */
374
425
  concurrentBuildLimit?: pulumi.Input<number>;
375
426
  /**
@@ -377,7 +428,8 @@ export interface ProjectState {
377
428
  */
378
429
  description?: pulumi.Input<string>;
379
430
  /**
380
- * AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
431
+ * AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting
432
+ * the build project's build output artifacts.
381
433
  */
382
434
  encryptionKey?: pulumi.Input<string>;
383
435
  /**
@@ -385,7 +437,8 @@ export interface ProjectState {
385
437
  */
386
438
  environment?: pulumi.Input<inputs.codebuild.ProjectEnvironment>;
387
439
  /**
388
- * A set of file system locations to mount inside the build. File system locations are documented below.
440
+ * A set of file system locations to mount inside the build. File system locations
441
+ * are documented below.
389
442
  */
390
443
  fileSystemLocations?: pulumi.Input<pulumi.Input<inputs.codebuild.ProjectFileSystemLocation>[]>;
391
444
  /**
@@ -397,7 +450,8 @@ export interface ProjectState {
397
450
  */
398
451
  name?: pulumi.Input<string>;
399
452
  /**
400
- * Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
453
+ * Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ`
454
+ * and `PRIVATE`. Default value is `PRIVATE`.
401
455
  */
402
456
  projectVisibility?: pulumi.Input<string>;
403
457
  /**
@@ -405,11 +459,14 @@ export interface ProjectState {
405
459
  */
406
460
  publicProjectAlias?: pulumi.Input<string>;
407
461
  /**
408
- * Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
462
+ * Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it
463
+ * times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
409
464
  */
410
465
  queuedTimeout?: pulumi.Input<number>;
411
466
  /**
412
- * The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds in order to display them publicly. Only applicable if `projectVisibility` is `PUBLIC_READ`.
467
+ * The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and
468
+ * Amazon S3 artifacts for the project's builds in order to display them publicly. Only applicable if
469
+ * `projectVisibility` is `PUBLIC_READ`.
413
470
  */
414
471
  resourceAccessRole?: pulumi.Input<string>;
415
472
  /**
@@ -425,7 +482,8 @@ export interface ProjectState {
425
482
  */
426
483
  secondarySources?: pulumi.Input<pulumi.Input<inputs.codebuild.ProjectSecondarySource>[]>;
427
484
  /**
428
- * Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
485
+ * Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
486
+ * enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
429
487
  */
430
488
  serviceRole?: pulumi.Input<string>;
431
489
  /**
@@ -435,17 +493,21 @@ export interface ProjectState {
435
493
  */
436
494
  source?: pulumi.Input<inputs.codebuild.ProjectSource>;
437
495
  /**
438
- * Version of the build input to be built for this project. If not specified, the latest version is used.
496
+ * Version of the build input to be built for this project. If not specified, the latest
497
+ * version is used.
439
498
  */
440
499
  sourceVersion?: pulumi.Input<string>;
441
500
  /**
442
- * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
501
+ * Map of tags to assign to the resource. If configured with a provider
502
+ * `defaultTags` configuration block
503
+ * present, tags with matching keys will overwrite those defined at the provider-level.
443
504
  */
444
505
  tags?: pulumi.Input<{
445
506
  [key: string]: pulumi.Input<string>;
446
507
  }>;
447
508
  /**
448
- * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
509
+ * A map of tags assigned to the resource, including those inherited from the provider
510
+ * `defaultTags` configuration block.
449
511
  *
450
512
  * @deprecated Please use `tags` instead.
451
513
  */
@@ -466,7 +528,8 @@ export interface ProjectArgs {
466
528
  */
467
529
  artifacts: pulumi.Input<inputs.codebuild.ProjectArtifacts>;
468
530
  /**
469
- * Generates a publicly-accessible URL for the projects build badge. Available as `badgeUrl` attribute when enabled.
531
+ * Generates a publicly-accessible URL for the projects build badge. Available as
532
+ * `badgeUrl` attribute when enabled.
470
533
  */
471
534
  badgeEnabled?: pulumi.Input<boolean>;
472
535
  /**
@@ -474,7 +537,9 @@ export interface ProjectArgs {
474
537
  */
475
538
  buildBatchConfig?: pulumi.Input<inputs.codebuild.ProjectBuildBatchConfig>;
476
539
  /**
477
- * Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is not available on the `Lambda` compute type.
540
+ * Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out
541
+ * any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is
542
+ * not available on the `Lambda` compute type.
478
543
  */
479
544
  buildTimeout?: pulumi.Input<number>;
480
545
  /**
@@ -482,7 +547,8 @@ export interface ProjectArgs {
482
547
  */
483
548
  cache?: pulumi.Input<inputs.codebuild.ProjectCache>;
484
549
  /**
485
- * Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
550
+ * Specify a maximum number of concurrent builds for the project. The value
551
+ * specified must be greater than 0 and less than the account concurrent running builds limit.
486
552
  */
487
553
  concurrentBuildLimit?: pulumi.Input<number>;
488
554
  /**
@@ -490,7 +556,8 @@ export interface ProjectArgs {
490
556
  */
491
557
  description?: pulumi.Input<string>;
492
558
  /**
493
- * AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
559
+ * AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting
560
+ * the build project's build output artifacts.
494
561
  */
495
562
  encryptionKey?: pulumi.Input<string>;
496
563
  /**
@@ -498,7 +565,8 @@ export interface ProjectArgs {
498
565
  */
499
566
  environment: pulumi.Input<inputs.codebuild.ProjectEnvironment>;
500
567
  /**
501
- * A set of file system locations to mount inside the build. File system locations are documented below.
568
+ * A set of file system locations to mount inside the build. File system locations
569
+ * are documented below.
502
570
  */
503
571
  fileSystemLocations?: pulumi.Input<pulumi.Input<inputs.codebuild.ProjectFileSystemLocation>[]>;
504
572
  /**
@@ -510,15 +578,19 @@ export interface ProjectArgs {
510
578
  */
511
579
  name?: pulumi.Input<string>;
512
580
  /**
513
- * Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
581
+ * Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ`
582
+ * and `PRIVATE`. Default value is `PRIVATE`.
514
583
  */
515
584
  projectVisibility?: pulumi.Input<string>;
516
585
  /**
517
- * Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
586
+ * Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it
587
+ * times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
518
588
  */
519
589
  queuedTimeout?: pulumi.Input<number>;
520
590
  /**
521
- * The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds in order to display them publicly. Only applicable if `projectVisibility` is `PUBLIC_READ`.
591
+ * The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and
592
+ * Amazon S3 artifacts for the project's builds in order to display them publicly. Only applicable if
593
+ * `projectVisibility` is `PUBLIC_READ`.
522
594
  */
523
595
  resourceAccessRole?: pulumi.Input<string>;
524
596
  /**
@@ -534,7 +606,8 @@ export interface ProjectArgs {
534
606
  */
535
607
  secondarySources?: pulumi.Input<pulumi.Input<inputs.codebuild.ProjectSecondarySource>[]>;
536
608
  /**
537
- * Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
609
+ * Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
610
+ * enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
538
611
  */
539
612
  serviceRole: pulumi.Input<string>;
540
613
  /**
@@ -544,11 +617,14 @@ export interface ProjectArgs {
544
617
  */
545
618
  source: pulumi.Input<inputs.codebuild.ProjectSource>;
546
619
  /**
547
- * Version of the build input to be built for this project. If not specified, the latest version is used.
620
+ * Version of the build input to be built for this project. If not specified, the latest
621
+ * version is used.
548
622
  */
549
623
  sourceVersion?: pulumi.Input<string>;
550
624
  /**
551
- * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
625
+ * Map of tags to assign to the resource. If configured with a provider
626
+ * `defaultTags` configuration block
627
+ * present, tags with matching keys will overwrite those defined at the provider-level.
552
628
  */
553
629
  tags?: pulumi.Input<{
554
630
  [key: string]: pulumi.Input<string>;
@@ -6,7 +6,9 @@ exports.Project = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Provides a CodeBuild Project resource. See also the `aws.codebuild.Webhook` resource, which manages the webhook to the source (e.g., the "rebuild every time a code change is pushed" option in the CodeBuild web console).
9
+ * Provides a CodeBuild Project resource. See also the
10
+ * `aws.codebuild.Webhook` resource, which manages the webhook to the
11
+ * source (e.g., the "rebuild every time a code change is pushed" option in the CodeBuild web console).
10
12
  *
11
13
  * ## Example Usage
12
14
  *
@@ -85,6 +87,14 @@ const utilities = require("../utilities");
85
87
  * `${exampleBucketV2Arn1}/*`,
86
88
  * ],
87
89
  * },
90
+ * {
91
+ * effect: "Allow",
92
+ * actions: [
93
+ * "codeconnections:GetConnectionToken",
94
+ * "codeconnections:GetConnection",
95
+ * ],
96
+ * resources: ["arn:aws:codestar-connections:us-east-1:123456789012:connection/guid-string"],
97
+ * },
88
98
  * ],
89
99
  * }));
90
100
  * const exampleRolePolicy = new aws.iam.RolePolicy("example", {
@@ -189,6 +199,28 @@ const utilities = require("../utilities");
189
199
  * Environment: "Test",
190
200
  * },
191
201
  * });
202
+ * const project_using_github_app = new aws.codebuild.Project("project-using-github-app", {
203
+ * name: "project-using-github-app",
204
+ * description: "gets_source_from_github_via_the_github_app",
205
+ * serviceRole: exampleRole.arn,
206
+ * artifacts: {
207
+ * type: "NO_ARTIFACTS",
208
+ * },
209
+ * environment: {
210
+ * computeType: "BUILD_GENERAL1_SMALL",
211
+ * image: "aws/codebuild/amazonlinux2-x86_64-standard:4.0",
212
+ * type: "LINUX_CONTAINER",
213
+ * imagePullCredentialsType: "CODEBUILD",
214
+ * },
215
+ * source: {
216
+ * type: "GITHUB",
217
+ * location: "https://github.com/example/example.git",
218
+ * auth: {
219
+ * type: "CODECONNECTIONS",
220
+ * resource: "arn:aws:codestar-connections:us-east-1:123456789012:connection/guid-string",
221
+ * },
222
+ * },
223
+ * });
192
224
  * ```
193
225
  *
194
226
  * ## Import
@@ -1 +1 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../../codebuild/project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiMG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,E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YACzD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAhPL,0BAiPC;AAnOG,gBAAgB;AACO,oBAAY,GAAG,+BAA+B,CAAC"}
@@ -2,7 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Provides a CodeBuild Source Credentials Resource.
4
4
  *
5
- * > **NOTE:** [Codebuild only allows a single credential per given server type in a given region](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.GitHubSourceCredentials.html). Therefore, when you define `aws.codebuild.SourceCredential`, `aws.codebuild.Project` resource defined in the same module will use it.
5
+ * > **NOTE:
6
+ * ** [Codebuild only allows a single credential per given server type in a given region](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.GitHubSourceCredentials.html).
7
+ * Therefore, when you define `aws.codebuild.SourceCredential`,
8
+ * `aws.codebuild.Project` resource defined in the same module will use it.
6
9
  *
7
10
  * ## Example Usage
8
11
  *
@@ -31,6 +34,19 @@ import * as pulumi from "@pulumi/pulumi";
31
34
  * });
32
35
  * ```
33
36
  *
37
+ * ### AWS CodeStar Connection Usage
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as aws from "@pulumi/aws";
42
+ *
43
+ * const example = new aws.codebuild.SourceCredential("example", {
44
+ * authType: "CODECONNECTIONS",
45
+ * serverType: "GITHUB",
46
+ * token: "arn:aws:codestar-connections:us-east-1:123456789012:connection/guid-string",
47
+ * });
48
+ * ```
49
+ *
34
50
  * ## Import
35
51
  *
36
52
  * Using `pulumi import`, import CodeBuild Source Credential using the CodeBuild Source Credential arn. For example:
@@ -60,7 +76,9 @@ export declare class SourceCredential extends pulumi.CustomResource {
60
76
  */
61
77
  readonly arn: pulumi.Output<string>;
62
78
  /**
63
- * The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.
79
+ * The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket
80
+ * repository. Valid values are `BASIC_AUTH`,
81
+ * `PERSONAL_ACCESS_TOKEN`, `CODECONNECTIONS`, and `SECRETS_MANAGER`. An OAUTH connection is not supported by the API.
64
82
  */
65
83
  readonly authType: pulumi.Output<string>;
66
84
  /**
@@ -68,11 +86,14 @@ export declare class SourceCredential extends pulumi.CustomResource {
68
86
  */
69
87
  readonly serverType: pulumi.Output<string>;
70
88
  /**
71
- * For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
89
+ * For a GitHub and GitHub Enterprise, this is the personal access token. For Bitbucket, this is the
90
+ * app password. When using an AWS CodeStar connection (`authType = "CODECONNECTIONS")`, this is an AWS CodeStar
91
+ * Connection ARN.
72
92
  */
73
93
  readonly token: pulumi.Output<string>;
74
94
  /**
75
- * The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.
95
+ * The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for
96
+ * other types of source providers or connections.
76
97
  */
77
98
  readonly userName: pulumi.Output<string | undefined>;
78
99
  /**
@@ -93,7 +114,9 @@ export interface SourceCredentialState {
93
114
  */
94
115
  arn?: pulumi.Input<string>;
95
116
  /**
96
- * The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.
117
+ * The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket
118
+ * repository. Valid values are `BASIC_AUTH`,
119
+ * `PERSONAL_ACCESS_TOKEN`, `CODECONNECTIONS`, and `SECRETS_MANAGER`. An OAUTH connection is not supported by the API.
97
120
  */
98
121
  authType?: pulumi.Input<string>;
99
122
  /**
@@ -101,11 +124,14 @@ export interface SourceCredentialState {
101
124
  */
102
125
  serverType?: pulumi.Input<string>;
103
126
  /**
104
- * For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
127
+ * For a GitHub and GitHub Enterprise, this is the personal access token. For Bitbucket, this is the
128
+ * app password. When using an AWS CodeStar connection (`authType = "CODECONNECTIONS")`, this is an AWS CodeStar
129
+ * Connection ARN.
105
130
  */
106
131
  token?: pulumi.Input<string>;
107
132
  /**
108
- * The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.
133
+ * The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for
134
+ * other types of source providers or connections.
109
135
  */
110
136
  userName?: pulumi.Input<string>;
111
137
  }
@@ -114,7 +140,9 @@ export interface SourceCredentialState {
114
140
  */
115
141
  export interface SourceCredentialArgs {
116
142
  /**
117
- * The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.
143
+ * The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket
144
+ * repository. Valid values are `BASIC_AUTH`,
145
+ * `PERSONAL_ACCESS_TOKEN`, `CODECONNECTIONS`, and `SECRETS_MANAGER`. An OAUTH connection is not supported by the API.
118
146
  */
119
147
  authType: pulumi.Input<string>;
120
148
  /**
@@ -122,11 +150,14 @@ export interface SourceCredentialArgs {
122
150
  */
123
151
  serverType: pulumi.Input<string>;
124
152
  /**
125
- * For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
153
+ * For a GitHub and GitHub Enterprise, this is the personal access token. For Bitbucket, this is the
154
+ * app password. When using an AWS CodeStar connection (`authType = "CODECONNECTIONS")`, this is an AWS CodeStar
155
+ * Connection ARN.
126
156
  */
127
157
  token: pulumi.Input<string>;
128
158
  /**
129
- * The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.
159
+ * The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for
160
+ * other types of source providers or connections.
130
161
  */
131
162
  userName?: pulumi.Input<string>;
132
163
  }
@@ -8,7 +8,10 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Provides a CodeBuild Source Credentials Resource.
10
10
  *
11
- * > **NOTE:** [Codebuild only allows a single credential per given server type in a given region](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.GitHubSourceCredentials.html). Therefore, when you define `aws.codebuild.SourceCredential`, `aws.codebuild.Project` resource defined in the same module will use it.
11
+ * > **NOTE:
12
+ * ** [Codebuild only allows a single credential per given server type in a given region](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.GitHubSourceCredentials.html).
13
+ * Therefore, when you define `aws.codebuild.SourceCredential`,
14
+ * `aws.codebuild.Project` resource defined in the same module will use it.
12
15
  *
13
16
  * ## Example Usage
14
17
  *
@@ -37,6 +40,19 @@ const utilities = require("../utilities");
37
40
  * });
38
41
  * ```
39
42
  *
43
+ * ### AWS CodeStar Connection Usage
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as aws from "@pulumi/aws";
48
+ *
49
+ * const example = new aws.codebuild.SourceCredential("example", {
50
+ * authType: "CODECONNECTIONS",
51
+ * serverType: "GITHUB",
52
+ * token: "arn:aws:codestar-connections:us-east-1:123456789012:connection/guid-string",
53
+ * });
54
+ * ```
55
+ *
40
56
  * ## Import
41
57
  *
42
58
  * Using `pulumi import`, import CodeBuild Source Credential using the CodeBuild Source Credential arn. For example: