@flit/cdk-pipeline 1.0.25 → 1.0.26
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.
- package/.jsii +595 -156
- package/README.md +249 -2
- package/dist/artifact.js +1 -1
- package/dist/code-commit-source-segment.js +2 -2
- package/dist/code-star-source-segment.js +2 -2
- package/dist/git-hub-source-segment.js +2 -2
- package/dist/pipeline-segment.d.ts +24 -2
- package/dist/pipeline-segment.js +76 -6
- package/dist/pipeline.js +3 -2
- package/dist/publish-assets-action.js +3 -6
- package/dist/s3-source-segment.js +2 -2
- package/dist/segment.js +2 -2
- package/dist/source-segment.js +1 -1
- package/dist/stack-segment.d.ts +3 -3
- package/dist/stack-segment.js +46 -49
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -18
- package/src/pipeline-segment.ts +112 -4
- package/src/pipeline.ts +6 -1
- package/src/publish-assets-action.ts +1 -4
- package/src/stack-segment.ts +51 -51
package/.jsii
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"url": "https://github.com/p-mercury"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "
|
|
12
|
-
"constructs": "
|
|
11
|
+
"aws-cdk-lib": "2.162.1",
|
|
12
|
+
"constructs": "10.4.2"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
15
15
|
"@aws-cdk/asset-awscli-v1": {
|
|
@@ -90,6 +90,36 @@
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
+
"@aws-cdk/cloud-assembly-schema": {
|
|
94
|
+
"targets": {
|
|
95
|
+
"dotnet": {
|
|
96
|
+
"iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/main/logo/default-256-dark.png",
|
|
97
|
+
"namespace": "Amazon.CDK.CloudAssembly.Schema",
|
|
98
|
+
"packageId": "Amazon.CDK.CloudAssembly.Schema"
|
|
99
|
+
},
|
|
100
|
+
"go": {
|
|
101
|
+
"moduleName": "github.com/cdklabs/cloud-assembly-schema-go"
|
|
102
|
+
},
|
|
103
|
+
"java": {
|
|
104
|
+
"maven": {
|
|
105
|
+
"artifactId": "cdk-cloud-assembly-schema",
|
|
106
|
+
"groupId": "software.amazon.awscdk"
|
|
107
|
+
},
|
|
108
|
+
"package": "software.amazon.awscdk.cloudassembly.schema"
|
|
109
|
+
},
|
|
110
|
+
"js": {
|
|
111
|
+
"npm": "@aws-cdk/cloud-assembly-schema"
|
|
112
|
+
},
|
|
113
|
+
"python": {
|
|
114
|
+
"classifiers": [
|
|
115
|
+
"Framework :: AWS CDK",
|
|
116
|
+
"Framework :: AWS CDK :: 2"
|
|
117
|
+
],
|
|
118
|
+
"distName": "aws-cdk.cloud-assembly-schema",
|
|
119
|
+
"module": "aws_cdk.cloud_assembly_schema"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
93
123
|
"aws-cdk-lib": {
|
|
94
124
|
"submodules": {
|
|
95
125
|
"aws-cdk-lib.alexa_ask": {
|
|
@@ -222,8 +252,32 @@
|
|
|
222
252
|
}
|
|
223
253
|
}
|
|
224
254
|
},
|
|
225
|
-
"aws-cdk-lib.aws_apigatewayv2_authorizers": {
|
|
226
|
-
|
|
255
|
+
"aws-cdk-lib.aws_apigatewayv2_authorizers": {
|
|
256
|
+
"targets": {
|
|
257
|
+
"dotnet": {
|
|
258
|
+
"namespace": "Amazon.CDK.AwsApigatewayv2Authorizers"
|
|
259
|
+
},
|
|
260
|
+
"java": {
|
|
261
|
+
"package": "software.amazon.awscdk.aws_apigatewayv2_authorizers"
|
|
262
|
+
},
|
|
263
|
+
"python": {
|
|
264
|
+
"module": "aws_cdk.aws_apigatewayv2_authorizers"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"aws-cdk-lib.aws_apigatewayv2_integrations": {
|
|
269
|
+
"targets": {
|
|
270
|
+
"dotnet": {
|
|
271
|
+
"namespace": "Amazon.CDK.AwsApigatewayv2Integrations"
|
|
272
|
+
},
|
|
273
|
+
"java": {
|
|
274
|
+
"package": "software.amazon.awscdk.aws_apigatewayv2_integrations"
|
|
275
|
+
},
|
|
276
|
+
"python": {
|
|
277
|
+
"module": "aws_cdk.aws_apigatewayv2_integrations"
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
},
|
|
227
281
|
"aws-cdk-lib.aws_appconfig": {
|
|
228
282
|
"targets": {
|
|
229
283
|
"dotnet": {
|
|
@@ -289,6 +343,19 @@
|
|
|
289
343
|
}
|
|
290
344
|
}
|
|
291
345
|
},
|
|
346
|
+
"aws-cdk-lib.aws_applicationsignals": {
|
|
347
|
+
"targets": {
|
|
348
|
+
"dotnet": {
|
|
349
|
+
"package": "Amazon.CDK.AWS.ApplicationSignals"
|
|
350
|
+
},
|
|
351
|
+
"java": {
|
|
352
|
+
"package": "software.amazon.awscdk.services.applicationsignals"
|
|
353
|
+
},
|
|
354
|
+
"python": {
|
|
355
|
+
"module": "aws_cdk.aws_applicationsignals"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
},
|
|
292
359
|
"aws-cdk-lib.aws_appmesh": {
|
|
293
360
|
"targets": {
|
|
294
361
|
"dotnet": {
|
|
@@ -341,6 +408,19 @@
|
|
|
341
408
|
}
|
|
342
409
|
}
|
|
343
410
|
},
|
|
411
|
+
"aws-cdk-lib.aws_apptest": {
|
|
412
|
+
"targets": {
|
|
413
|
+
"dotnet": {
|
|
414
|
+
"package": "Amazon.CDK.AWS.AppTest"
|
|
415
|
+
},
|
|
416
|
+
"java": {
|
|
417
|
+
"package": "software.amazon.awscdk.services.apptest"
|
|
418
|
+
},
|
|
419
|
+
"python": {
|
|
420
|
+
"module": "aws_cdk.aws_apptest"
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
344
424
|
"aws-cdk-lib.aws_aps": {
|
|
345
425
|
"targets": {
|
|
346
426
|
"dotnet": {
|
|
@@ -497,10 +577,23 @@
|
|
|
497
577
|
}
|
|
498
578
|
}
|
|
499
579
|
},
|
|
580
|
+
"aws-cdk-lib.aws_bcmdataexports": {
|
|
581
|
+
"targets": {
|
|
582
|
+
"dotnet": {
|
|
583
|
+
"package": "Amazon.CDK.AWS.BCMDataExports"
|
|
584
|
+
},
|
|
585
|
+
"java": {
|
|
586
|
+
"package": "software.amazon.awscdk.services.bcmdataexports"
|
|
587
|
+
},
|
|
588
|
+
"python": {
|
|
589
|
+
"module": "aws_cdk.aws_bcmdataexports"
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
},
|
|
500
593
|
"aws-cdk-lib.aws_bedrock": {
|
|
501
594
|
"targets": {
|
|
502
595
|
"dotnet": {
|
|
503
|
-
"
|
|
596
|
+
"package": "Amazon.CDK.AWS.Bedrock"
|
|
504
597
|
},
|
|
505
598
|
"java": {
|
|
506
599
|
"package": "software.amazon.awscdk.services.bedrock"
|
|
@@ -601,6 +694,19 @@
|
|
|
601
694
|
}
|
|
602
695
|
}
|
|
603
696
|
},
|
|
697
|
+
"aws-cdk-lib.aws_cleanroomsml": {
|
|
698
|
+
"targets": {
|
|
699
|
+
"dotnet": {
|
|
700
|
+
"package": "Amazon.CDK.AWS.CleanRoomsML"
|
|
701
|
+
},
|
|
702
|
+
"java": {
|
|
703
|
+
"package": "software.amazon.awscdk.services.cleanroomsml"
|
|
704
|
+
},
|
|
705
|
+
"python": {
|
|
706
|
+
"module": "aws_cdk.aws_cleanroomsml"
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
},
|
|
604
710
|
"aws-cdk-lib.aws_cloud9": {
|
|
605
711
|
"targets": {
|
|
606
712
|
"dotnet": {
|
|
@@ -732,6 +838,19 @@
|
|
|
732
838
|
}
|
|
733
839
|
}
|
|
734
840
|
},
|
|
841
|
+
"aws-cdk-lib.aws_codeconnections": {
|
|
842
|
+
"targets": {
|
|
843
|
+
"dotnet": {
|
|
844
|
+
"package": "Amazon.CDK.AWS.CodeConnections"
|
|
845
|
+
},
|
|
846
|
+
"java": {
|
|
847
|
+
"package": "software.amazon.awscdk.services.codeconnections"
|
|
848
|
+
},
|
|
849
|
+
"python": {
|
|
850
|
+
"module": "aws_cdk.aws_codeconnections"
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
},
|
|
735
854
|
"aws-cdk-lib.aws_codedeploy": {
|
|
736
855
|
"targets": {
|
|
737
856
|
"dotnet": {
|
|
@@ -1005,6 +1124,19 @@
|
|
|
1005
1124
|
}
|
|
1006
1125
|
}
|
|
1007
1126
|
},
|
|
1127
|
+
"aws-cdk-lib.aws_deadline": {
|
|
1128
|
+
"targets": {
|
|
1129
|
+
"dotnet": {
|
|
1130
|
+
"package": "Amazon.CDK.AWS.Deadline"
|
|
1131
|
+
},
|
|
1132
|
+
"java": {
|
|
1133
|
+
"package": "software.amazon.awscdk.services.deadline"
|
|
1134
|
+
},
|
|
1135
|
+
"python": {
|
|
1136
|
+
"module": "aws_cdk.aws_deadline"
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
},
|
|
1008
1140
|
"aws-cdk-lib.aws_detective": {
|
|
1009
1141
|
"targets": {
|
|
1010
1142
|
"dotnet": {
|
|
@@ -2058,6 +2190,19 @@
|
|
|
2058
2190
|
}
|
|
2059
2191
|
}
|
|
2060
2192
|
},
|
|
2193
|
+
"aws-cdk-lib.aws_launchwizard": {
|
|
2194
|
+
"targets": {
|
|
2195
|
+
"dotnet": {
|
|
2196
|
+
"package": "Amazon.CDK.AWS.LaunchWizard"
|
|
2197
|
+
},
|
|
2198
|
+
"java": {
|
|
2199
|
+
"package": "software.amazon.awscdk.services.launchwizard"
|
|
2200
|
+
},
|
|
2201
|
+
"python": {
|
|
2202
|
+
"module": "aws_cdk.aws_launchwizard"
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
},
|
|
2061
2206
|
"aws-cdk-lib.aws_lex": {
|
|
2062
2207
|
"targets": {
|
|
2063
2208
|
"dotnet": {
|
|
@@ -2526,6 +2671,19 @@
|
|
|
2526
2671
|
}
|
|
2527
2672
|
}
|
|
2528
2673
|
},
|
|
2674
|
+
"aws-cdk-lib.aws_paymentcryptography": {
|
|
2675
|
+
"targets": {
|
|
2676
|
+
"dotnet": {
|
|
2677
|
+
"package": "Amazon.CDK.AWS.PaymentCryptography"
|
|
2678
|
+
},
|
|
2679
|
+
"java": {
|
|
2680
|
+
"package": "software.amazon.awscdk.services.paymentcryptography"
|
|
2681
|
+
},
|
|
2682
|
+
"python": {
|
|
2683
|
+
"module": "aws_cdk.aws_paymentcryptography"
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
},
|
|
2529
2687
|
"aws-cdk-lib.aws_pcaconnectorad": {
|
|
2530
2688
|
"targets": {
|
|
2531
2689
|
"dotnet": {
|
|
@@ -2539,6 +2697,19 @@
|
|
|
2539
2697
|
}
|
|
2540
2698
|
}
|
|
2541
2699
|
},
|
|
2700
|
+
"aws-cdk-lib.aws_pcaconnectorscep": {
|
|
2701
|
+
"targets": {
|
|
2702
|
+
"dotnet": {
|
|
2703
|
+
"package": "Amazon.CDK.AWS.PCAConnectorSCEP"
|
|
2704
|
+
},
|
|
2705
|
+
"java": {
|
|
2706
|
+
"package": "software.amazon.awscdk.services.pcaconnectorscep"
|
|
2707
|
+
},
|
|
2708
|
+
"python": {
|
|
2709
|
+
"module": "aws_cdk.aws_pcaconnectorscep"
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
},
|
|
2542
2713
|
"aws-cdk-lib.aws_personalize": {
|
|
2543
2714
|
"targets": {
|
|
2544
2715
|
"dotnet": {
|
|
@@ -2604,6 +2775,19 @@
|
|
|
2604
2775
|
}
|
|
2605
2776
|
}
|
|
2606
2777
|
},
|
|
2778
|
+
"aws-cdk-lib.aws_qbusiness": {
|
|
2779
|
+
"targets": {
|
|
2780
|
+
"dotnet": {
|
|
2781
|
+
"package": "Amazon.CDK.AWS.QBusiness"
|
|
2782
|
+
},
|
|
2783
|
+
"java": {
|
|
2784
|
+
"package": "software.amazon.awscdk.services.qbusiness"
|
|
2785
|
+
},
|
|
2786
|
+
"python": {
|
|
2787
|
+
"module": "aws_cdk.aws_qbusiness"
|
|
2788
|
+
}
|
|
2789
|
+
}
|
|
2790
|
+
},
|
|
2607
2791
|
"aws-cdk-lib.aws_qldb": {
|
|
2608
2792
|
"targets": {
|
|
2609
2793
|
"dotnet": {
|
|
@@ -2812,6 +2996,19 @@
|
|
|
2812
2996
|
}
|
|
2813
2997
|
}
|
|
2814
2998
|
},
|
|
2999
|
+
"aws-cdk-lib.aws_route53profiles": {
|
|
3000
|
+
"targets": {
|
|
3001
|
+
"dotnet": {
|
|
3002
|
+
"package": "Amazon.CDK.AWS.Route53Profiles"
|
|
3003
|
+
},
|
|
3004
|
+
"java": {
|
|
3005
|
+
"package": "software.amazon.awscdk.services.route53profiles"
|
|
3006
|
+
},
|
|
3007
|
+
"python": {
|
|
3008
|
+
"module": "aws_cdk.aws_route53profiles"
|
|
3009
|
+
}
|
|
3010
|
+
}
|
|
3011
|
+
},
|
|
2815
3012
|
"aws-cdk-lib.aws_route53recoverycontrol": {
|
|
2816
3013
|
"targets": {
|
|
2817
3014
|
"dotnet": {
|
|
@@ -3033,6 +3230,19 @@
|
|
|
3033
3230
|
}
|
|
3034
3231
|
}
|
|
3035
3232
|
},
|
|
3233
|
+
"aws-cdk-lib.aws_securitylake": {
|
|
3234
|
+
"targets": {
|
|
3235
|
+
"dotnet": {
|
|
3236
|
+
"package": "Amazon.CDK.AWS.SecurityLake"
|
|
3237
|
+
},
|
|
3238
|
+
"java": {
|
|
3239
|
+
"package": "software.amazon.awscdk.services.securitylake"
|
|
3240
|
+
},
|
|
3241
|
+
"python": {
|
|
3242
|
+
"module": "aws_cdk.aws_securitylake"
|
|
3243
|
+
}
|
|
3244
|
+
}
|
|
3245
|
+
},
|
|
3036
3246
|
"aws-cdk-lib.aws_servicecatalog": {
|
|
3037
3247
|
"targets": {
|
|
3038
3248
|
"dotnet": {
|
|
@@ -3202,29 +3412,29 @@
|
|
|
3202
3412
|
}
|
|
3203
3413
|
}
|
|
3204
3414
|
},
|
|
3205
|
-
"aws-cdk-lib.
|
|
3415
|
+
"aws-cdk-lib.aws_ssmincidents": {
|
|
3206
3416
|
"targets": {
|
|
3207
3417
|
"dotnet": {
|
|
3208
|
-
"
|
|
3418
|
+
"namespace": "Amazon.CDK.AWS.SSMIncidents"
|
|
3209
3419
|
},
|
|
3210
3420
|
"java": {
|
|
3211
|
-
"package": "software.amazon.awscdk.services.
|
|
3421
|
+
"package": "software.amazon.awscdk.services.ssmincidents"
|
|
3212
3422
|
},
|
|
3213
3423
|
"python": {
|
|
3214
|
-
"module": "aws_cdk.
|
|
3424
|
+
"module": "aws_cdk.aws_ssmincidents"
|
|
3215
3425
|
}
|
|
3216
3426
|
}
|
|
3217
3427
|
},
|
|
3218
|
-
"aws-cdk-lib.
|
|
3428
|
+
"aws-cdk-lib.aws_ssmquicksetup": {
|
|
3219
3429
|
"targets": {
|
|
3220
3430
|
"dotnet": {
|
|
3221
|
-
"
|
|
3431
|
+
"package": "Amazon.CDK.AWS.SSMQuickSetup"
|
|
3222
3432
|
},
|
|
3223
3433
|
"java": {
|
|
3224
|
-
"package": "software.amazon.awscdk.services.
|
|
3434
|
+
"package": "software.amazon.awscdk.services.ssmquicksetup"
|
|
3225
3435
|
},
|
|
3226
3436
|
"python": {
|
|
3227
|
-
"module": "aws_cdk.
|
|
3437
|
+
"module": "aws_cdk.aws_ssmquicksetup"
|
|
3228
3438
|
}
|
|
3229
3439
|
}
|
|
3230
3440
|
},
|
|
@@ -3475,19 +3685,7 @@
|
|
|
3475
3685
|
}
|
|
3476
3686
|
}
|
|
3477
3687
|
},
|
|
3478
|
-
"aws-cdk-lib.cloud_assembly_schema": {
|
|
3479
|
-
"targets": {
|
|
3480
|
-
"dotnet": {
|
|
3481
|
-
"namespace": "Amazon.CDK.CloudAssembly.Schema"
|
|
3482
|
-
},
|
|
3483
|
-
"java": {
|
|
3484
|
-
"package": "software.amazon.awscdk.cloudassembly.schema"
|
|
3485
|
-
},
|
|
3486
|
-
"python": {
|
|
3487
|
-
"module": "aws_cdk.cloud_assembly_schema"
|
|
3488
|
-
}
|
|
3489
|
-
}
|
|
3490
|
-
},
|
|
3688
|
+
"aws-cdk-lib.cloud_assembly_schema": {},
|
|
3491
3689
|
"aws-cdk-lib.cloudformation_include": {
|
|
3492
3690
|
"targets": {
|
|
3493
3691
|
"dotnet": {
|
|
@@ -3663,7 +3861,7 @@
|
|
|
3663
3861
|
"stability": "stable"
|
|
3664
3862
|
},
|
|
3665
3863
|
"homepage": "https://p-mercury.github.io/jumper-de/modules/_flit_cdk_pipeline",
|
|
3666
|
-
"jsiiVersion": "5.
|
|
3864
|
+
"jsiiVersion": "5.5.4 (build 1378d94)",
|
|
3667
3865
|
"keywords": [
|
|
3668
3866
|
"aws",
|
|
3669
3867
|
"cdk",
|
|
@@ -3684,7 +3882,7 @@
|
|
|
3684
3882
|
},
|
|
3685
3883
|
"name": "@flit/cdk-pipeline",
|
|
3686
3884
|
"readme": {
|
|
3687
|
-
"markdown": "This library exposes a highly customizable and extensible L3 pipeline construct intended as an alternative to the CDK native L3 [CodePipeline](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines.CodePipeline.html) construct which has some inherent limitations in capability and extensibility.\n\nThe
|
|
3885
|
+
"markdown": "This library exposes a highly customizable and extensible L3 pipeline construct intended as an alternative to the CDK native L3 [CodePipeline](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines.CodePipeline.html) construct which has some inherent limitations in capability and extensibility.\n\nThe documentation provides the tools and documentation to get your own pipeline up and running and build your own custom segments.\n\n## Usage\n\n### Installation\n\nThe package is available on [NPM](https://www.npmjs.com) and can be installed using your package manager of choice:\n\n```bash\nnpm i @flit/cdk-pipeline\n\npnpm add @flit/cdk-pipeline\n\nyarn add @flit/cdk-pipeline\n```\n\n### Basics\n\nThe snippet bellow is a basic example of a pipeline which will run whenever a change is detected in a GitHub repository and which will update itself and deploy and update a user defined stack. This example demonstrates the three basic elements that make up a pipeline:\n\n#### - Pipeline\n\nThe Pipeline construct will create a CloudFormation Stack which contains the pipeline and all of the required peripheral resources to make it work.\n\n#### - Segment\n\nA Segment is simply a pre-configured set of pipeline actions which together represent a commonly used CI/CD pattern, like for example building and deploying a stack.\n\nTo build properly, a Pipeline requires at least one SourceSegment, exactly one PipelineSegment and at least one other segment.\n\n#### - Artifact\n\nAn Artifact represents a pipeline artifact which can be used to pass information between stages. Every artifact needs to be the output of exactly one Segment and can be consumed by any segments that need that output.\n\n```typescript\nimport { App, SecretValue, Stack } from \"aws-cdk-lib\";\nimport {\n Pipeline,\n GitHubSourceSegment,\n PipelineSegment,\n StackSegment,\n Artifact,\n} from \"@flit/cdk-pipeline\";\n\nconst APP = new App();\n\nconst sourceArtifact = new Artifact();\n\nnew Pipeline(APP, \"Pipeline\", {\n rootDir: \"./\",\n segments: [\n new GitHubSourceSegment({\n oauthToken: SecretValue.secretsManager(\"github-access-token\"),\n output: sourceArtifact,\n owner: \"owner-name\",\n repository: \"repo-name\",\n branch: \"branch-name\",\n }),\n new PipelineSegment({\n input: sourceArtifact,\n command: \"cdk synth Pipeline --strict --exclusively\",\n }),\n new StackSegment({\n stack: new Stack(APP, \"Stack1\"),\n input: sourceArtifact,\n command: \"cdk synth Stack1 --strict --exclusively\",\n }),\n ],\n});\n```\n\nThe above code would produce the following pipeline:\n\n<div style=\"width: 300px; height: 340px; overflow-x: hidden; overflow-y: scroll;\"><img src=\"media://pipeline-ouput-example.png\" alt=\"alt text\" width=\"100%\"></div>\n\n### Multiple stacks\n\nTo add another stack to the pipeline you simply add another `StackSegment` with a new stack instance and the pipeline will handle the rest.\n\n```typescript\nimport { App, SecretValue, Stack } from \"aws-cdk-lib\";\nimport {\n Pipeline,\n GitHubSourceSegment,\n PipelineSegment,\n StackSegment,\n Artifact,\n} from \"@flit/cdk-pipeline\";\n\nconst APP = new App();\n\nconst sourceArtifact = new Artifact();\n\nnew Pipeline(APP, \"Pipeline\", {\n rootDir: \"./\",\n segments: [\n new GitHubSourceSegment({\n oauthToken: SecretValue.secretsManager(\"github-access-token\"),\n output: sourceArtifact,\n owner: \"owner-name\",\n repository: \"repo-name\",\n branch: \"branch-name\",\n }),\n new PipelineSegment({\n input: sourceArtifact,\n command: \"cdk synth Pipeline --strict --exclusively\",\n }),\n new StackSegment({\n stack: new Stack(APP, \"Stack1\"),\n input: sourceArtifact,\n command: \"cdk synth Stack1 --strict --exclusively\",\n }),\n new StackSegment({\n stack: new Stack(APP, \"Stack2\"),\n input: sourceArtifact,\n command: \"cdk synth Stack2 --strict --exclusively\",\n }),\n ],\n});\n```\n\n### Passing assets\n\nIf a segment requires the output artifact of a previous segment then you can simply add an output artifact to the previous stage and pass it as additional input to another segment.\n\n```typescript\nimport { App, SecretValue, Stack } from \"aws-cdk-lib\";\nimport {\n Pipeline,\n GitHubSourceSegment,\n PipelineSegment,\n StackSegment,\n Artifact,\n} from \"@flit/cdk-pipeline\";\n\nconst APP = new App();\n\nconst sourceArtifact = new Artifact();\nconst stack1Artifact = new Artifact();\n\nnew Pipeline(APP, \"Pipeline\", {\n rootDir: \"./\",\n segments: [\n new GitHubSourceSegment({\n oauthToken: SecretValue.secretsManager(\"jumper-de-github-access-tokens\"),\n output: sourceArtifact,\n owner: \"p-mercury\",\n repository: \"jumper-de\",\n branch: \"main\",\n }),\n new PipelineSegment({\n input: sourceArtifact,\n command: \"cdk synth Pipeline --strict --exclusively\",\n }),\n new StackSegment({\n stack: new Stack(APP, \"Stack1\"),\n input: sourceArtifact,\n output: stack1Artifact,\n command: \"cdk synth Stack1 --strict --exclusively\",\n }),\n new StackSegment({\n stack: new Stack(APP, \"Stack2\"),\n input: [sourceArtifact, stack1Artifact],\n command: \"cdk synth Stack2 --strict --exclusively\",\n }),\n ],\n});\n```\n\n### Building your own segment\n\nThe snippet bellow is a basic example showing a custom segment which simply adds a stage with two manual approval steps into the pipeline and allows you to optional give this step a name.\n\nEach segment has two components consisting of two distinct classes:\n\n### - Segment\n\nThe main segment class is the class that will be used in your pipeline definition, and can be created by extending the `Segment` abstract class.\n\nThis class **should not** itself create any actual CDK constructs and is simply there to collect configuration trough the `constructor`. The `constructor` should take a single parameter called `props` which is a descendant of the `SegmentProps` interface.\n\nThe segment class also has to define the `construct` abstract function which returns an instance of a descendant of the `SegmentConstructed` abstract class.\n\n### - SegmentConstructed\n\nThis class will be returned by the `construct` function of your segment class and is itself a CDK construct. So in this class you can now allocate the CDK resources this segment requires as you are used to in any other CDK application.\n\nYou can pass any configuration information previously collected in the segment class trough the constructor.\n\n```typescript\nimport { IAction } from \"aws-cdk-lib/aws-codepipeline\";\nimport { ManualApprovalAction } from \"aws-cdk-lib/aws-codepipeline-actions\";\n\nimport { Segment, SegmentConstructed } from \"./segment\";\nimport { Pipeline } from \"./pipeline\";\n\nexport interface RequireApprovalSegmentProps {\n readonly name?: string;\n}\n\n/**\n * @category Segments\n */\nexport class DoubleApprovalSegment extends Segment {\n readonly props: RequireApprovalSegmentProps;\n\n constructor(props: RequireApprovalSegmentProps) {\n super({ ...props, input: undefined, output: undefined });\n this.props = props;\n }\n\n construct(scope: Pipeline): SegmentConstructed {\n return new RequireApprovalSegmentConstructed(\n scope,\n `RequireApproval`,\n this.props,\n );\n }\n}\n\nexport interface RequireApprovalSegmentConstructedProps {\n readonly name?: string;\n}\n\nexport class RequireApprovalSegmentConstructed extends SegmentConstructed {\n readonly name: string;\n readonly actions: IAction[];\n\n constructor(\n scope: Pipeline,\n id: string,\n props: RequireApprovalSegmentConstructedProps,\n ) {\n super(scope, id);\n\n this.name = props.name ?? id;\n\n this.actions = [\n new ManualApprovalAction({\n actionName: \"ApproveChanges1\",\n runOrder: 1,\n }),\n new ManualApprovalAction({\n actionName: \"ApproveChanges2\",\n runOrder: 2,\n }),\n ];\n }\n}\n```\n"
|
|
3688
3886
|
},
|
|
3689
3887
|
"repository": {
|
|
3690
3888
|
"type": "git",
|
|
@@ -4996,7 +5194,7 @@
|
|
|
4996
5194
|
},
|
|
4997
5195
|
"locationInModule": {
|
|
4998
5196
|
"filename": "src/pipeline.ts",
|
|
4999
|
-
"line":
|
|
5197
|
+
"line": 40
|
|
5000
5198
|
},
|
|
5001
5199
|
"parameters": [
|
|
5002
5200
|
{
|
|
@@ -5022,7 +5220,7 @@
|
|
|
5022
5220
|
"kind": "class",
|
|
5023
5221
|
"locationInModule": {
|
|
5024
5222
|
"filename": "src/pipeline.ts",
|
|
5025
|
-
"line":
|
|
5223
|
+
"line": 35
|
|
5026
5224
|
},
|
|
5027
5225
|
"name": "Pipeline",
|
|
5028
5226
|
"properties": [
|
|
@@ -5033,7 +5231,7 @@
|
|
|
5033
5231
|
"immutable": true,
|
|
5034
5232
|
"locationInModule": {
|
|
5035
5233
|
"filename": "src/pipeline.ts",
|
|
5036
|
-
"line":
|
|
5234
|
+
"line": 38
|
|
5037
5235
|
},
|
|
5038
5236
|
"name": "buildDir",
|
|
5039
5237
|
"type": {
|
|
@@ -5047,7 +5245,7 @@
|
|
|
5047
5245
|
"immutable": true,
|
|
5048
5246
|
"locationInModule": {
|
|
5049
5247
|
"filename": "src/pipeline.ts",
|
|
5050
|
-
"line":
|
|
5248
|
+
"line": 36
|
|
5051
5249
|
},
|
|
5052
5250
|
"name": "pipelineName",
|
|
5053
5251
|
"type": {
|
|
@@ -5061,7 +5259,7 @@
|
|
|
5061
5259
|
"immutable": true,
|
|
5062
5260
|
"locationInModule": {
|
|
5063
5261
|
"filename": "src/pipeline.ts",
|
|
5064
|
-
"line":
|
|
5262
|
+
"line": 43
|
|
5065
5263
|
},
|
|
5066
5264
|
"name": "props",
|
|
5067
5265
|
"type": {
|
|
@@ -5075,7 +5273,7 @@
|
|
|
5075
5273
|
"immutable": true,
|
|
5076
5274
|
"locationInModule": {
|
|
5077
5275
|
"filename": "src/pipeline.ts",
|
|
5078
|
-
"line":
|
|
5276
|
+
"line": 37
|
|
5079
5277
|
},
|
|
5080
5278
|
"name": "rootDir",
|
|
5081
5279
|
"type": {
|
|
@@ -5098,7 +5296,7 @@
|
|
|
5098
5296
|
"kind": "interface",
|
|
5099
5297
|
"locationInModule": {
|
|
5100
5298
|
"filename": "src/pipeline.ts",
|
|
5101
|
-
"line":
|
|
5299
|
+
"line": 15
|
|
5102
5300
|
},
|
|
5103
5301
|
"name": "PipelineProps",
|
|
5104
5302
|
"properties": [
|
|
@@ -5111,7 +5309,7 @@
|
|
|
5111
5309
|
"immutable": true,
|
|
5112
5310
|
"locationInModule": {
|
|
5113
5311
|
"filename": "src/pipeline.ts",
|
|
5114
|
-
"line":
|
|
5312
|
+
"line": 25
|
|
5115
5313
|
},
|
|
5116
5314
|
"name": "rootDir",
|
|
5117
5315
|
"type": {
|
|
@@ -5127,7 +5325,7 @@
|
|
|
5127
5325
|
"immutable": true,
|
|
5128
5326
|
"locationInModule": {
|
|
5129
5327
|
"filename": "src/pipeline.ts",
|
|
5130
|
-
"line":
|
|
5328
|
+
"line": 29
|
|
5131
5329
|
},
|
|
5132
5330
|
"name": "segments",
|
|
5133
5331
|
"type": {
|
|
@@ -5149,7 +5347,7 @@
|
|
|
5149
5347
|
"immutable": true,
|
|
5150
5348
|
"locationInModule": {
|
|
5151
5349
|
"filename": "src/pipeline.ts",
|
|
5152
|
-
"line":
|
|
5350
|
+
"line": 20
|
|
5153
5351
|
},
|
|
5154
5352
|
"name": "pipelineName",
|
|
5155
5353
|
"optional": true,
|
|
@@ -5176,7 +5374,7 @@
|
|
|
5176
5374
|
},
|
|
5177
5375
|
"locationInModule": {
|
|
5178
5376
|
"filename": "src/pipeline-segment.ts",
|
|
5179
|
-
"line":
|
|
5377
|
+
"line": 74
|
|
5180
5378
|
},
|
|
5181
5379
|
"parameters": [
|
|
5182
5380
|
{
|
|
@@ -5190,7 +5388,7 @@
|
|
|
5190
5388
|
"kind": "class",
|
|
5191
5389
|
"locationInModule": {
|
|
5192
5390
|
"filename": "src/pipeline-segment.ts",
|
|
5193
|
-
"line":
|
|
5391
|
+
"line": 70
|
|
5194
5392
|
},
|
|
5195
5393
|
"methods": [
|
|
5196
5394
|
{
|
|
@@ -5199,7 +5397,7 @@
|
|
|
5199
5397
|
},
|
|
5200
5398
|
"locationInModule": {
|
|
5201
5399
|
"filename": "src/pipeline-segment.ts",
|
|
5202
|
-
"line":
|
|
5400
|
+
"line": 79
|
|
5203
5401
|
},
|
|
5204
5402
|
"name": "construct",
|
|
5205
5403
|
"overrides": "@flit/cdk-pipeline.Segment",
|
|
@@ -5227,7 +5425,7 @@
|
|
|
5227
5425
|
"immutable": true,
|
|
5228
5426
|
"locationInModule": {
|
|
5229
5427
|
"filename": "src/pipeline-segment.ts",
|
|
5230
|
-
"line":
|
|
5428
|
+
"line": 71
|
|
5231
5429
|
},
|
|
5232
5430
|
"name": "isPipeline",
|
|
5233
5431
|
"overrides": "@flit/cdk-pipeline.Segment",
|
|
@@ -5242,7 +5440,7 @@
|
|
|
5242
5440
|
"immutable": true,
|
|
5243
5441
|
"locationInModule": {
|
|
5244
5442
|
"filename": "src/pipeline-segment.ts",
|
|
5245
|
-
"line":
|
|
5443
|
+
"line": 72
|
|
5246
5444
|
},
|
|
5247
5445
|
"name": "props",
|
|
5248
5446
|
"type": {
|
|
@@ -5252,81 +5450,348 @@
|
|
|
5252
5450
|
],
|
|
5253
5451
|
"symbolId": "src/pipeline-segment:PipelineSegment"
|
|
5254
5452
|
},
|
|
5255
|
-
"@flit/cdk-pipeline.
|
|
5453
|
+
"@flit/cdk-pipeline.PipelineSegmentConstructed": {
|
|
5256
5454
|
"assembly": "@flit/cdk-pipeline",
|
|
5257
|
-
"
|
|
5455
|
+
"base": "@flit/cdk-pipeline.SegmentConstructed",
|
|
5258
5456
|
"docs": {
|
|
5259
5457
|
"stability": "stable"
|
|
5260
5458
|
},
|
|
5261
|
-
"fqn": "@flit/cdk-pipeline.
|
|
5262
|
-
"
|
|
5459
|
+
"fqn": "@flit/cdk-pipeline.PipelineSegmentConstructed",
|
|
5460
|
+
"initializer": {
|
|
5461
|
+
"docs": {
|
|
5462
|
+
"stability": "stable"
|
|
5463
|
+
},
|
|
5464
|
+
"locationInModule": {
|
|
5465
|
+
"filename": "src/pipeline-segment.ts",
|
|
5466
|
+
"line": 107
|
|
5467
|
+
},
|
|
5468
|
+
"parameters": [
|
|
5469
|
+
{
|
|
5470
|
+
"name": "scope",
|
|
5471
|
+
"type": {
|
|
5472
|
+
"fqn": "@flit/cdk-pipeline.Pipeline"
|
|
5473
|
+
}
|
|
5474
|
+
},
|
|
5475
|
+
{
|
|
5476
|
+
"name": "id",
|
|
5477
|
+
"type": {
|
|
5478
|
+
"primitive": "string"
|
|
5479
|
+
}
|
|
5480
|
+
},
|
|
5481
|
+
{
|
|
5482
|
+
"name": "props",
|
|
5483
|
+
"type": {
|
|
5484
|
+
"fqn": "@flit/cdk-pipeline.PipelineSegmentConstructedProps"
|
|
5485
|
+
}
|
|
5486
|
+
}
|
|
5487
|
+
]
|
|
5488
|
+
},
|
|
5489
|
+
"kind": "class",
|
|
5263
5490
|
"locationInModule": {
|
|
5264
5491
|
"filename": "src/pipeline-segment.ts",
|
|
5265
|
-
"line":
|
|
5492
|
+
"line": 103
|
|
5266
5493
|
},
|
|
5267
|
-
"name": "
|
|
5494
|
+
"name": "PipelineSegmentConstructed",
|
|
5268
5495
|
"properties": [
|
|
5269
5496
|
{
|
|
5270
|
-
"abstract": true,
|
|
5271
5497
|
"docs": {
|
|
5272
|
-
"
|
|
5273
|
-
"stability": "stable",
|
|
5274
|
-
"summary": "The command(s) to build the stack."
|
|
5498
|
+
"stability": "stable"
|
|
5275
5499
|
},
|
|
5276
5500
|
"immutable": true,
|
|
5277
5501
|
"locationInModule": {
|
|
5278
5502
|
"filename": "src/pipeline-segment.ts",
|
|
5279
|
-
"line":
|
|
5503
|
+
"line": 105
|
|
5280
5504
|
},
|
|
5281
|
-
"name": "
|
|
5505
|
+
"name": "actions",
|
|
5506
|
+
"overrides": "@flit/cdk-pipeline.SegmentConstructed",
|
|
5282
5507
|
"type": {
|
|
5283
|
-
"
|
|
5284
|
-
"
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
{
|
|
5289
|
-
"collection": {
|
|
5290
|
-
"elementtype": {
|
|
5291
|
-
"primitive": "string"
|
|
5292
|
-
},
|
|
5293
|
-
"kind": "array"
|
|
5294
|
-
}
|
|
5295
|
-
}
|
|
5296
|
-
]
|
|
5508
|
+
"collection": {
|
|
5509
|
+
"elementtype": {
|
|
5510
|
+
"fqn": "aws-cdk-lib.aws_codepipeline.IAction"
|
|
5511
|
+
},
|
|
5512
|
+
"kind": "array"
|
|
5297
5513
|
}
|
|
5298
5514
|
}
|
|
5299
5515
|
},
|
|
5300
5516
|
{
|
|
5301
|
-
"abstract": true,
|
|
5302
5517
|
"docs": {
|
|
5303
|
-
"stability": "stable"
|
|
5304
|
-
"summary": "The input arfifact for the build stage."
|
|
5518
|
+
"stability": "stable"
|
|
5305
5519
|
},
|
|
5306
5520
|
"immutable": true,
|
|
5307
5521
|
"locationInModule": {
|
|
5308
5522
|
"filename": "src/pipeline-segment.ts",
|
|
5309
|
-
"line":
|
|
5523
|
+
"line": 104
|
|
5310
5524
|
},
|
|
5311
|
-
"name": "
|
|
5525
|
+
"name": "name",
|
|
5526
|
+
"overrides": "@flit/cdk-pipeline.SegmentConstructed",
|
|
5312
5527
|
"type": {
|
|
5313
|
-
"
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5528
|
+
"primitive": "string"
|
|
5529
|
+
}
|
|
5530
|
+
}
|
|
5531
|
+
],
|
|
5532
|
+
"symbolId": "src/pipeline-segment:PipelineSegmentConstructed"
|
|
5533
|
+
},
|
|
5534
|
+
"@flit/cdk-pipeline.PipelineSegmentConstructedProps": {
|
|
5535
|
+
"assembly": "@flit/cdk-pipeline",
|
|
5536
|
+
"datatype": true,
|
|
5537
|
+
"docs": {
|
|
5538
|
+
"stability": "stable"
|
|
5539
|
+
},
|
|
5540
|
+
"fqn": "@flit/cdk-pipeline.PipelineSegmentConstructedProps",
|
|
5541
|
+
"kind": "interface",
|
|
5542
|
+
"locationInModule": {
|
|
5543
|
+
"filename": "src/pipeline-segment.ts",
|
|
5544
|
+
"line": 89
|
|
5545
|
+
},
|
|
5546
|
+
"name": "PipelineSegmentConstructedProps",
|
|
5547
|
+
"properties": [
|
|
5548
|
+
{
|
|
5549
|
+
"abstract": true,
|
|
5550
|
+
"docs": {
|
|
5551
|
+
"stability": "stable"
|
|
5552
|
+
},
|
|
5553
|
+
"immutable": true,
|
|
5554
|
+
"locationInModule": {
|
|
5555
|
+
"filename": "src/pipeline-segment.ts",
|
|
5556
|
+
"line": 96
|
|
5557
|
+
},
|
|
5558
|
+
"name": "input",
|
|
5559
|
+
"type": {
|
|
5560
|
+
"fqn": "@flit/cdk-pipeline.Artifact"
|
|
5561
|
+
}
|
|
5562
|
+
},
|
|
5563
|
+
{
|
|
5564
|
+
"abstract": true,
|
|
5565
|
+
"docs": {
|
|
5566
|
+
"stability": "stable"
|
|
5567
|
+
},
|
|
5568
|
+
"immutable": true,
|
|
5569
|
+
"locationInModule": {
|
|
5570
|
+
"filename": "src/pipeline-segment.ts",
|
|
5571
|
+
"line": 91
|
|
5572
|
+
},
|
|
5573
|
+
"name": "project",
|
|
5574
|
+
"type": {
|
|
5575
|
+
"fqn": "aws-cdk-lib.aws_codebuild.ProjectProps"
|
|
5576
|
+
}
|
|
5577
|
+
},
|
|
5578
|
+
{
|
|
5579
|
+
"abstract": true,
|
|
5580
|
+
"docs": {
|
|
5581
|
+
"stability": "stable"
|
|
5582
|
+
},
|
|
5583
|
+
"immutable": true,
|
|
5584
|
+
"locationInModule": {
|
|
5585
|
+
"filename": "src/pipeline-segment.ts",
|
|
5586
|
+
"line": 90
|
|
5587
|
+
},
|
|
5588
|
+
"name": "stack",
|
|
5589
|
+
"type": {
|
|
5590
|
+
"fqn": "aws-cdk-lib.Stack"
|
|
5591
|
+
}
|
|
5592
|
+
},
|
|
5593
|
+
{
|
|
5594
|
+
"abstract": true,
|
|
5595
|
+
"docs": {
|
|
5596
|
+
"stability": "stable"
|
|
5597
|
+
},
|
|
5598
|
+
"immutable": true,
|
|
5599
|
+
"locationInModule": {
|
|
5600
|
+
"filename": "src/pipeline-segment.ts",
|
|
5601
|
+
"line": 94
|
|
5602
|
+
},
|
|
5603
|
+
"name": "account",
|
|
5604
|
+
"optional": true,
|
|
5605
|
+
"type": {
|
|
5606
|
+
"primitive": "string"
|
|
5607
|
+
}
|
|
5608
|
+
},
|
|
5609
|
+
{
|
|
5610
|
+
"abstract": true,
|
|
5611
|
+
"docs": {
|
|
5612
|
+
"stability": "stable"
|
|
5613
|
+
},
|
|
5614
|
+
"immutable": true,
|
|
5615
|
+
"locationInModule": {
|
|
5616
|
+
"filename": "src/pipeline-segment.ts",
|
|
5617
|
+
"line": 92
|
|
5618
|
+
},
|
|
5619
|
+
"name": "environmentVariables",
|
|
5620
|
+
"optional": true,
|
|
5621
|
+
"type": {
|
|
5622
|
+
"collection": {
|
|
5623
|
+
"elementtype": {
|
|
5624
|
+
"fqn": "aws-cdk-lib.aws_codebuild.BuildEnvironmentVariable"
|
|
5625
|
+
},
|
|
5626
|
+
"kind": "map"
|
|
5627
|
+
}
|
|
5628
|
+
}
|
|
5629
|
+
},
|
|
5630
|
+
{
|
|
5631
|
+
"abstract": true,
|
|
5632
|
+
"docs": {
|
|
5633
|
+
"stability": "stable"
|
|
5634
|
+
},
|
|
5635
|
+
"immutable": true,
|
|
5636
|
+
"locationInModule": {
|
|
5637
|
+
"filename": "src/pipeline-segment.ts",
|
|
5638
|
+
"line": 97
|
|
5639
|
+
},
|
|
5640
|
+
"name": "extraInputs",
|
|
5641
|
+
"optional": true,
|
|
5642
|
+
"type": {
|
|
5643
|
+
"collection": {
|
|
5644
|
+
"elementtype": {
|
|
5645
|
+
"fqn": "@flit/cdk-pipeline.Artifact"
|
|
5646
|
+
},
|
|
5647
|
+
"kind": "array"
|
|
5648
|
+
}
|
|
5649
|
+
}
|
|
5650
|
+
},
|
|
5651
|
+
{
|
|
5652
|
+
"abstract": true,
|
|
5653
|
+
"docs": {
|
|
5654
|
+
"stability": "stable"
|
|
5655
|
+
},
|
|
5656
|
+
"immutable": true,
|
|
5657
|
+
"locationInModule": {
|
|
5658
|
+
"filename": "src/pipeline-segment.ts",
|
|
5659
|
+
"line": 100
|
|
5660
|
+
},
|
|
5661
|
+
"name": "manualApproval",
|
|
5662
|
+
"optional": true,
|
|
5663
|
+
"type": {
|
|
5664
|
+
"primitive": "boolean"
|
|
5665
|
+
}
|
|
5666
|
+
},
|
|
5667
|
+
{
|
|
5668
|
+
"abstract": true,
|
|
5669
|
+
"docs": {
|
|
5670
|
+
"stability": "stable"
|
|
5671
|
+
},
|
|
5672
|
+
"immutable": true,
|
|
5673
|
+
"locationInModule": {
|
|
5674
|
+
"filename": "src/pipeline-segment.ts",
|
|
5675
|
+
"line": 98
|
|
5676
|
+
},
|
|
5677
|
+
"name": "output",
|
|
5678
|
+
"optional": true,
|
|
5679
|
+
"type": {
|
|
5680
|
+
"fqn": "@flit/cdk-pipeline.Artifact"
|
|
5681
|
+
}
|
|
5682
|
+
},
|
|
5683
|
+
{
|
|
5684
|
+
"abstract": true,
|
|
5685
|
+
"docs": {
|
|
5686
|
+
"stability": "stable"
|
|
5687
|
+
},
|
|
5688
|
+
"immutable": true,
|
|
5689
|
+
"locationInModule": {
|
|
5690
|
+
"filename": "src/pipeline-segment.ts",
|
|
5691
|
+
"line": 99
|
|
5692
|
+
},
|
|
5693
|
+
"name": "outputFileName",
|
|
5694
|
+
"optional": true,
|
|
5695
|
+
"type": {
|
|
5696
|
+
"primitive": "string"
|
|
5697
|
+
}
|
|
5698
|
+
},
|
|
5699
|
+
{
|
|
5700
|
+
"abstract": true,
|
|
5701
|
+
"docs": {
|
|
5702
|
+
"stability": "stable"
|
|
5703
|
+
},
|
|
5704
|
+
"immutable": true,
|
|
5705
|
+
"locationInModule": {
|
|
5706
|
+
"filename": "src/pipeline-segment.ts",
|
|
5707
|
+
"line": 95
|
|
5708
|
+
},
|
|
5709
|
+
"name": "region",
|
|
5710
|
+
"optional": true,
|
|
5711
|
+
"type": {
|
|
5712
|
+
"primitive": "string"
|
|
5713
|
+
}
|
|
5714
|
+
},
|
|
5715
|
+
{
|
|
5716
|
+
"abstract": true,
|
|
5717
|
+
"docs": {
|
|
5718
|
+
"stability": "stable"
|
|
5719
|
+
},
|
|
5720
|
+
"immutable": true,
|
|
5721
|
+
"locationInModule": {
|
|
5722
|
+
"filename": "src/pipeline-segment.ts",
|
|
5723
|
+
"line": 93
|
|
5724
|
+
},
|
|
5725
|
+
"name": "stackName",
|
|
5726
|
+
"optional": true,
|
|
5727
|
+
"type": {
|
|
5728
|
+
"primitive": "string"
|
|
5729
|
+
}
|
|
5730
|
+
}
|
|
5731
|
+
],
|
|
5732
|
+
"symbolId": "src/pipeline-segment:PipelineSegmentConstructedProps"
|
|
5733
|
+
},
|
|
5734
|
+
"@flit/cdk-pipeline.PipelineSegmentProps": {
|
|
5735
|
+
"assembly": "@flit/cdk-pipeline",
|
|
5736
|
+
"datatype": true,
|
|
5737
|
+
"docs": {
|
|
5738
|
+
"stability": "stable"
|
|
5739
|
+
},
|
|
5740
|
+
"fqn": "@flit/cdk-pipeline.PipelineSegmentProps",
|
|
5741
|
+
"kind": "interface",
|
|
5742
|
+
"locationInModule": {
|
|
5743
|
+
"filename": "src/pipeline-segment.ts",
|
|
5744
|
+
"line": 23
|
|
5745
|
+
},
|
|
5746
|
+
"name": "PipelineSegmentProps",
|
|
5747
|
+
"properties": [
|
|
5748
|
+
{
|
|
5749
|
+
"abstract": true,
|
|
5750
|
+
"docs": {
|
|
5751
|
+
"stability": "stable",
|
|
5752
|
+
"summary": "The input arfifact for the build stage."
|
|
5753
|
+
},
|
|
5754
|
+
"immutable": true,
|
|
5755
|
+
"locationInModule": {
|
|
5756
|
+
"filename": "src/pipeline-segment.ts",
|
|
5757
|
+
"line": 27
|
|
5758
|
+
},
|
|
5759
|
+
"name": "input",
|
|
5760
|
+
"type": {
|
|
5761
|
+
"union": {
|
|
5762
|
+
"types": [
|
|
5763
|
+
{
|
|
5764
|
+
"fqn": "@flit/cdk-pipeline.Artifact"
|
|
5765
|
+
},
|
|
5766
|
+
{
|
|
5767
|
+
"collection": {
|
|
5768
|
+
"elementtype": {
|
|
5769
|
+
"fqn": "@flit/cdk-pipeline.Artifact"
|
|
5770
|
+
},
|
|
5771
|
+
"kind": "array"
|
|
5772
|
+
}
|
|
5325
5773
|
}
|
|
5326
5774
|
]
|
|
5327
5775
|
}
|
|
5328
5776
|
}
|
|
5329
5777
|
},
|
|
5778
|
+
{
|
|
5779
|
+
"abstract": true,
|
|
5780
|
+
"docs": {
|
|
5781
|
+
"example": "\"cdk synth StackName --strict --exclusively\"",
|
|
5782
|
+
"stability": "stable",
|
|
5783
|
+
"summary": "The command(s) to build the stack."
|
|
5784
|
+
},
|
|
5785
|
+
"immutable": true,
|
|
5786
|
+
"locationInModule": {
|
|
5787
|
+
"filename": "src/pipeline-segment.ts",
|
|
5788
|
+
"line": 32
|
|
5789
|
+
},
|
|
5790
|
+
"name": "project",
|
|
5791
|
+
"type": {
|
|
5792
|
+
"fqn": "aws-cdk-lib.aws_codebuild.ProjectProps"
|
|
5793
|
+
}
|
|
5794
|
+
},
|
|
5330
5795
|
{
|
|
5331
5796
|
"abstract": true,
|
|
5332
5797
|
"docs": {
|
|
@@ -5336,7 +5801,7 @@
|
|
|
5336
5801
|
"immutable": true,
|
|
5337
5802
|
"locationInModule": {
|
|
5338
5803
|
"filename": "src/pipeline-segment.ts",
|
|
5339
|
-
"line":
|
|
5804
|
+
"line": 45
|
|
5340
5805
|
},
|
|
5341
5806
|
"name": "account",
|
|
5342
5807
|
"optional": true,
|
|
@@ -5353,7 +5818,7 @@
|
|
|
5353
5818
|
"immutable": true,
|
|
5354
5819
|
"locationInModule": {
|
|
5355
5820
|
"filename": "src/pipeline-segment.ts",
|
|
5356
|
-
"line":
|
|
5821
|
+
"line": 36
|
|
5357
5822
|
},
|
|
5358
5823
|
"name": "environmentVariables",
|
|
5359
5824
|
"optional": true,
|
|
@@ -5376,7 +5841,7 @@
|
|
|
5376
5841
|
"immutable": true,
|
|
5377
5842
|
"locationInModule": {
|
|
5378
5843
|
"filename": "src/pipeline-segment.ts",
|
|
5379
|
-
"line":
|
|
5844
|
+
"line": 64
|
|
5380
5845
|
},
|
|
5381
5846
|
"name": "manualApproval",
|
|
5382
5847
|
"optional": true,
|
|
@@ -5394,7 +5859,7 @@
|
|
|
5394
5859
|
"immutable": true,
|
|
5395
5860
|
"locationInModule": {
|
|
5396
5861
|
"filename": "src/pipeline-segment.ts",
|
|
5397
|
-
"line":
|
|
5862
|
+
"line": 54
|
|
5398
5863
|
},
|
|
5399
5864
|
"name": "output",
|
|
5400
5865
|
"optional": true,
|
|
@@ -5412,7 +5877,7 @@
|
|
|
5412
5877
|
"immutable": true,
|
|
5413
5878
|
"locationInModule": {
|
|
5414
5879
|
"filename": "src/pipeline-segment.ts",
|
|
5415
|
-
"line":
|
|
5880
|
+
"line": 59
|
|
5416
5881
|
},
|
|
5417
5882
|
"name": "outputFileName",
|
|
5418
5883
|
"optional": true,
|
|
@@ -5429,7 +5894,7 @@
|
|
|
5429
5894
|
"immutable": true,
|
|
5430
5895
|
"locationInModule": {
|
|
5431
5896
|
"filename": "src/pipeline-segment.ts",
|
|
5432
|
-
"line":
|
|
5897
|
+
"line": 49
|
|
5433
5898
|
},
|
|
5434
5899
|
"name": "region",
|
|
5435
5900
|
"optional": true,
|
|
@@ -5449,7 +5914,7 @@
|
|
|
5449
5914
|
"immutable": true,
|
|
5450
5915
|
"locationInModule": {
|
|
5451
5916
|
"filename": "src/pipeline-segment.ts",
|
|
5452
|
-
"line":
|
|
5917
|
+
"line": 41
|
|
5453
5918
|
},
|
|
5454
5919
|
"name": "stackName",
|
|
5455
5920
|
"optional": true,
|
|
@@ -6226,7 +6691,7 @@
|
|
|
6226
6691
|
},
|
|
6227
6692
|
"locationInModule": {
|
|
6228
6693
|
"filename": "src/construct.ts",
|
|
6229
|
-
"line":
|
|
6694
|
+
"line": 481
|
|
6230
6695
|
},
|
|
6231
6696
|
"parameters": [
|
|
6232
6697
|
{
|
|
@@ -6624,35 +7089,6 @@
|
|
|
6624
7089
|
},
|
|
6625
7090
|
"name": "StackSegmentConstructedProps",
|
|
6626
7091
|
"properties": [
|
|
6627
|
-
{
|
|
6628
|
-
"abstract": true,
|
|
6629
|
-
"docs": {
|
|
6630
|
-
"stability": "stable"
|
|
6631
|
-
},
|
|
6632
|
-
"immutable": true,
|
|
6633
|
-
"locationInModule": {
|
|
6634
|
-
"filename": "src/stack-segment.ts",
|
|
6635
|
-
"line": 102
|
|
6636
|
-
},
|
|
6637
|
-
"name": "command",
|
|
6638
|
-
"type": {
|
|
6639
|
-
"union": {
|
|
6640
|
-
"types": [
|
|
6641
|
-
{
|
|
6642
|
-
"primitive": "string"
|
|
6643
|
-
},
|
|
6644
|
-
{
|
|
6645
|
-
"collection": {
|
|
6646
|
-
"elementtype": {
|
|
6647
|
-
"primitive": "string"
|
|
6648
|
-
},
|
|
6649
|
-
"kind": "array"
|
|
6650
|
-
}
|
|
6651
|
-
}
|
|
6652
|
-
]
|
|
6653
|
-
}
|
|
6654
|
-
}
|
|
6655
|
-
},
|
|
6656
7092
|
{
|
|
6657
7093
|
"abstract": true,
|
|
6658
7094
|
"docs": {
|
|
@@ -6789,6 +7225,22 @@
|
|
|
6789
7225
|
"primitive": "string"
|
|
6790
7226
|
}
|
|
6791
7227
|
},
|
|
7228
|
+
{
|
|
7229
|
+
"abstract": true,
|
|
7230
|
+
"docs": {
|
|
7231
|
+
"stability": "stable"
|
|
7232
|
+
},
|
|
7233
|
+
"immutable": true,
|
|
7234
|
+
"locationInModule": {
|
|
7235
|
+
"filename": "src/stack-segment.ts",
|
|
7236
|
+
"line": 102
|
|
7237
|
+
},
|
|
7238
|
+
"name": "project",
|
|
7239
|
+
"optional": true,
|
|
7240
|
+
"type": {
|
|
7241
|
+
"fqn": "aws-cdk-lib.aws_codebuild.ProjectProps"
|
|
7242
|
+
}
|
|
7243
|
+
},
|
|
6792
7244
|
{
|
|
6793
7245
|
"abstract": true,
|
|
6794
7246
|
"docs": {
|
|
@@ -6838,37 +7290,6 @@
|
|
|
6838
7290
|
},
|
|
6839
7291
|
"name": "StackSegmentProps",
|
|
6840
7292
|
"properties": [
|
|
6841
|
-
{
|
|
6842
|
-
"abstract": true,
|
|
6843
|
-
"docs": {
|
|
6844
|
-
"example": "\"cdk synth StackName --strict --exclusively\"",
|
|
6845
|
-
"stability": "stable",
|
|
6846
|
-
"summary": "The command(s) to build the stack."
|
|
6847
|
-
},
|
|
6848
|
-
"immutable": true,
|
|
6849
|
-
"locationInModule": {
|
|
6850
|
-
"filename": "src/stack-segment.ts",
|
|
6851
|
-
"line": 37
|
|
6852
|
-
},
|
|
6853
|
-
"name": "command",
|
|
6854
|
-
"type": {
|
|
6855
|
-
"union": {
|
|
6856
|
-
"types": [
|
|
6857
|
-
{
|
|
6858
|
-
"primitive": "string"
|
|
6859
|
-
},
|
|
6860
|
-
{
|
|
6861
|
-
"collection": {
|
|
6862
|
-
"elementtype": {
|
|
6863
|
-
"primitive": "string"
|
|
6864
|
-
},
|
|
6865
|
-
"kind": "array"
|
|
6866
|
-
}
|
|
6867
|
-
}
|
|
6868
|
-
]
|
|
6869
|
-
}
|
|
6870
|
-
}
|
|
6871
|
-
},
|
|
6872
7293
|
{
|
|
6873
7294
|
"abstract": true,
|
|
6874
7295
|
"docs": {
|
|
@@ -7008,6 +7429,24 @@
|
|
|
7008
7429
|
"primitive": "string"
|
|
7009
7430
|
}
|
|
7010
7431
|
},
|
|
7432
|
+
{
|
|
7433
|
+
"abstract": true,
|
|
7434
|
+
"docs": {
|
|
7435
|
+
"example": "\"cdk synth StackName --strict --exclusively\"",
|
|
7436
|
+
"stability": "stable",
|
|
7437
|
+
"summary": "The command(s) to build the stack."
|
|
7438
|
+
},
|
|
7439
|
+
"immutable": true,
|
|
7440
|
+
"locationInModule": {
|
|
7441
|
+
"filename": "src/stack-segment.ts",
|
|
7442
|
+
"line": 37
|
|
7443
|
+
},
|
|
7444
|
+
"name": "project",
|
|
7445
|
+
"optional": true,
|
|
7446
|
+
"type": {
|
|
7447
|
+
"fqn": "aws-cdk-lib.aws_codebuild.ProjectProps"
|
|
7448
|
+
}
|
|
7449
|
+
},
|
|
7011
7450
|
{
|
|
7012
7451
|
"abstract": true,
|
|
7013
7452
|
"docs": {
|
|
@@ -7066,6 +7505,6 @@
|
|
|
7066
7505
|
"symbolId": "src/stack-segment:StackSegmentProps"
|
|
7067
7506
|
}
|
|
7068
7507
|
},
|
|
7069
|
-
"version": "1.0.
|
|
7070
|
-
"fingerprint": "
|
|
7508
|
+
"version": "1.0.26",
|
|
7509
|
+
"fingerprint": "M6nmsPKm6+3Q+yt5clyLrZx88sExLSkzK+ML5qtYvY8="
|
|
7071
7510
|
}
|