@flit/cdk-pipeline 1.0.24 → 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 CHANGED
@@ -8,8 +8,8 @@
8
8
  "url": "https://github.com/p-mercury"
9
9
  },
10
10
  "dependencies": {
11
- "aws-cdk-lib": "^2.118.0",
12
- "constructs": "^10.3.0"
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
- "aws-cdk-lib.aws_apigatewayv2_integrations": {},
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
- "namespace": "Amazon.CDK.AWS.Bedrock"
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": {
@@ -979,6 +1098,19 @@
979
1098
  }
980
1099
  }
981
1100
  },
1101
+ "aws-cdk-lib.aws_datazone": {
1102
+ "targets": {
1103
+ "dotnet": {
1104
+ "package": "Amazon.CDK.AWS.DataZone"
1105
+ },
1106
+ "java": {
1107
+ "package": "software.amazon.awscdk.services.datazone"
1108
+ },
1109
+ "python": {
1110
+ "module": "aws_cdk.aws_datazone"
1111
+ }
1112
+ }
1113
+ },
982
1114
  "aws-cdk-lib.aws_dax": {
983
1115
  "targets": {
984
1116
  "dotnet": {
@@ -992,6 +1124,19 @@
992
1124
  }
993
1125
  }
994
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
+ },
995
1140
  "aws-cdk-lib.aws_detective": {
996
1141
  "targets": {
997
1142
  "dotnet": {
@@ -2045,6 +2190,19 @@
2045
2190
  }
2046
2191
  }
2047
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
+ },
2048
2206
  "aws-cdk-lib.aws_lex": {
2049
2207
  "targets": {
2050
2208
  "dotnet": {
@@ -2513,6 +2671,19 @@
2513
2671
  }
2514
2672
  }
2515
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
+ },
2516
2687
  "aws-cdk-lib.aws_pcaconnectorad": {
2517
2688
  "targets": {
2518
2689
  "dotnet": {
@@ -2526,6 +2697,19 @@
2526
2697
  }
2527
2698
  }
2528
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
+ },
2529
2713
  "aws-cdk-lib.aws_personalize": {
2530
2714
  "targets": {
2531
2715
  "dotnet": {
@@ -2591,6 +2775,19 @@
2591
2775
  }
2592
2776
  }
2593
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
+ },
2594
2791
  "aws-cdk-lib.aws_qldb": {
2595
2792
  "targets": {
2596
2793
  "dotnet": {
@@ -2799,6 +2996,19 @@
2799
2996
  }
2800
2997
  }
2801
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
+ },
2802
3012
  "aws-cdk-lib.aws_route53recoverycontrol": {
2803
3013
  "targets": {
2804
3014
  "dotnet": {
@@ -3020,6 +3230,19 @@
3020
3230
  }
3021
3231
  }
3022
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
+ },
3023
3246
  "aws-cdk-lib.aws_servicecatalog": {
3024
3247
  "targets": {
3025
3248
  "dotnet": {
@@ -3202,6 +3425,19 @@
3202
3425
  }
3203
3426
  }
3204
3427
  },
3428
+ "aws-cdk-lib.aws_ssmquicksetup": {
3429
+ "targets": {
3430
+ "dotnet": {
3431
+ "package": "Amazon.CDK.AWS.SSMQuickSetup"
3432
+ },
3433
+ "java": {
3434
+ "package": "software.amazon.awscdk.services.ssmquicksetup"
3435
+ },
3436
+ "python": {
3437
+ "module": "aws_cdk.aws_ssmquicksetup"
3438
+ }
3439
+ }
3440
+ },
3205
3441
  "aws-cdk-lib.aws_sso": {
3206
3442
  "targets": {
3207
3443
  "dotnet": {
@@ -3449,19 +3685,7 @@
3449
3685
  }
3450
3686
  }
3451
3687
  },
3452
- "aws-cdk-lib.cloud_assembly_schema": {
3453
- "targets": {
3454
- "dotnet": {
3455
- "namespace": "Amazon.CDK.CloudAssembly.Schema"
3456
- },
3457
- "java": {
3458
- "package": "software.amazon.awscdk.cloudassembly.schema"
3459
- },
3460
- "python": {
3461
- "module": "aws_cdk.cloud_assembly_schema"
3462
- }
3463
- }
3464
- },
3688
+ "aws-cdk-lib.cloud_assembly_schema": {},
3465
3689
  "aws-cdk-lib.cloudformation_include": {
3466
3690
  "targets": {
3467
3691
  "dotnet": {
@@ -3637,7 +3861,7 @@
3637
3861
  "stability": "stable"
3638
3862
  },
3639
3863
  "homepage": "https://p-mercury.github.io/jumper-de/modules/_flit_cdk_pipeline",
3640
- "jsiiVersion": "5.3.2 (build 6cb444d)",
3864
+ "jsiiVersion": "5.5.4 (build 1378d94)",
3641
3865
  "keywords": [
3642
3866
  "aws",
3643
3867
  "cdk",
@@ -3658,7 +3882,7 @@
3658
3882
  },
3659
3883
  "name": "@flit/cdk-pipeline",
3660
3884
  "readme": {
3661
- "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 linked documentation provides the tools and documentation to get your own pipeline up and running and build your own custom segments.\n\n### [Documentation](https://docs.jumper.de/modules/_flit_cdk_pipeline.html)\n"
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"
3662
3886
  },
3663
3887
  "repository": {
3664
3888
  "type": "git",
@@ -4970,7 +5194,7 @@
4970
5194
  },
4971
5195
  "locationInModule": {
4972
5196
  "filename": "src/pipeline.ts",
4973
- "line": 36
5197
+ "line": 40
4974
5198
  },
4975
5199
  "parameters": [
4976
5200
  {
@@ -4996,7 +5220,7 @@
4996
5220
  "kind": "class",
4997
5221
  "locationInModule": {
4998
5222
  "filename": "src/pipeline.ts",
4999
- "line": 31
5223
+ "line": 35
5000
5224
  },
5001
5225
  "name": "Pipeline",
5002
5226
  "properties": [
@@ -5007,7 +5231,7 @@
5007
5231
  "immutable": true,
5008
5232
  "locationInModule": {
5009
5233
  "filename": "src/pipeline.ts",
5010
- "line": 34
5234
+ "line": 38
5011
5235
  },
5012
5236
  "name": "buildDir",
5013
5237
  "type": {
@@ -5021,7 +5245,7 @@
5021
5245
  "immutable": true,
5022
5246
  "locationInModule": {
5023
5247
  "filename": "src/pipeline.ts",
5024
- "line": 32
5248
+ "line": 36
5025
5249
  },
5026
5250
  "name": "pipelineName",
5027
5251
  "type": {
@@ -5035,7 +5259,7 @@
5035
5259
  "immutable": true,
5036
5260
  "locationInModule": {
5037
5261
  "filename": "src/pipeline.ts",
5038
- "line": 39
5262
+ "line": 43
5039
5263
  },
5040
5264
  "name": "props",
5041
5265
  "type": {
@@ -5049,7 +5273,7 @@
5049
5273
  "immutable": true,
5050
5274
  "locationInModule": {
5051
5275
  "filename": "src/pipeline.ts",
5052
- "line": 33
5276
+ "line": 37
5053
5277
  },
5054
5278
  "name": "rootDir",
5055
5279
  "type": {
@@ -5072,7 +5296,7 @@
5072
5296
  "kind": "interface",
5073
5297
  "locationInModule": {
5074
5298
  "filename": "src/pipeline.ts",
5075
- "line": 11
5299
+ "line": 15
5076
5300
  },
5077
5301
  "name": "PipelineProps",
5078
5302
  "properties": [
@@ -5085,7 +5309,7 @@
5085
5309
  "immutable": true,
5086
5310
  "locationInModule": {
5087
5311
  "filename": "src/pipeline.ts",
5088
- "line": 21
5312
+ "line": 25
5089
5313
  },
5090
5314
  "name": "rootDir",
5091
5315
  "type": {
@@ -5101,7 +5325,7 @@
5101
5325
  "immutable": true,
5102
5326
  "locationInModule": {
5103
5327
  "filename": "src/pipeline.ts",
5104
- "line": 25
5328
+ "line": 29
5105
5329
  },
5106
5330
  "name": "segments",
5107
5331
  "type": {
@@ -5123,7 +5347,7 @@
5123
5347
  "immutable": true,
5124
5348
  "locationInModule": {
5125
5349
  "filename": "src/pipeline.ts",
5126
- "line": 16
5350
+ "line": 20
5127
5351
  },
5128
5352
  "name": "pipelineName",
5129
5353
  "optional": true,
@@ -5150,7 +5374,7 @@
5150
5374
  },
5151
5375
  "locationInModule": {
5152
5376
  "filename": "src/pipeline-segment.ts",
5153
- "line": 59
5377
+ "line": 74
5154
5378
  },
5155
5379
  "parameters": [
5156
5380
  {
@@ -5164,7 +5388,7 @@
5164
5388
  "kind": "class",
5165
5389
  "locationInModule": {
5166
5390
  "filename": "src/pipeline-segment.ts",
5167
- "line": 55
5391
+ "line": 70
5168
5392
  },
5169
5393
  "methods": [
5170
5394
  {
@@ -5173,7 +5397,7 @@
5173
5397
  },
5174
5398
  "locationInModule": {
5175
5399
  "filename": "src/pipeline-segment.ts",
5176
- "line": 64
5400
+ "line": 79
5177
5401
  },
5178
5402
  "name": "construct",
5179
5403
  "overrides": "@flit/cdk-pipeline.Segment",
@@ -5201,7 +5425,7 @@
5201
5425
  "immutable": true,
5202
5426
  "locationInModule": {
5203
5427
  "filename": "src/pipeline-segment.ts",
5204
- "line": 56
5428
+ "line": 71
5205
5429
  },
5206
5430
  "name": "isPipeline",
5207
5431
  "overrides": "@flit/cdk-pipeline.Segment",
@@ -5216,7 +5440,7 @@
5216
5440
  "immutable": true,
5217
5441
  "locationInModule": {
5218
5442
  "filename": "src/pipeline-segment.ts",
5219
- "line": 57
5443
+ "line": 72
5220
5444
  },
5221
5445
  "name": "props",
5222
5446
  "type": {
@@ -5226,66 +5450,316 @@
5226
5450
  ],
5227
5451
  "symbolId": "src/pipeline-segment:PipelineSegment"
5228
5452
  },
5229
- "@flit/cdk-pipeline.PipelineSegmentProps": {
5453
+ "@flit/cdk-pipeline.PipelineSegmentConstructed": {
5230
5454
  "assembly": "@flit/cdk-pipeline",
5231
- "datatype": true,
5455
+ "base": "@flit/cdk-pipeline.SegmentConstructed",
5232
5456
  "docs": {
5233
5457
  "stability": "stable"
5234
5458
  },
5235
- "fqn": "@flit/cdk-pipeline.PipelineSegmentProps",
5236
- "kind": "interface",
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",
5237
5490
  "locationInModule": {
5238
5491
  "filename": "src/pipeline-segment.ts",
5239
- "line": 8
5492
+ "line": 103
5240
5493
  },
5241
- "name": "PipelineSegmentProps",
5494
+ "name": "PipelineSegmentConstructed",
5242
5495
  "properties": [
5243
5496
  {
5244
- "abstract": true,
5245
5497
  "docs": {
5246
- "example": "\"cdk synth StackName --strict --exclusively\"",
5247
- "stability": "stable",
5248
- "summary": "The command(s) to build the stack."
5498
+ "stability": "stable"
5249
5499
  },
5250
5500
  "immutable": true,
5251
5501
  "locationInModule": {
5252
5502
  "filename": "src/pipeline-segment.ts",
5253
- "line": 17
5503
+ "line": 105
5254
5504
  },
5255
- "name": "command",
5505
+ "name": "actions",
5506
+ "overrides": "@flit/cdk-pipeline.SegmentConstructed",
5256
5507
  "type": {
5257
- "union": {
5258
- "types": [
5259
- {
5260
- "primitive": "string"
5261
- },
5262
- {
5263
- "collection": {
5264
- "elementtype": {
5265
- "primitive": "string"
5266
- },
5267
- "kind": "array"
5268
- }
5269
- }
5270
- ]
5508
+ "collection": {
5509
+ "elementtype": {
5510
+ "fqn": "aws-cdk-lib.aws_codepipeline.IAction"
5511
+ },
5512
+ "kind": "array"
5271
5513
  }
5272
5514
  }
5273
5515
  },
5274
5516
  {
5275
- "abstract": true,
5276
5517
  "docs": {
5277
- "stability": "stable",
5278
- "summary": "The input arfifact for the build stage."
5518
+ "stability": "stable"
5279
5519
  },
5280
5520
  "immutable": true,
5281
5521
  "locationInModule": {
5282
5522
  "filename": "src/pipeline-segment.ts",
5283
- "line": 12
5523
+ "line": 104
5284
5524
  },
5285
- "name": "input",
5525
+ "name": "name",
5526
+ "overrides": "@flit/cdk-pipeline.SegmentConstructed",
5286
5527
  "type": {
5287
- "union": {
5288
- "types": [
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": [
5289
5763
  {
5290
5764
  "fqn": "@flit/cdk-pipeline.Artifact"
5291
5765
  },
@@ -5301,6 +5775,23 @@
5301
5775
  }
5302
5776
  }
5303
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
+ },
5304
5795
  {
5305
5796
  "abstract": true,
5306
5797
  "docs": {
@@ -5310,7 +5801,7 @@
5310
5801
  "immutable": true,
5311
5802
  "locationInModule": {
5312
5803
  "filename": "src/pipeline-segment.ts",
5313
- "line": 30
5804
+ "line": 45
5314
5805
  },
5315
5806
  "name": "account",
5316
5807
  "optional": true,
@@ -5327,7 +5818,7 @@
5327
5818
  "immutable": true,
5328
5819
  "locationInModule": {
5329
5820
  "filename": "src/pipeline-segment.ts",
5330
- "line": 21
5821
+ "line": 36
5331
5822
  },
5332
5823
  "name": "environmentVariables",
5333
5824
  "optional": true,
@@ -5350,7 +5841,7 @@
5350
5841
  "immutable": true,
5351
5842
  "locationInModule": {
5352
5843
  "filename": "src/pipeline-segment.ts",
5353
- "line": 49
5844
+ "line": 64
5354
5845
  },
5355
5846
  "name": "manualApproval",
5356
5847
  "optional": true,
@@ -5368,7 +5859,7 @@
5368
5859
  "immutable": true,
5369
5860
  "locationInModule": {
5370
5861
  "filename": "src/pipeline-segment.ts",
5371
- "line": 39
5862
+ "line": 54
5372
5863
  },
5373
5864
  "name": "output",
5374
5865
  "optional": true,
@@ -5386,7 +5877,7 @@
5386
5877
  "immutable": true,
5387
5878
  "locationInModule": {
5388
5879
  "filename": "src/pipeline-segment.ts",
5389
- "line": 44
5880
+ "line": 59
5390
5881
  },
5391
5882
  "name": "outputFileName",
5392
5883
  "optional": true,
@@ -5403,7 +5894,7 @@
5403
5894
  "immutable": true,
5404
5895
  "locationInModule": {
5405
5896
  "filename": "src/pipeline-segment.ts",
5406
- "line": 34
5897
+ "line": 49
5407
5898
  },
5408
5899
  "name": "region",
5409
5900
  "optional": true,
@@ -5423,7 +5914,7 @@
5423
5914
  "immutable": true,
5424
5915
  "locationInModule": {
5425
5916
  "filename": "src/pipeline-segment.ts",
5426
- "line": 26
5917
+ "line": 41
5427
5918
  },
5428
5919
  "name": "stackName",
5429
5920
  "optional": true,
@@ -6200,7 +6691,7 @@
6200
6691
  },
6201
6692
  "locationInModule": {
6202
6693
  "filename": "src/construct.ts",
6203
- "line": 498
6694
+ "line": 481
6204
6695
  },
6205
6696
  "parameters": [
6206
6697
  {
@@ -6598,35 +7089,6 @@
6598
7089
  },
6599
7090
  "name": "StackSegmentConstructedProps",
6600
7091
  "properties": [
6601
- {
6602
- "abstract": true,
6603
- "docs": {
6604
- "stability": "stable"
6605
- },
6606
- "immutable": true,
6607
- "locationInModule": {
6608
- "filename": "src/stack-segment.ts",
6609
- "line": 102
6610
- },
6611
- "name": "command",
6612
- "type": {
6613
- "union": {
6614
- "types": [
6615
- {
6616
- "primitive": "string"
6617
- },
6618
- {
6619
- "collection": {
6620
- "elementtype": {
6621
- "primitive": "string"
6622
- },
6623
- "kind": "array"
6624
- }
6625
- }
6626
- ]
6627
- }
6628
- }
6629
- },
6630
7092
  {
6631
7093
  "abstract": true,
6632
7094
  "docs": {
@@ -6763,6 +7225,22 @@
6763
7225
  "primitive": "string"
6764
7226
  }
6765
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
+ },
6766
7244
  {
6767
7245
  "abstract": true,
6768
7246
  "docs": {
@@ -6812,37 +7290,6 @@
6812
7290
  },
6813
7291
  "name": "StackSegmentProps",
6814
7292
  "properties": [
6815
- {
6816
- "abstract": true,
6817
- "docs": {
6818
- "example": "\"cdk synth StackName --strict --exclusively\"",
6819
- "stability": "stable",
6820
- "summary": "The command(s) to build the stack."
6821
- },
6822
- "immutable": true,
6823
- "locationInModule": {
6824
- "filename": "src/stack-segment.ts",
6825
- "line": 37
6826
- },
6827
- "name": "command",
6828
- "type": {
6829
- "union": {
6830
- "types": [
6831
- {
6832
- "primitive": "string"
6833
- },
6834
- {
6835
- "collection": {
6836
- "elementtype": {
6837
- "primitive": "string"
6838
- },
6839
- "kind": "array"
6840
- }
6841
- }
6842
- ]
6843
- }
6844
- }
6845
- },
6846
7293
  {
6847
7294
  "abstract": true,
6848
7295
  "docs": {
@@ -6982,6 +7429,24 @@
6982
7429
  "primitive": "string"
6983
7430
  }
6984
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
+ },
6985
7450
  {
6986
7451
  "abstract": true,
6987
7452
  "docs": {
@@ -7040,6 +7505,6 @@
7040
7505
  "symbolId": "src/stack-segment:StackSegmentProps"
7041
7506
  }
7042
7507
  },
7043
- "version": "1.0.24",
7044
- "fingerprint": "HutRHdv8wLvQ26DfwnxVuG3wK1wTY3HFURqiWDAMwds="
7508
+ "version": "1.0.26",
7509
+ "fingerprint": "M6nmsPKm6+3Q+yt5clyLrZx88sExLSkzK+ML5qtYvY8="
7045
7510
  }