@flit/cdk-pipeline 1.0.7 → 1.0.9
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 +376 -56
- 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 +14 -14
- 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
|
@@ -3416,7 +3416,9 @@
|
|
|
3416
3416
|
"jsiiVersion": "5.0.1 (build 35acaf9)",
|
|
3417
3417
|
"keywords": [
|
|
3418
3418
|
"aws",
|
|
3419
|
+
"cdk",
|
|
3419
3420
|
"awscdk",
|
|
3421
|
+
"aws-cdk",
|
|
3420
3422
|
"pipeline",
|
|
3421
3423
|
"codepipeline",
|
|
3422
3424
|
"cicd"
|
|
@@ -3432,7 +3434,7 @@
|
|
|
3432
3434
|
},
|
|
3433
3435
|
"name": "@flit/cdk-pipeline",
|
|
3434
3436
|
"readme": {
|
|
3435
|
-
"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
|
|
3437
|
+
"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"
|
|
3436
3438
|
},
|
|
3437
3439
|
"repository": {
|
|
3438
3440
|
"type": "git",
|
|
@@ -3441,16 +3443,15 @@
|
|
|
3441
3443
|
"schema": "jsii/0.10.0",
|
|
3442
3444
|
"targets": {
|
|
3443
3445
|
"dotnet": {
|
|
3444
|
-
"
|
|
3445
|
-
"
|
|
3446
|
-
"packageId": "Amazon.CDK.Flit.Pipeline"
|
|
3446
|
+
"namespace": "Flit.CDK.Pipeline",
|
|
3447
|
+
"packageId": "Flit.CDK.Pipeline"
|
|
3447
3448
|
},
|
|
3448
3449
|
"java": {
|
|
3449
3450
|
"maven": {
|
|
3450
|
-
"artifactId": "
|
|
3451
|
-
"groupId": "
|
|
3451
|
+
"artifactId": "cdk-pipeline",
|
|
3452
|
+
"groupId": "flit"
|
|
3452
3453
|
},
|
|
3453
|
-
"package": "
|
|
3454
|
+
"package": "flit.cdk-pipeline"
|
|
3454
3455
|
},
|
|
3455
3456
|
"js": {
|
|
3456
3457
|
"npm": "@flit/cdk-pipeline"
|
|
@@ -3460,8 +3461,8 @@
|
|
|
3460
3461
|
"Framework :: AWS CDK",
|
|
3461
3462
|
"Framework :: AWS CDK :: 2"
|
|
3462
3463
|
],
|
|
3463
|
-
"
|
|
3464
|
-
"module": "
|
|
3464
|
+
"libName": "flit.cdk-pipeline",
|
|
3465
|
+
"module": "flit.cdk-pipeline"
|
|
3465
3466
|
}
|
|
3466
3467
|
},
|
|
3467
3468
|
"types": {
|
|
@@ -3563,7 +3564,7 @@
|
|
|
3563
3564
|
"name": "Artifact",
|
|
3564
3565
|
"symbolId": "src/artifact:Artifact"
|
|
3565
3566
|
},
|
|
3566
|
-
"@flit/cdk-pipeline.
|
|
3567
|
+
"@flit/cdk-pipeline.CodeCommitSourceSegment": {
|
|
3567
3568
|
"assembly": "@flit/cdk-pipeline",
|
|
3568
3569
|
"base": "@flit/cdk-pipeline.SourceSegment",
|
|
3569
3570
|
"docs": {
|
|
@@ -3572,7 +3573,7 @@
|
|
|
3572
3573
|
},
|
|
3573
3574
|
"stability": "stable"
|
|
3574
3575
|
},
|
|
3575
|
-
"fqn": "@flit/cdk-pipeline.
|
|
3576
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegment",
|
|
3576
3577
|
"initializer": {
|
|
3577
3578
|
"docs": {
|
|
3578
3579
|
"stability": "stable"
|
|
@@ -3585,7 +3586,7 @@
|
|
|
3585
3586
|
{
|
|
3586
3587
|
"name": "props",
|
|
3587
3588
|
"type": {
|
|
3588
|
-
"fqn": "@flit/cdk-pipeline.
|
|
3589
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegmentProps"
|
|
3589
3590
|
}
|
|
3590
3591
|
}
|
|
3591
3592
|
]
|
|
@@ -3621,6 +3622,341 @@
|
|
|
3621
3622
|
}
|
|
3622
3623
|
}
|
|
3623
3624
|
],
|
|
3625
|
+
"name": "CodeCommitSourceSegment",
|
|
3626
|
+
"symbolId": "src/source-segment:CodeCommitSourceSegment"
|
|
3627
|
+
},
|
|
3628
|
+
"@flit/cdk-pipeline.CodeCommitSourceSegmentConstructed": {
|
|
3629
|
+
"assembly": "@flit/cdk-pipeline",
|
|
3630
|
+
"base": "@flit/cdk-pipeline.SegmentConstructed",
|
|
3631
|
+
"docs": {
|
|
3632
|
+
"stability": "stable"
|
|
3633
|
+
},
|
|
3634
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegmentConstructed",
|
|
3635
|
+
"initializer": {
|
|
3636
|
+
"docs": {
|
|
3637
|
+
"stability": "stable"
|
|
3638
|
+
},
|
|
3639
|
+
"locationInModule": {
|
|
3640
|
+
"filename": "src/source-segment.ts",
|
|
3641
|
+
"line": 63
|
|
3642
|
+
},
|
|
3643
|
+
"parameters": [
|
|
3644
|
+
{
|
|
3645
|
+
"name": "scope",
|
|
3646
|
+
"type": {
|
|
3647
|
+
"fqn": "@flit/cdk-pipeline.Pipeline"
|
|
3648
|
+
}
|
|
3649
|
+
},
|
|
3650
|
+
{
|
|
3651
|
+
"name": "id",
|
|
3652
|
+
"type": {
|
|
3653
|
+
"primitive": "string"
|
|
3654
|
+
}
|
|
3655
|
+
},
|
|
3656
|
+
{
|
|
3657
|
+
"name": "props",
|
|
3658
|
+
"type": {
|
|
3659
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegmentConstructedProps"
|
|
3660
|
+
}
|
|
3661
|
+
}
|
|
3662
|
+
]
|
|
3663
|
+
},
|
|
3664
|
+
"kind": "class",
|
|
3665
|
+
"locationInModule": {
|
|
3666
|
+
"filename": "src/source-segment.ts",
|
|
3667
|
+
"line": 60
|
|
3668
|
+
},
|
|
3669
|
+
"name": "CodeCommitSourceSegmentConstructed",
|
|
3670
|
+
"properties": [
|
|
3671
|
+
{
|
|
3672
|
+
"docs": {
|
|
3673
|
+
"stability": "stable"
|
|
3674
|
+
},
|
|
3675
|
+
"immutable": true,
|
|
3676
|
+
"locationInModule": {
|
|
3677
|
+
"filename": "src/source-segment.ts",
|
|
3678
|
+
"line": 62
|
|
3679
|
+
},
|
|
3680
|
+
"name": "actions",
|
|
3681
|
+
"overrides": "@flit/cdk-pipeline.SegmentConstructed",
|
|
3682
|
+
"type": {
|
|
3683
|
+
"collection": {
|
|
3684
|
+
"elementtype": {
|
|
3685
|
+
"fqn": "aws-cdk-lib.aws_codepipeline.IAction"
|
|
3686
|
+
},
|
|
3687
|
+
"kind": "array"
|
|
3688
|
+
}
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
{
|
|
3692
|
+
"docs": {
|
|
3693
|
+
"stability": "stable"
|
|
3694
|
+
},
|
|
3695
|
+
"immutable": true,
|
|
3696
|
+
"locationInModule": {
|
|
3697
|
+
"filename": "src/source-segment.ts",
|
|
3698
|
+
"line": 61
|
|
3699
|
+
},
|
|
3700
|
+
"name": "name",
|
|
3701
|
+
"overrides": "@flit/cdk-pipeline.SegmentConstructed",
|
|
3702
|
+
"type": {
|
|
3703
|
+
"primitive": "string"
|
|
3704
|
+
}
|
|
3705
|
+
}
|
|
3706
|
+
],
|
|
3707
|
+
"symbolId": "src/source-segment:CodeCommitSourceSegmentConstructed"
|
|
3708
|
+
},
|
|
3709
|
+
"@flit/cdk-pipeline.CodeCommitSourceSegmentConstructedProps": {
|
|
3710
|
+
"assembly": "@flit/cdk-pipeline",
|
|
3711
|
+
"datatype": true,
|
|
3712
|
+
"docs": {
|
|
3713
|
+
"stability": "stable"
|
|
3714
|
+
},
|
|
3715
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegmentConstructedProps",
|
|
3716
|
+
"kind": "interface",
|
|
3717
|
+
"locationInModule": {
|
|
3718
|
+
"filename": "src/source-segment.ts",
|
|
3719
|
+
"line": 51
|
|
3720
|
+
},
|
|
3721
|
+
"name": "CodeCommitSourceSegmentConstructedProps",
|
|
3722
|
+
"properties": [
|
|
3723
|
+
{
|
|
3724
|
+
"abstract": true,
|
|
3725
|
+
"docs": {
|
|
3726
|
+
"stability": "stable"
|
|
3727
|
+
},
|
|
3728
|
+
"immutable": true,
|
|
3729
|
+
"locationInModule": {
|
|
3730
|
+
"filename": "src/source-segment.ts",
|
|
3731
|
+
"line": 53
|
|
3732
|
+
},
|
|
3733
|
+
"name": "actionName",
|
|
3734
|
+
"type": {
|
|
3735
|
+
"primitive": "string"
|
|
3736
|
+
}
|
|
3737
|
+
},
|
|
3738
|
+
{
|
|
3739
|
+
"abstract": true,
|
|
3740
|
+
"docs": {
|
|
3741
|
+
"stability": "stable"
|
|
3742
|
+
},
|
|
3743
|
+
"immutable": true,
|
|
3744
|
+
"locationInModule": {
|
|
3745
|
+
"filename": "src/source-segment.ts",
|
|
3746
|
+
"line": 52
|
|
3747
|
+
},
|
|
3748
|
+
"name": "output",
|
|
3749
|
+
"type": {
|
|
3750
|
+
"fqn": "@flit/cdk-pipeline.Artifact"
|
|
3751
|
+
}
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
"abstract": true,
|
|
3755
|
+
"docs": {
|
|
3756
|
+
"stability": "stable"
|
|
3757
|
+
},
|
|
3758
|
+
"immutable": true,
|
|
3759
|
+
"locationInModule": {
|
|
3760
|
+
"filename": "src/source-segment.ts",
|
|
3761
|
+
"line": 54
|
|
3762
|
+
},
|
|
3763
|
+
"name": "repository",
|
|
3764
|
+
"type": {
|
|
3765
|
+
"fqn": "aws-cdk-lib.aws_codecommit.IRepository"
|
|
3766
|
+
}
|
|
3767
|
+
},
|
|
3768
|
+
{
|
|
3769
|
+
"abstract": true,
|
|
3770
|
+
"docs": {
|
|
3771
|
+
"stability": "stable"
|
|
3772
|
+
},
|
|
3773
|
+
"immutable": true,
|
|
3774
|
+
"locationInModule": {
|
|
3775
|
+
"filename": "src/source-segment.ts",
|
|
3776
|
+
"line": 55
|
|
3777
|
+
},
|
|
3778
|
+
"name": "branch",
|
|
3779
|
+
"optional": true,
|
|
3780
|
+
"type": {
|
|
3781
|
+
"primitive": "string"
|
|
3782
|
+
}
|
|
3783
|
+
},
|
|
3784
|
+
{
|
|
3785
|
+
"abstract": true,
|
|
3786
|
+
"docs": {
|
|
3787
|
+
"stability": "stable"
|
|
3788
|
+
},
|
|
3789
|
+
"immutable": true,
|
|
3790
|
+
"locationInModule": {
|
|
3791
|
+
"filename": "src/source-segment.ts",
|
|
3792
|
+
"line": 56
|
|
3793
|
+
},
|
|
3794
|
+
"name": "trigger",
|
|
3795
|
+
"optional": true,
|
|
3796
|
+
"type": {
|
|
3797
|
+
"fqn": "aws-cdk-lib.aws_codepipeline_actions.CodeCommitTrigger"
|
|
3798
|
+
}
|
|
3799
|
+
},
|
|
3800
|
+
{
|
|
3801
|
+
"abstract": true,
|
|
3802
|
+
"docs": {
|
|
3803
|
+
"stability": "stable"
|
|
3804
|
+
},
|
|
3805
|
+
"immutable": true,
|
|
3806
|
+
"locationInModule": {
|
|
3807
|
+
"filename": "src/source-segment.ts",
|
|
3808
|
+
"line": 57
|
|
3809
|
+
},
|
|
3810
|
+
"name": "variablesNamespace",
|
|
3811
|
+
"optional": true,
|
|
3812
|
+
"type": {
|
|
3813
|
+
"primitive": "string"
|
|
3814
|
+
}
|
|
3815
|
+
}
|
|
3816
|
+
],
|
|
3817
|
+
"symbolId": "src/source-segment:CodeCommitSourceSegmentConstructedProps"
|
|
3818
|
+
},
|
|
3819
|
+
"@flit/cdk-pipeline.CodeCommitSourceSegmentProps": {
|
|
3820
|
+
"assembly": "@flit/cdk-pipeline",
|
|
3821
|
+
"datatype": true,
|
|
3822
|
+
"docs": {
|
|
3823
|
+
"stability": "stable"
|
|
3824
|
+
},
|
|
3825
|
+
"fqn": "@flit/cdk-pipeline.CodeCommitSourceSegmentProps",
|
|
3826
|
+
"interfaces": [
|
|
3827
|
+
"@flit/cdk-pipeline.SourceSegmentProps"
|
|
3828
|
+
],
|
|
3829
|
+
"kind": "interface",
|
|
3830
|
+
"locationInModule": {
|
|
3831
|
+
"filename": "src/source-segment.ts",
|
|
3832
|
+
"line": 23
|
|
3833
|
+
},
|
|
3834
|
+
"name": "CodeCommitSourceSegmentProps",
|
|
3835
|
+
"properties": [
|
|
3836
|
+
{
|
|
3837
|
+
"abstract": true,
|
|
3838
|
+
"docs": {
|
|
3839
|
+
"stability": "stable"
|
|
3840
|
+
},
|
|
3841
|
+
"immutable": true,
|
|
3842
|
+
"locationInModule": {
|
|
3843
|
+
"filename": "src/source-segment.ts",
|
|
3844
|
+
"line": 24
|
|
3845
|
+
},
|
|
3846
|
+
"name": "repository",
|
|
3847
|
+
"type": {
|
|
3848
|
+
"fqn": "aws-cdk-lib.aws_codecommit.IRepository"
|
|
3849
|
+
}
|
|
3850
|
+
},
|
|
3851
|
+
{
|
|
3852
|
+
"abstract": true,
|
|
3853
|
+
"docs": {
|
|
3854
|
+
"stability": "stable"
|
|
3855
|
+
},
|
|
3856
|
+
"immutable": true,
|
|
3857
|
+
"locationInModule": {
|
|
3858
|
+
"filename": "src/source-segment.ts",
|
|
3859
|
+
"line": 25
|
|
3860
|
+
},
|
|
3861
|
+
"name": "branch",
|
|
3862
|
+
"optional": true,
|
|
3863
|
+
"type": {
|
|
3864
|
+
"primitive": "string"
|
|
3865
|
+
}
|
|
3866
|
+
},
|
|
3867
|
+
{
|
|
3868
|
+
"abstract": true,
|
|
3869
|
+
"docs": {
|
|
3870
|
+
"stability": "stable"
|
|
3871
|
+
},
|
|
3872
|
+
"immutable": true,
|
|
3873
|
+
"locationInModule": {
|
|
3874
|
+
"filename": "src/source-segment.ts",
|
|
3875
|
+
"line": 26
|
|
3876
|
+
},
|
|
3877
|
+
"name": "trigger",
|
|
3878
|
+
"optional": true,
|
|
3879
|
+
"type": {
|
|
3880
|
+
"fqn": "aws-cdk-lib.aws_codepipeline_actions.CodeCommitTrigger"
|
|
3881
|
+
}
|
|
3882
|
+
},
|
|
3883
|
+
{
|
|
3884
|
+
"abstract": true,
|
|
3885
|
+
"docs": {
|
|
3886
|
+
"stability": "stable"
|
|
3887
|
+
},
|
|
3888
|
+
"immutable": true,
|
|
3889
|
+
"locationInModule": {
|
|
3890
|
+
"filename": "src/source-segment.ts",
|
|
3891
|
+
"line": 27
|
|
3892
|
+
},
|
|
3893
|
+
"name": "variablesNamespace",
|
|
3894
|
+
"optional": true,
|
|
3895
|
+
"type": {
|
|
3896
|
+
"primitive": "string"
|
|
3897
|
+
}
|
|
3898
|
+
}
|
|
3899
|
+
],
|
|
3900
|
+
"symbolId": "src/source-segment:CodeCommitSourceSegmentProps"
|
|
3901
|
+
},
|
|
3902
|
+
"@flit/cdk-pipeline.GitHubSourceSegment": {
|
|
3903
|
+
"assembly": "@flit/cdk-pipeline",
|
|
3904
|
+
"base": "@flit/cdk-pipeline.SourceSegment",
|
|
3905
|
+
"docs": {
|
|
3906
|
+
"custom": {
|
|
3907
|
+
"category": "Segments"
|
|
3908
|
+
},
|
|
3909
|
+
"stability": "stable"
|
|
3910
|
+
},
|
|
3911
|
+
"fqn": "@flit/cdk-pipeline.GitHubSourceSegment",
|
|
3912
|
+
"initializer": {
|
|
3913
|
+
"docs": {
|
|
3914
|
+
"stability": "stable"
|
|
3915
|
+
},
|
|
3916
|
+
"locationInModule": {
|
|
3917
|
+
"filename": "src/source-segment.ts",
|
|
3918
|
+
"line": 88
|
|
3919
|
+
},
|
|
3920
|
+
"parameters": [
|
|
3921
|
+
{
|
|
3922
|
+
"name": "props",
|
|
3923
|
+
"type": {
|
|
3924
|
+
"fqn": "@flit/cdk-pipeline.GitHubSourceSegmentProps"
|
|
3925
|
+
}
|
|
3926
|
+
}
|
|
3927
|
+
]
|
|
3928
|
+
},
|
|
3929
|
+
"kind": "class",
|
|
3930
|
+
"locationInModule": {
|
|
3931
|
+
"filename": "src/source-segment.ts",
|
|
3932
|
+
"line": 86
|
|
3933
|
+
},
|
|
3934
|
+
"methods": [
|
|
3935
|
+
{
|
|
3936
|
+
"docs": {
|
|
3937
|
+
"stability": "stable"
|
|
3938
|
+
},
|
|
3939
|
+
"locationInModule": {
|
|
3940
|
+
"filename": "src/source-segment.ts",
|
|
3941
|
+
"line": 92
|
|
3942
|
+
},
|
|
3943
|
+
"name": "construct",
|
|
3944
|
+
"overrides": "@flit/cdk-pipeline.Segment",
|
|
3945
|
+
"parameters": [
|
|
3946
|
+
{
|
|
3947
|
+
"name": "scope",
|
|
3948
|
+
"type": {
|
|
3949
|
+
"fqn": "@flit/cdk-pipeline.Pipeline"
|
|
3950
|
+
}
|
|
3951
|
+
}
|
|
3952
|
+
],
|
|
3953
|
+
"returns": {
|
|
3954
|
+
"type": {
|
|
3955
|
+
"fqn": "@flit/cdk-pipeline.SegmentConstructed"
|
|
3956
|
+
}
|
|
3957
|
+
}
|
|
3958
|
+
}
|
|
3959
|
+
],
|
|
3624
3960
|
"name": "GitHubSourceSegment",
|
|
3625
3961
|
"symbolId": "src/source-segment:GitHubSourceSegment"
|
|
3626
3962
|
},
|
|
@@ -3637,7 +3973,7 @@
|
|
|
3637
3973
|
},
|
|
3638
3974
|
"locationInModule": {
|
|
3639
3975
|
"filename": "src/source-segment.ts",
|
|
3640
|
-
"line":
|
|
3976
|
+
"line": 116
|
|
3641
3977
|
},
|
|
3642
3978
|
"parameters": [
|
|
3643
3979
|
{
|
|
@@ -3663,7 +3999,7 @@
|
|
|
3663
3999
|
"kind": "class",
|
|
3664
4000
|
"locationInModule": {
|
|
3665
4001
|
"filename": "src/source-segment.ts",
|
|
3666
|
-
"line":
|
|
4002
|
+
"line": 113
|
|
3667
4003
|
},
|
|
3668
4004
|
"name": "GitHubSourceSegmentConstructed",
|
|
3669
4005
|
"properties": [
|
|
@@ -3674,7 +4010,7 @@
|
|
|
3674
4010
|
"immutable": true,
|
|
3675
4011
|
"locationInModule": {
|
|
3676
4012
|
"filename": "src/source-segment.ts",
|
|
3677
|
-
"line":
|
|
4013
|
+
"line": 115
|
|
3678
4014
|
},
|
|
3679
4015
|
"name": "actions",
|
|
3680
4016
|
"overrides": "@flit/cdk-pipeline.SegmentConstructed",
|
|
@@ -3694,7 +4030,7 @@
|
|
|
3694
4030
|
"immutable": true,
|
|
3695
4031
|
"locationInModule": {
|
|
3696
4032
|
"filename": "src/source-segment.ts",
|
|
3697
|
-
"line":
|
|
4033
|
+
"line": 114
|
|
3698
4034
|
},
|
|
3699
4035
|
"name": "name",
|
|
3700
4036
|
"overrides": "@flit/cdk-pipeline.SegmentConstructed",
|
|
@@ -3715,7 +4051,7 @@
|
|
|
3715
4051
|
"kind": "interface",
|
|
3716
4052
|
"locationInModule": {
|
|
3717
4053
|
"filename": "src/source-segment.ts",
|
|
3718
|
-
"line":
|
|
4054
|
+
"line": 101
|
|
3719
4055
|
},
|
|
3720
4056
|
"name": "GitHubSourceSegmentConstructedProps",
|
|
3721
4057
|
"properties": [
|
|
@@ -3727,7 +4063,7 @@
|
|
|
3727
4063
|
"immutable": true,
|
|
3728
4064
|
"locationInModule": {
|
|
3729
4065
|
"filename": "src/source-segment.ts",
|
|
3730
|
-
"line":
|
|
4066
|
+
"line": 103
|
|
3731
4067
|
},
|
|
3732
4068
|
"name": "actionName",
|
|
3733
4069
|
"type": {
|
|
@@ -3742,7 +4078,7 @@
|
|
|
3742
4078
|
"immutable": true,
|
|
3743
4079
|
"locationInModule": {
|
|
3744
4080
|
"filename": "src/source-segment.ts",
|
|
3745
|
-
"line":
|
|
4081
|
+
"line": 104
|
|
3746
4082
|
},
|
|
3747
4083
|
"name": "oauthToken",
|
|
3748
4084
|
"type": {
|
|
@@ -3757,7 +4093,7 @@
|
|
|
3757
4093
|
"immutable": true,
|
|
3758
4094
|
"locationInModule": {
|
|
3759
4095
|
"filename": "src/source-segment.ts",
|
|
3760
|
-
"line":
|
|
4096
|
+
"line": 102
|
|
3761
4097
|
},
|
|
3762
4098
|
"name": "output",
|
|
3763
4099
|
"type": {
|
|
@@ -3772,7 +4108,7 @@
|
|
|
3772
4108
|
"immutable": true,
|
|
3773
4109
|
"locationInModule": {
|
|
3774
4110
|
"filename": "src/source-segment.ts",
|
|
3775
|
-
"line":
|
|
4111
|
+
"line": 105
|
|
3776
4112
|
},
|
|
3777
4113
|
"name": "owner",
|
|
3778
4114
|
"type": {
|
|
@@ -3787,7 +4123,7 @@
|
|
|
3787
4123
|
"immutable": true,
|
|
3788
4124
|
"locationInModule": {
|
|
3789
4125
|
"filename": "src/source-segment.ts",
|
|
3790
|
-
"line":
|
|
4126
|
+
"line": 106
|
|
3791
4127
|
},
|
|
3792
4128
|
"name": "repo",
|
|
3793
4129
|
"type": {
|
|
@@ -3802,7 +4138,7 @@
|
|
|
3802
4138
|
"immutable": true,
|
|
3803
4139
|
"locationInModule": {
|
|
3804
4140
|
"filename": "src/source-segment.ts",
|
|
3805
|
-
"line":
|
|
4141
|
+
"line": 107
|
|
3806
4142
|
},
|
|
3807
4143
|
"name": "branch",
|
|
3808
4144
|
"optional": true,
|
|
@@ -3818,7 +4154,7 @@
|
|
|
3818
4154
|
"immutable": true,
|
|
3819
4155
|
"locationInModule": {
|
|
3820
4156
|
"filename": "src/source-segment.ts",
|
|
3821
|
-
"line":
|
|
4157
|
+
"line": 108
|
|
3822
4158
|
},
|
|
3823
4159
|
"name": "runOrder",
|
|
3824
4160
|
"optional": true,
|
|
@@ -3834,7 +4170,7 @@
|
|
|
3834
4170
|
"immutable": true,
|
|
3835
4171
|
"locationInModule": {
|
|
3836
4172
|
"filename": "src/source-segment.ts",
|
|
3837
|
-
"line":
|
|
4173
|
+
"line": 109
|
|
3838
4174
|
},
|
|
3839
4175
|
"name": "trigger",
|
|
3840
4176
|
"optional": true,
|
|
@@ -3850,7 +4186,7 @@
|
|
|
3850
4186
|
"immutable": true,
|
|
3851
4187
|
"locationInModule": {
|
|
3852
4188
|
"filename": "src/source-segment.ts",
|
|
3853
|
-
"line":
|
|
4189
|
+
"line": 110
|
|
3854
4190
|
},
|
|
3855
4191
|
"name": "variablesNamespace",
|
|
3856
4192
|
"optional": true,
|
|
@@ -3874,7 +4210,7 @@
|
|
|
3874
4210
|
"kind": "interface",
|
|
3875
4211
|
"locationInModule": {
|
|
3876
4212
|
"filename": "src/source-segment.ts",
|
|
3877
|
-
"line":
|
|
4213
|
+
"line": 74
|
|
3878
4214
|
},
|
|
3879
4215
|
"name": "GitHubSourceSegmentProps",
|
|
3880
4216
|
"properties": [
|
|
@@ -3886,7 +4222,7 @@
|
|
|
3886
4222
|
"immutable": true,
|
|
3887
4223
|
"locationInModule": {
|
|
3888
4224
|
"filename": "src/source-segment.ts",
|
|
3889
|
-
"line":
|
|
4225
|
+
"line": 75
|
|
3890
4226
|
},
|
|
3891
4227
|
"name": "oauthToken",
|
|
3892
4228
|
"type": {
|
|
@@ -3901,7 +4237,7 @@
|
|
|
3901
4237
|
"immutable": true,
|
|
3902
4238
|
"locationInModule": {
|
|
3903
4239
|
"filename": "src/source-segment.ts",
|
|
3904
|
-
"line":
|
|
4240
|
+
"line": 76
|
|
3905
4241
|
},
|
|
3906
4242
|
"name": "owner",
|
|
3907
4243
|
"type": {
|
|
@@ -3916,9 +4252,9 @@
|
|
|
3916
4252
|
"immutable": true,
|
|
3917
4253
|
"locationInModule": {
|
|
3918
4254
|
"filename": "src/source-segment.ts",
|
|
3919
|
-
"line":
|
|
4255
|
+
"line": 77
|
|
3920
4256
|
},
|
|
3921
|
-
"name": "
|
|
4257
|
+
"name": "repository",
|
|
3922
4258
|
"type": {
|
|
3923
4259
|
"primitive": "string"
|
|
3924
4260
|
}
|
|
@@ -3931,7 +4267,7 @@
|
|
|
3931
4267
|
"immutable": true,
|
|
3932
4268
|
"locationInModule": {
|
|
3933
4269
|
"filename": "src/source-segment.ts",
|
|
3934
|
-
"line":
|
|
4270
|
+
"line": 78
|
|
3935
4271
|
},
|
|
3936
4272
|
"name": "branch",
|
|
3937
4273
|
"optional": true,
|
|
@@ -3947,23 +4283,7 @@
|
|
|
3947
4283
|
"immutable": true,
|
|
3948
4284
|
"locationInModule": {
|
|
3949
4285
|
"filename": "src/source-segment.ts",
|
|
3950
|
-
"line":
|
|
3951
|
-
},
|
|
3952
|
-
"name": "runOrder",
|
|
3953
|
-
"optional": true,
|
|
3954
|
-
"type": {
|
|
3955
|
-
"primitive": "number"
|
|
3956
|
-
}
|
|
3957
|
-
},
|
|
3958
|
-
{
|
|
3959
|
-
"abstract": true,
|
|
3960
|
-
"docs": {
|
|
3961
|
-
"stability": "stable"
|
|
3962
|
-
},
|
|
3963
|
-
"immutable": true,
|
|
3964
|
-
"locationInModule": {
|
|
3965
|
-
"filename": "src/source-segment.ts",
|
|
3966
|
-
"line": 26
|
|
4286
|
+
"line": 79
|
|
3967
4287
|
},
|
|
3968
4288
|
"name": "trigger",
|
|
3969
4289
|
"optional": true,
|
|
@@ -3979,7 +4299,7 @@
|
|
|
3979
4299
|
"immutable": true,
|
|
3980
4300
|
"locationInModule": {
|
|
3981
4301
|
"filename": "src/source-segment.ts",
|
|
3982
|
-
"line":
|
|
4302
|
+
"line": 80
|
|
3983
4303
|
},
|
|
3984
4304
|
"name": "variablesNamespace",
|
|
3985
4305
|
"optional": true,
|
|
@@ -5042,7 +5362,7 @@
|
|
|
5042
5362
|
"kind": "class",
|
|
5043
5363
|
"locationInModule": {
|
|
5044
5364
|
"filename": "src/source-segment.ts",
|
|
5045
|
-
"line":
|
|
5365
|
+
"line": 19
|
|
5046
5366
|
},
|
|
5047
5367
|
"name": "SourceSegment",
|
|
5048
5368
|
"properties": [
|
|
@@ -5053,7 +5373,7 @@
|
|
|
5053
5373
|
"immutable": true,
|
|
5054
5374
|
"locationInModule": {
|
|
5055
5375
|
"filename": "src/source-segment.ts",
|
|
5056
|
-
"line":
|
|
5376
|
+
"line": 20
|
|
5057
5377
|
},
|
|
5058
5378
|
"name": "isSource",
|
|
5059
5379
|
"overrides": "@flit/cdk-pipeline.Segment",
|
|
@@ -5074,7 +5394,7 @@
|
|
|
5074
5394
|
"kind": "interface",
|
|
5075
5395
|
"locationInModule": {
|
|
5076
5396
|
"filename": "src/source-segment.ts",
|
|
5077
|
-
"line":
|
|
5397
|
+
"line": 15
|
|
5078
5398
|
},
|
|
5079
5399
|
"name": "SourceSegmentProps",
|
|
5080
5400
|
"properties": [
|
|
@@ -5086,7 +5406,7 @@
|
|
|
5086
5406
|
"immutable": true,
|
|
5087
5407
|
"locationInModule": {
|
|
5088
5408
|
"filename": "src/source-segment.ts",
|
|
5089
|
-
"line":
|
|
5409
|
+
"line": 16
|
|
5090
5410
|
},
|
|
5091
5411
|
"name": "output",
|
|
5092
5412
|
"type": {
|
|
@@ -5659,6 +5979,6 @@
|
|
|
5659
5979
|
"symbolId": "src/stack-segment:StackSegmentProps"
|
|
5660
5980
|
}
|
|
5661
5981
|
},
|
|
5662
|
-
"version": "1.0.
|
|
5663
|
-
"fingerprint": "
|
|
5982
|
+
"version": "1.0.9",
|
|
5983
|
+
"fingerprint": "898zdOpIhAup/En1krATbtug6fwi9P+wh5YH+CUeK7E="
|
|
5664
5984
|
}
|