@flit/cdk-pipeline 1.0.6 → 1.0.8
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 +379 -58
- package/README.md +3 -3
- package/{dist → lib}/artifact.js +1 -1
- package/{dist → lib}/pipeline-segment.js +1 -1
- package/{dist → lib}/pipeline.js +1 -1
- package/{dist → lib}/publish-assets-action.js +1 -1
- package/{dist → lib}/segment.js +2 -2
- package/{dist → lib}/source-segment.d.ts +31 -4
- package/lib/source-segment.js +74 -0
- package/{dist → lib}/stack-segment.js +2 -2
- package/{dist → lib}/tsconfig.tsbuildinfo +1 -1
- package/package.json +17 -16
- package/dist/source-segment.js +0 -45
- package/src/artifact.ts +0 -24
- package/src/index.ts +0 -7
- package/src/pipeline-segment.ts +0 -68
- package/src/pipeline.ts +0 -94
- package/src/publish-assets-action.ts +0 -126
- package/src/segment.ts +0 -45
- package/src/source-segment.ts +0 -71
- package/src/stack-segment.ts +0 -195
- /package/{dist → lib}/artifact.d.ts +0 -0
- /package/{dist → lib}/index.d.ts +0 -0
- /package/{dist → lib}/index.js +0 -0
- /package/{dist → lib}/pipeline-segment.d.ts +0 -0
- /package/{dist → lib}/pipeline.d.ts +0 -0
- /package/{dist → lib}/publish-assets-action.d.ts +0 -0
- /package/{dist → lib}/segment.d.ts +0 -0
- /package/{dist → lib}/stack-segment.d.ts +0 -0
package/.jsii
CHANGED
|
@@ -3408,7 +3408,7 @@
|
|
|
3408
3408
|
}
|
|
3409
3409
|
}
|
|
3410
3410
|
},
|
|
3411
|
-
"description": "
|
|
3411
|
+
"description": "A highly customizable and extensible CI/CD pipeline intended as alternative to CDK's native CodePipeline",
|
|
3412
3412
|
"docs": {
|
|
3413
3413
|
"stability": "stable"
|
|
3414
3414
|
},
|
|
@@ -3417,7 +3417,10 @@
|
|
|
3417
3417
|
"keywords": [
|
|
3418
3418
|
"aws",
|
|
3419
3419
|
"awscdk",
|
|
3420
|
-
"
|
|
3420
|
+
"aws-cdk",
|
|
3421
|
+
"pipeline",
|
|
3422
|
+
"codepipeline",
|
|
3423
|
+
"cicd"
|
|
3421
3424
|
],
|
|
3422
3425
|
"license": "Apache-2.0",
|
|
3423
3426
|
"metadata": {
|
|
@@ -3430,7 +3433,7 @@
|
|
|
3430
3433
|
},
|
|
3431
3434
|
"name": "@flit/cdk-pipeline",
|
|
3432
3435
|
"readme": {
|
|
3433
|
-
"markdown": "# @flit/cdk-pipeline\n\nThis 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\nThis library provides the tools and documentation to get your own pipeline up and running and build your own custom segments.\n\n_**Warning:** This package is EXPERIMENTAL and might undergo breaking changes_\n\n## Table of contents\n\n- [Table of contents](#table-of-contents)\n- [Homepage](https://p-mercury.github.io/jumper-de/modules/_flit_cdk_pipeline)\n- [Usage](#usage)\n - [1. Installation](#1-installation)\n - [2. Basics](#1-basics)\n - [3. Multiple stacks](#3-multiple-stacks)\n - [4. Passing assets](#4-passing-assets)\n - [4. Build your own segment](#3-build-your-own-segment)\n\n## Usage\n\n### 1. Installation\n\n```bash\nnpm i -g @flit/cdk-pipeline\n```\n\n### 2. 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 asset needs to be the output of a 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
|
|
3436
|
+
"markdown": "# @flit/cdk-pipeline\n\nThis 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\nThis library provides the tools and documentation to get your own pipeline up and running and build your own custom segments.\n\n_**Warning:** This package is EXPERIMENTAL and might undergo breaking changes_\n\n## Table of contents\n\n- [Table of contents](#table-of-contents)\n- [Homepage](https://p-mercury.github.io/jumper-de/modules/_flit_cdk_pipeline)\n- [Usage](#usage)\n - [1. Installation](#1-installation)\n - [2. Basics](#1-basics)\n - [3. Multiple stacks](#3-multiple-stacks)\n - [4. Passing assets](#4-passing-assets)\n - [4. Build your own segment](#3-build-your-own-segment)\n\n## Usage\n\n### 1. Installation\n\n```bash\nnpm i -g @flit/cdk-pipeline\n```\n\n### 2. 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 asset needs to be the output of a 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 will 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### 3. 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### 3. Passing assets\n\nIf a segment requires the output artifact of a previous segment it 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### 4. Build your own segment\n\nAn alternative L3 construct which fixes some inherit limitations of the CDK native CodePipeline L3 construct.\n\n```typescript\nimport { App } from \"aws-cdk-lib\";\nimport { Pipeline, StackSegment, Artifact, SourceArtifact } from \"@flit/cdk\";\n```\n"
|
|
3434
3437
|
},
|
|
3435
3438
|
"repository": {
|
|
3436
3439
|
"type": "git",
|
|
@@ -3439,16 +3442,15 @@
|
|
|
3439
3442
|
"schema": "jsii/0.10.0",
|
|
3440
3443
|
"targets": {
|
|
3441
3444
|
"dotnet": {
|
|
3442
|
-
"
|
|
3443
|
-
"
|
|
3444
|
-
"packageId": "Amazon.CDK.Flit.Pipeline"
|
|
3445
|
+
"namespace": "Flit.CDK.Pipeline",
|
|
3446
|
+
"packageId": "Flit.CDK.Pipeline"
|
|
3445
3447
|
},
|
|
3446
3448
|
"java": {
|
|
3447
3449
|
"maven": {
|
|
3448
|
-
"artifactId": "
|
|
3449
|
-
"groupId": "
|
|
3450
|
+
"artifactId": "cdk-pipeline",
|
|
3451
|
+
"groupId": "flit"
|
|
3450
3452
|
},
|
|
3451
|
-
"package": "
|
|
3453
|
+
"package": "flit.cdk-pipeline"
|
|
3452
3454
|
},
|
|
3453
3455
|
"js": {
|
|
3454
3456
|
"npm": "@flit/cdk-pipeline"
|
|
@@ -3458,8 +3460,8 @@
|
|
|
3458
3460
|
"Framework :: AWS CDK",
|
|
3459
3461
|
"Framework :: AWS CDK :: 2"
|
|
3460
3462
|
],
|
|
3461
|
-
"
|
|
3462
|
-
"module": "
|
|
3463
|
+
"libName": "flit.cdk-pipeline",
|
|
3464
|
+
"module": "flit.cdk-pipeline"
|
|
3463
3465
|
}
|
|
3464
3466
|
},
|
|
3465
3467
|
"types": {
|
|
@@ -3561,7 +3563,7 @@
|
|
|
3561
3563
|
"name": "Artifact",
|
|
3562
3564
|
"symbolId": "src/artifact:Artifact"
|
|
3563
3565
|
},
|
|
3564
|
-
"@flit/cdk-pipeline.
|
|
3566
|
+
"@flit/cdk-pipeline.CodeCommitSourceSegment": {
|
|
3565
3567
|
"assembly": "@flit/cdk-pipeline",
|
|
3566
3568
|
"base": "@flit/cdk-pipeline.SourceSegment",
|
|
3567
3569
|
"docs": {
|
|
@@ -3570,7 +3572,7 @@
|
|
|
3570
3572
|
},
|
|
3571
3573
|
"stability": "stable"
|
|
3572
3574
|
},
|
|
3573
|
-
"fqn": "@flit/cdk-pipeline.
|
|
3575
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegment",
|
|
3574
3576
|
"initializer": {
|
|
3575
3577
|
"docs": {
|
|
3576
3578
|
"stability": "stable"
|
|
@@ -3583,7 +3585,7 @@
|
|
|
3583
3585
|
{
|
|
3584
3586
|
"name": "props",
|
|
3585
3587
|
"type": {
|
|
3586
|
-
"fqn": "@flit/cdk-pipeline.
|
|
3588
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegmentProps"
|
|
3587
3589
|
}
|
|
3588
3590
|
}
|
|
3589
3591
|
]
|
|
@@ -3619,6 +3621,341 @@
|
|
|
3619
3621
|
}
|
|
3620
3622
|
}
|
|
3621
3623
|
],
|
|
3624
|
+
"name": "CodeCommitSourceSegment",
|
|
3625
|
+
"symbolId": "src/source-segment:CodeCommitSourceSegment"
|
|
3626
|
+
},
|
|
3627
|
+
"@flit/cdk-pipeline.CodeCommitSourceSegmentConstructed": {
|
|
3628
|
+
"assembly": "@flit/cdk-pipeline",
|
|
3629
|
+
"base": "@flit/cdk-pipeline.SegmentConstructed",
|
|
3630
|
+
"docs": {
|
|
3631
|
+
"stability": "stable"
|
|
3632
|
+
},
|
|
3633
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegmentConstructed",
|
|
3634
|
+
"initializer": {
|
|
3635
|
+
"docs": {
|
|
3636
|
+
"stability": "stable"
|
|
3637
|
+
},
|
|
3638
|
+
"locationInModule": {
|
|
3639
|
+
"filename": "src/source-segment.ts",
|
|
3640
|
+
"line": 63
|
|
3641
|
+
},
|
|
3642
|
+
"parameters": [
|
|
3643
|
+
{
|
|
3644
|
+
"name": "scope",
|
|
3645
|
+
"type": {
|
|
3646
|
+
"fqn": "@flit/cdk-pipeline.Pipeline"
|
|
3647
|
+
}
|
|
3648
|
+
},
|
|
3649
|
+
{
|
|
3650
|
+
"name": "id",
|
|
3651
|
+
"type": {
|
|
3652
|
+
"primitive": "string"
|
|
3653
|
+
}
|
|
3654
|
+
},
|
|
3655
|
+
{
|
|
3656
|
+
"name": "props",
|
|
3657
|
+
"type": {
|
|
3658
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegmentConstructedProps"
|
|
3659
|
+
}
|
|
3660
|
+
}
|
|
3661
|
+
]
|
|
3662
|
+
},
|
|
3663
|
+
"kind": "class",
|
|
3664
|
+
"locationInModule": {
|
|
3665
|
+
"filename": "src/source-segment.ts",
|
|
3666
|
+
"line": 60
|
|
3667
|
+
},
|
|
3668
|
+
"name": "CodeCommitSourceSegmentConstructed",
|
|
3669
|
+
"properties": [
|
|
3670
|
+
{
|
|
3671
|
+
"docs": {
|
|
3672
|
+
"stability": "stable"
|
|
3673
|
+
},
|
|
3674
|
+
"immutable": true,
|
|
3675
|
+
"locationInModule": {
|
|
3676
|
+
"filename": "src/source-segment.ts",
|
|
3677
|
+
"line": 62
|
|
3678
|
+
},
|
|
3679
|
+
"name": "actions",
|
|
3680
|
+
"overrides": "@flit/cdk-pipeline.SegmentConstructed",
|
|
3681
|
+
"type": {
|
|
3682
|
+
"collection": {
|
|
3683
|
+
"elementtype": {
|
|
3684
|
+
"fqn": "aws-cdk-lib.aws_codepipeline.IAction"
|
|
3685
|
+
},
|
|
3686
|
+
"kind": "array"
|
|
3687
|
+
}
|
|
3688
|
+
}
|
|
3689
|
+
},
|
|
3690
|
+
{
|
|
3691
|
+
"docs": {
|
|
3692
|
+
"stability": "stable"
|
|
3693
|
+
},
|
|
3694
|
+
"immutable": true,
|
|
3695
|
+
"locationInModule": {
|
|
3696
|
+
"filename": "src/source-segment.ts",
|
|
3697
|
+
"line": 61
|
|
3698
|
+
},
|
|
3699
|
+
"name": "name",
|
|
3700
|
+
"overrides": "@flit/cdk-pipeline.SegmentConstructed",
|
|
3701
|
+
"type": {
|
|
3702
|
+
"primitive": "string"
|
|
3703
|
+
}
|
|
3704
|
+
}
|
|
3705
|
+
],
|
|
3706
|
+
"symbolId": "src/source-segment:CodeCommitSourceSegmentConstructed"
|
|
3707
|
+
},
|
|
3708
|
+
"@flit/cdk-pipeline.CodeCommitSourceSegmentConstructedProps": {
|
|
3709
|
+
"assembly": "@flit/cdk-pipeline",
|
|
3710
|
+
"datatype": true,
|
|
3711
|
+
"docs": {
|
|
3712
|
+
"stability": "stable"
|
|
3713
|
+
},
|
|
3714
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegmentConstructedProps",
|
|
3715
|
+
"kind": "interface",
|
|
3716
|
+
"locationInModule": {
|
|
3717
|
+
"filename": "src/source-segment.ts",
|
|
3718
|
+
"line": 51
|
|
3719
|
+
},
|
|
3720
|
+
"name": "CodeCommitSourceSegmentConstructedProps",
|
|
3721
|
+
"properties": [
|
|
3722
|
+
{
|
|
3723
|
+
"abstract": true,
|
|
3724
|
+
"docs": {
|
|
3725
|
+
"stability": "stable"
|
|
3726
|
+
},
|
|
3727
|
+
"immutable": true,
|
|
3728
|
+
"locationInModule": {
|
|
3729
|
+
"filename": "src/source-segment.ts",
|
|
3730
|
+
"line": 53
|
|
3731
|
+
},
|
|
3732
|
+
"name": "actionName",
|
|
3733
|
+
"type": {
|
|
3734
|
+
"primitive": "string"
|
|
3735
|
+
}
|
|
3736
|
+
},
|
|
3737
|
+
{
|
|
3738
|
+
"abstract": true,
|
|
3739
|
+
"docs": {
|
|
3740
|
+
"stability": "stable"
|
|
3741
|
+
},
|
|
3742
|
+
"immutable": true,
|
|
3743
|
+
"locationInModule": {
|
|
3744
|
+
"filename": "src/source-segment.ts",
|
|
3745
|
+
"line": 52
|
|
3746
|
+
},
|
|
3747
|
+
"name": "output",
|
|
3748
|
+
"type": {
|
|
3749
|
+
"fqn": "@flit/cdk-pipeline.Artifact"
|
|
3750
|
+
}
|
|
3751
|
+
},
|
|
3752
|
+
{
|
|
3753
|
+
"abstract": true,
|
|
3754
|
+
"docs": {
|
|
3755
|
+
"stability": "stable"
|
|
3756
|
+
},
|
|
3757
|
+
"immutable": true,
|
|
3758
|
+
"locationInModule": {
|
|
3759
|
+
"filename": "src/source-segment.ts",
|
|
3760
|
+
"line": 54
|
|
3761
|
+
},
|
|
3762
|
+
"name": "repository",
|
|
3763
|
+
"type": {
|
|
3764
|
+
"fqn": "aws-cdk-lib.aws_codecommit.IRepository"
|
|
3765
|
+
}
|
|
3766
|
+
},
|
|
3767
|
+
{
|
|
3768
|
+
"abstract": true,
|
|
3769
|
+
"docs": {
|
|
3770
|
+
"stability": "stable"
|
|
3771
|
+
},
|
|
3772
|
+
"immutable": true,
|
|
3773
|
+
"locationInModule": {
|
|
3774
|
+
"filename": "src/source-segment.ts",
|
|
3775
|
+
"line": 55
|
|
3776
|
+
},
|
|
3777
|
+
"name": "branch",
|
|
3778
|
+
"optional": true,
|
|
3779
|
+
"type": {
|
|
3780
|
+
"primitive": "string"
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
"abstract": true,
|
|
3785
|
+
"docs": {
|
|
3786
|
+
"stability": "stable"
|
|
3787
|
+
},
|
|
3788
|
+
"immutable": true,
|
|
3789
|
+
"locationInModule": {
|
|
3790
|
+
"filename": "src/source-segment.ts",
|
|
3791
|
+
"line": 56
|
|
3792
|
+
},
|
|
3793
|
+
"name": "trigger",
|
|
3794
|
+
"optional": true,
|
|
3795
|
+
"type": {
|
|
3796
|
+
"fqn": "aws-cdk-lib.aws_codepipeline_actions.CodeCommitTrigger"
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
"abstract": true,
|
|
3801
|
+
"docs": {
|
|
3802
|
+
"stability": "stable"
|
|
3803
|
+
},
|
|
3804
|
+
"immutable": true,
|
|
3805
|
+
"locationInModule": {
|
|
3806
|
+
"filename": "src/source-segment.ts",
|
|
3807
|
+
"line": 57
|
|
3808
|
+
},
|
|
3809
|
+
"name": "variablesNamespace",
|
|
3810
|
+
"optional": true,
|
|
3811
|
+
"type": {
|
|
3812
|
+
"primitive": "string"
|
|
3813
|
+
}
|
|
3814
|
+
}
|
|
3815
|
+
],
|
|
3816
|
+
"symbolId": "src/source-segment:CodeCommitSourceSegmentConstructedProps"
|
|
3817
|
+
},
|
|
3818
|
+
"@flit/cdk-pipeline.CodeCommitSourceSegmentProps": {
|
|
3819
|
+
"assembly": "@flit/cdk-pipeline",
|
|
3820
|
+
"datatype": true,
|
|
3821
|
+
"docs": {
|
|
3822
|
+
"stability": "stable"
|
|
3823
|
+
},
|
|
3824
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegmentProps",
|
|
3825
|
+
"interfaces": [
|
|
3826
|
+
"@flit/cdk-pipeline.SourceSegmentProps"
|
|
3827
|
+
],
|
|
3828
|
+
"kind": "interface",
|
|
3829
|
+
"locationInModule": {
|
|
3830
|
+
"filename": "src/source-segment.ts",
|
|
3831
|
+
"line": 23
|
|
3832
|
+
},
|
|
3833
|
+
"name": "CodeCommitSourceSegmentProps",
|
|
3834
|
+
"properties": [
|
|
3835
|
+
{
|
|
3836
|
+
"abstract": true,
|
|
3837
|
+
"docs": {
|
|
3838
|
+
"stability": "stable"
|
|
3839
|
+
},
|
|
3840
|
+
"immutable": true,
|
|
3841
|
+
"locationInModule": {
|
|
3842
|
+
"filename": "src/source-segment.ts",
|
|
3843
|
+
"line": 24
|
|
3844
|
+
},
|
|
3845
|
+
"name": "repository",
|
|
3846
|
+
"type": {
|
|
3847
|
+
"fqn": "aws-cdk-lib.aws_codecommit.IRepository"
|
|
3848
|
+
}
|
|
3849
|
+
},
|
|
3850
|
+
{
|
|
3851
|
+
"abstract": true,
|
|
3852
|
+
"docs": {
|
|
3853
|
+
"stability": "stable"
|
|
3854
|
+
},
|
|
3855
|
+
"immutable": true,
|
|
3856
|
+
"locationInModule": {
|
|
3857
|
+
"filename": "src/source-segment.ts",
|
|
3858
|
+
"line": 25
|
|
3859
|
+
},
|
|
3860
|
+
"name": "branch",
|
|
3861
|
+
"optional": true,
|
|
3862
|
+
"type": {
|
|
3863
|
+
"primitive": "string"
|
|
3864
|
+
}
|
|
3865
|
+
},
|
|
3866
|
+
{
|
|
3867
|
+
"abstract": true,
|
|
3868
|
+
"docs": {
|
|
3869
|
+
"stability": "stable"
|
|
3870
|
+
},
|
|
3871
|
+
"immutable": true,
|
|
3872
|
+
"locationInModule": {
|
|
3873
|
+
"filename": "src/source-segment.ts",
|
|
3874
|
+
"line": 26
|
|
3875
|
+
},
|
|
3876
|
+
"name": "trigger",
|
|
3877
|
+
"optional": true,
|
|
3878
|
+
"type": {
|
|
3879
|
+
"fqn": "aws-cdk-lib.aws_codepipeline_actions.CodeCommitTrigger"
|
|
3880
|
+
}
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"abstract": true,
|
|
3884
|
+
"docs": {
|
|
3885
|
+
"stability": "stable"
|
|
3886
|
+
},
|
|
3887
|
+
"immutable": true,
|
|
3888
|
+
"locationInModule": {
|
|
3889
|
+
"filename": "src/source-segment.ts",
|
|
3890
|
+
"line": 27
|
|
3891
|
+
},
|
|
3892
|
+
"name": "variablesNamespace",
|
|
3893
|
+
"optional": true,
|
|
3894
|
+
"type": {
|
|
3895
|
+
"primitive": "string"
|
|
3896
|
+
}
|
|
3897
|
+
}
|
|
3898
|
+
],
|
|
3899
|
+
"symbolId": "src/source-segment:CodeCommitSourceSegmentProps"
|
|
3900
|
+
},
|
|
3901
|
+
"@flit/cdk-pipeline.GitHubSourceSegment": {
|
|
3902
|
+
"assembly": "@flit/cdk-pipeline",
|
|
3903
|
+
"base": "@flit/cdk-pipeline.SourceSegment",
|
|
3904
|
+
"docs": {
|
|
3905
|
+
"custom": {
|
|
3906
|
+
"category": "Segments"
|
|
3907
|
+
},
|
|
3908
|
+
"stability": "stable"
|
|
3909
|
+
},
|
|
3910
|
+
"fqn": "@flit/cdk-pipeline.GitHubSourceSegment",
|
|
3911
|
+
"initializer": {
|
|
3912
|
+
"docs": {
|
|
3913
|
+
"stability": "stable"
|
|
3914
|
+
},
|
|
3915
|
+
"locationInModule": {
|
|
3916
|
+
"filename": "src/source-segment.ts",
|
|
3917
|
+
"line": 88
|
|
3918
|
+
},
|
|
3919
|
+
"parameters": [
|
|
3920
|
+
{
|
|
3921
|
+
"name": "props",
|
|
3922
|
+
"type": {
|
|
3923
|
+
"fqn": "@flit/cdk-pipeline.GitHubSourceSegmentProps"
|
|
3924
|
+
}
|
|
3925
|
+
}
|
|
3926
|
+
]
|
|
3927
|
+
},
|
|
3928
|
+
"kind": "class",
|
|
3929
|
+
"locationInModule": {
|
|
3930
|
+
"filename": "src/source-segment.ts",
|
|
3931
|
+
"line": 86
|
|
3932
|
+
},
|
|
3933
|
+
"methods": [
|
|
3934
|
+
{
|
|
3935
|
+
"docs": {
|
|
3936
|
+
"stability": "stable"
|
|
3937
|
+
},
|
|
3938
|
+
"locationInModule": {
|
|
3939
|
+
"filename": "src/source-segment.ts",
|
|
3940
|
+
"line": 92
|
|
3941
|
+
},
|
|
3942
|
+
"name": "construct",
|
|
3943
|
+
"overrides": "@flit/cdk-pipeline.Segment",
|
|
3944
|
+
"parameters": [
|
|
3945
|
+
{
|
|
3946
|
+
"name": "scope",
|
|
3947
|
+
"type": {
|
|
3948
|
+
"fqn": "@flit/cdk-pipeline.Pipeline"
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
],
|
|
3952
|
+
"returns": {
|
|
3953
|
+
"type": {
|
|
3954
|
+
"fqn": "@flit/cdk-pipeline.SegmentConstructed"
|
|
3955
|
+
}
|
|
3956
|
+
}
|
|
3957
|
+
}
|
|
3958
|
+
],
|
|
3622
3959
|
"name": "GitHubSourceSegment",
|
|
3623
3960
|
"symbolId": "src/source-segment:GitHubSourceSegment"
|
|
3624
3961
|
},
|
|
@@ -3635,7 +3972,7 @@
|
|
|
3635
3972
|
},
|
|
3636
3973
|
"locationInModule": {
|
|
3637
3974
|
"filename": "src/source-segment.ts",
|
|
3638
|
-
"line":
|
|
3975
|
+
"line": 116
|
|
3639
3976
|
},
|
|
3640
3977
|
"parameters": [
|
|
3641
3978
|
{
|
|
@@ -3661,7 +3998,7 @@
|
|
|
3661
3998
|
"kind": "class",
|
|
3662
3999
|
"locationInModule": {
|
|
3663
4000
|
"filename": "src/source-segment.ts",
|
|
3664
|
-
"line":
|
|
4001
|
+
"line": 113
|
|
3665
4002
|
},
|
|
3666
4003
|
"name": "GitHubSourceSegmentConstructed",
|
|
3667
4004
|
"properties": [
|
|
@@ -3672,7 +4009,7 @@
|
|
|
3672
4009
|
"immutable": true,
|
|
3673
4010
|
"locationInModule": {
|
|
3674
4011
|
"filename": "src/source-segment.ts",
|
|
3675
|
-
"line":
|
|
4012
|
+
"line": 115
|
|
3676
4013
|
},
|
|
3677
4014
|
"name": "actions",
|
|
3678
4015
|
"overrides": "@flit/cdk-pipeline.SegmentConstructed",
|
|
@@ -3692,7 +4029,7 @@
|
|
|
3692
4029
|
"immutable": true,
|
|
3693
4030
|
"locationInModule": {
|
|
3694
4031
|
"filename": "src/source-segment.ts",
|
|
3695
|
-
"line":
|
|
4032
|
+
"line": 114
|
|
3696
4033
|
},
|
|
3697
4034
|
"name": "name",
|
|
3698
4035
|
"overrides": "@flit/cdk-pipeline.SegmentConstructed",
|
|
@@ -3713,7 +4050,7 @@
|
|
|
3713
4050
|
"kind": "interface",
|
|
3714
4051
|
"locationInModule": {
|
|
3715
4052
|
"filename": "src/source-segment.ts",
|
|
3716
|
-
"line":
|
|
4053
|
+
"line": 101
|
|
3717
4054
|
},
|
|
3718
4055
|
"name": "GitHubSourceSegmentConstructedProps",
|
|
3719
4056
|
"properties": [
|
|
@@ -3725,7 +4062,7 @@
|
|
|
3725
4062
|
"immutable": true,
|
|
3726
4063
|
"locationInModule": {
|
|
3727
4064
|
"filename": "src/source-segment.ts",
|
|
3728
|
-
"line":
|
|
4065
|
+
"line": 103
|
|
3729
4066
|
},
|
|
3730
4067
|
"name": "actionName",
|
|
3731
4068
|
"type": {
|
|
@@ -3740,7 +4077,7 @@
|
|
|
3740
4077
|
"immutable": true,
|
|
3741
4078
|
"locationInModule": {
|
|
3742
4079
|
"filename": "src/source-segment.ts",
|
|
3743
|
-
"line":
|
|
4080
|
+
"line": 104
|
|
3744
4081
|
},
|
|
3745
4082
|
"name": "oauthToken",
|
|
3746
4083
|
"type": {
|
|
@@ -3755,7 +4092,7 @@
|
|
|
3755
4092
|
"immutable": true,
|
|
3756
4093
|
"locationInModule": {
|
|
3757
4094
|
"filename": "src/source-segment.ts",
|
|
3758
|
-
"line":
|
|
4095
|
+
"line": 102
|
|
3759
4096
|
},
|
|
3760
4097
|
"name": "output",
|
|
3761
4098
|
"type": {
|
|
@@ -3770,7 +4107,7 @@
|
|
|
3770
4107
|
"immutable": true,
|
|
3771
4108
|
"locationInModule": {
|
|
3772
4109
|
"filename": "src/source-segment.ts",
|
|
3773
|
-
"line":
|
|
4110
|
+
"line": 105
|
|
3774
4111
|
},
|
|
3775
4112
|
"name": "owner",
|
|
3776
4113
|
"type": {
|
|
@@ -3785,7 +4122,7 @@
|
|
|
3785
4122
|
"immutable": true,
|
|
3786
4123
|
"locationInModule": {
|
|
3787
4124
|
"filename": "src/source-segment.ts",
|
|
3788
|
-
"line":
|
|
4125
|
+
"line": 106
|
|
3789
4126
|
},
|
|
3790
4127
|
"name": "repo",
|
|
3791
4128
|
"type": {
|
|
@@ -3800,7 +4137,7 @@
|
|
|
3800
4137
|
"immutable": true,
|
|
3801
4138
|
"locationInModule": {
|
|
3802
4139
|
"filename": "src/source-segment.ts",
|
|
3803
|
-
"line":
|
|
4140
|
+
"line": 107
|
|
3804
4141
|
},
|
|
3805
4142
|
"name": "branch",
|
|
3806
4143
|
"optional": true,
|
|
@@ -3816,7 +4153,7 @@
|
|
|
3816
4153
|
"immutable": true,
|
|
3817
4154
|
"locationInModule": {
|
|
3818
4155
|
"filename": "src/source-segment.ts",
|
|
3819
|
-
"line":
|
|
4156
|
+
"line": 108
|
|
3820
4157
|
},
|
|
3821
4158
|
"name": "runOrder",
|
|
3822
4159
|
"optional": true,
|
|
@@ -3832,7 +4169,7 @@
|
|
|
3832
4169
|
"immutable": true,
|
|
3833
4170
|
"locationInModule": {
|
|
3834
4171
|
"filename": "src/source-segment.ts",
|
|
3835
|
-
"line":
|
|
4172
|
+
"line": 109
|
|
3836
4173
|
},
|
|
3837
4174
|
"name": "trigger",
|
|
3838
4175
|
"optional": true,
|
|
@@ -3848,7 +4185,7 @@
|
|
|
3848
4185
|
"immutable": true,
|
|
3849
4186
|
"locationInModule": {
|
|
3850
4187
|
"filename": "src/source-segment.ts",
|
|
3851
|
-
"line":
|
|
4188
|
+
"line": 110
|
|
3852
4189
|
},
|
|
3853
4190
|
"name": "variablesNamespace",
|
|
3854
4191
|
"optional": true,
|
|
@@ -3872,7 +4209,7 @@
|
|
|
3872
4209
|
"kind": "interface",
|
|
3873
4210
|
"locationInModule": {
|
|
3874
4211
|
"filename": "src/source-segment.ts",
|
|
3875
|
-
"line":
|
|
4212
|
+
"line": 74
|
|
3876
4213
|
},
|
|
3877
4214
|
"name": "GitHubSourceSegmentProps",
|
|
3878
4215
|
"properties": [
|
|
@@ -3884,7 +4221,7 @@
|
|
|
3884
4221
|
"immutable": true,
|
|
3885
4222
|
"locationInModule": {
|
|
3886
4223
|
"filename": "src/source-segment.ts",
|
|
3887
|
-
"line":
|
|
4224
|
+
"line": 75
|
|
3888
4225
|
},
|
|
3889
4226
|
"name": "oauthToken",
|
|
3890
4227
|
"type": {
|
|
@@ -3899,7 +4236,7 @@
|
|
|
3899
4236
|
"immutable": true,
|
|
3900
4237
|
"locationInModule": {
|
|
3901
4238
|
"filename": "src/source-segment.ts",
|
|
3902
|
-
"line":
|
|
4239
|
+
"line": 76
|
|
3903
4240
|
},
|
|
3904
4241
|
"name": "owner",
|
|
3905
4242
|
"type": {
|
|
@@ -3914,9 +4251,9 @@
|
|
|
3914
4251
|
"immutable": true,
|
|
3915
4252
|
"locationInModule": {
|
|
3916
4253
|
"filename": "src/source-segment.ts",
|
|
3917
|
-
"line":
|
|
4254
|
+
"line": 77
|
|
3918
4255
|
},
|
|
3919
|
-
"name": "
|
|
4256
|
+
"name": "repository",
|
|
3920
4257
|
"type": {
|
|
3921
4258
|
"primitive": "string"
|
|
3922
4259
|
}
|
|
@@ -3929,7 +4266,7 @@
|
|
|
3929
4266
|
"immutable": true,
|
|
3930
4267
|
"locationInModule": {
|
|
3931
4268
|
"filename": "src/source-segment.ts",
|
|
3932
|
-
"line":
|
|
4269
|
+
"line": 78
|
|
3933
4270
|
},
|
|
3934
4271
|
"name": "branch",
|
|
3935
4272
|
"optional": true,
|
|
@@ -3945,23 +4282,7 @@
|
|
|
3945
4282
|
"immutable": true,
|
|
3946
4283
|
"locationInModule": {
|
|
3947
4284
|
"filename": "src/source-segment.ts",
|
|
3948
|
-
"line":
|
|
3949
|
-
},
|
|
3950
|
-
"name": "runOrder",
|
|
3951
|
-
"optional": true,
|
|
3952
|
-
"type": {
|
|
3953
|
-
"primitive": "number"
|
|
3954
|
-
}
|
|
3955
|
-
},
|
|
3956
|
-
{
|
|
3957
|
-
"abstract": true,
|
|
3958
|
-
"docs": {
|
|
3959
|
-
"stability": "stable"
|
|
3960
|
-
},
|
|
3961
|
-
"immutable": true,
|
|
3962
|
-
"locationInModule": {
|
|
3963
|
-
"filename": "src/source-segment.ts",
|
|
3964
|
-
"line": 26
|
|
4285
|
+
"line": 79
|
|
3965
4286
|
},
|
|
3966
4287
|
"name": "trigger",
|
|
3967
4288
|
"optional": true,
|
|
@@ -3977,7 +4298,7 @@
|
|
|
3977
4298
|
"immutable": true,
|
|
3978
4299
|
"locationInModule": {
|
|
3979
4300
|
"filename": "src/source-segment.ts",
|
|
3980
|
-
"line":
|
|
4301
|
+
"line": 80
|
|
3981
4302
|
},
|
|
3982
4303
|
"name": "variablesNamespace",
|
|
3983
4304
|
"optional": true,
|
|
@@ -5040,7 +5361,7 @@
|
|
|
5040
5361
|
"kind": "class",
|
|
5041
5362
|
"locationInModule": {
|
|
5042
5363
|
"filename": "src/source-segment.ts",
|
|
5043
|
-
"line":
|
|
5364
|
+
"line": 19
|
|
5044
5365
|
},
|
|
5045
5366
|
"name": "SourceSegment",
|
|
5046
5367
|
"properties": [
|
|
@@ -5051,7 +5372,7 @@
|
|
|
5051
5372
|
"immutable": true,
|
|
5052
5373
|
"locationInModule": {
|
|
5053
5374
|
"filename": "src/source-segment.ts",
|
|
5054
|
-
"line":
|
|
5375
|
+
"line": 20
|
|
5055
5376
|
},
|
|
5056
5377
|
"name": "isSource",
|
|
5057
5378
|
"overrides": "@flit/cdk-pipeline.Segment",
|
|
@@ -5072,7 +5393,7 @@
|
|
|
5072
5393
|
"kind": "interface",
|
|
5073
5394
|
"locationInModule": {
|
|
5074
5395
|
"filename": "src/source-segment.ts",
|
|
5075
|
-
"line":
|
|
5396
|
+
"line": 15
|
|
5076
5397
|
},
|
|
5077
5398
|
"name": "SourceSegmentProps",
|
|
5078
5399
|
"properties": [
|
|
@@ -5084,7 +5405,7 @@
|
|
|
5084
5405
|
"immutable": true,
|
|
5085
5406
|
"locationInModule": {
|
|
5086
5407
|
"filename": "src/source-segment.ts",
|
|
5087
|
-
"line":
|
|
5408
|
+
"line": 16
|
|
5088
5409
|
},
|
|
5089
5410
|
"name": "output",
|
|
5090
5411
|
"type": {
|
|
@@ -5657,6 +5978,6 @@
|
|
|
5657
5978
|
"symbolId": "src/stack-segment:StackSegmentProps"
|
|
5658
5979
|
}
|
|
5659
5980
|
},
|
|
5660
|
-
"version": "1.0.
|
|
5661
|
-
"fingerprint": "
|
|
5981
|
+
"version": "1.0.8",
|
|
5982
|
+
"fingerprint": "WCAe/8MA0FvrfYnkI1Oj/X2ZY83TlB8iZBHDuJizmNI="
|
|
5662
5983
|
}
|