cloudcomponents.cdk-codepipeline-check-parameter-action-2.1.0
2.1.0
2.0.0
1.9.0
1.8.0
1.7.0
1.6.0
1.51.0
1.50.0
1.5.0
1.49.0
1.48.0
1.47.0
1.46.0
1.45.0
1.44.0
1.43.0
1.42.0
1.41.1
1.41.0
1.40.0
1.4.0
1.39.1
1.39.0
1.38.0
1.37.0
1.36.0
1.35.0
1.34.0
1.33.0
1.32.0
1.31.1
1.31.0
1.30.0
1.3.2
1.3.1
1.3.0
1.29.0
1.28.0
1.27.0
1.26.0
1.25.1
1.25.0
1.24.0
1.23.0
1.22.1
1.22.0
1.21.0
1.20.0
1.2.1
1.2.0
1.19.0
1.18.0
1.17.0
1.16.0
1.15.1
1.15.0
1.14.0
1.13.0
1.12.0
1.11.0
1.10.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.1
1.1.0
2.1.0
2.0.0
1.9.0
1.8.0
1.7.0
1.6.0
1.51.0
1.50.0
1.5.0
1.49.0
1.48.0
1.47.0
1.46.0
1.45.0
1.44.0
1.43.0
1.42.0
1.41.1
1.41.0
1.40.0
1.4.0
1.39.1
1.39.0
1.38.0
1.37.0
1.36.0
1.35.0
1.34.0
1.33.0
1.32.0
1.31.1
1.31.0
1.30.0
1.3.2
1.3.1
1.3.0
1.29.0
1.28.0
1.27.0
1.26.0
1.25.1
1.25.0
1.24.0
1.23.0
1.22.1
1.22.0
1.21.0
1.20.0
1.2.1
1.2.0
1.19.0
1.18.0
1.17.0
1.16.0
1.15.1
1.15.0
1.14.0
1.13.0
1.12.0
1.11.0
1.10.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.1
1.1.0
توضیحات
Cdk component that checks if system parameters are set correctly
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cloudcomponents.cdk-codepipeline-check-parameter-action-2.1.0 |
| نام | cloudcomponents.cdk-codepipeline-check-parameter-action |
| نسخه کتابخانه | 2.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | hupe1980 |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/cloudcomponents/cdk-constructs |
| آدرس اینترنتی | https://pypi.org/project/cloudcomponents.cdk-codepipeline-check-parameter-action/ |
| مجوز | MIT |
[](https://github.com/cloudcomponents/cdk-constructs)
# @cloudcomponents/cdk-codepipeline-check-parameter-action
[](https://github.com/cloudcomponents/cdk-constructs/actions?query=workflow=Build)
[](https://github.com/hupe1980/cdkdx)
[](https://www.npmjs.com/package/@cloudcomponents/cdk-codepipeline-check-parameter-action)
[](https://pypi.org/project/cloudcomponents.cdk-codepipeline-check-parameter-action/)
> Cdk component that checks if system parameters are set correctly
## Install
TypeScript/JavaScript:
```bash
npm i @cloudcomponents/cdk-codepipeline-check-parameter-action
```
Python:
```bash
pip install cloudcomponents.cdk-codepipeline-check-parameter-action
```
## How to use
```python
import { CodePipelineCheckParameterAction } from '@cloudcomponents/cdk-codepipeline-check-parameter-action';
import { Stack, StackProps } from 'aws-cdk-lib';
import { Repository } from 'aws-cdk-lib/aws-codecommit';
import { Pipeline, Artifact } from 'aws-cdk-lib/aws-codepipeline';
import { CodeCommitSourceAction } from 'aws-cdk-lib/aws-codepipeline-actions';
import { Construct } from 'constructs';
export class CodePipelineCheckParameterActionStack extends Stack {
constructor(scope: Construct, id: string, props?: StackProps) {
super(scope, id, props);
const repository = new Repository(this, 'Repository', {
repositoryName: 'MyRepositoryName',
});
const sourceArtifact = new Artifact();
const sourceAction = new CodeCommitSourceAction({
actionName: 'CodeCommit',
repository,
output: sourceArtifact,
branch: 'master',
});
const checkAction = new CodePipelineCheckParameterAction({
actionName: 'Check',
parameterName: '/test',
regExp: /^The.*Spain$/,
logParameter: true,
});
new Pipeline(this, 'MyPipeline', {
pipelineName: 'MyPipeline',
stages: [
{
stageName: 'Source',
actions: [sourceAction],
},
{
stageName: 'Check',
actions: [checkAction],
},
],
});
}
}
```
## API Reference
See [API.md](https://github.com/cloudcomponents/cdk-constructs/tree/master/packages/cdk-codepipeline-check-parameter-action/API.md).
## Example
See more complete [examples](https://github.com/cloudcomponents/cdk-constructs/tree/master/examples).
## License
[MIT](https://github.com/cloudcomponents/cdk-constructs/tree/master/packages/cdk-codepipeline-check-parameter-action/LICENSE)
نیازمندی
| مقدار | نام |
|---|---|
| <3.0.0,>=2.8.0 | aws-cdk-lib |
| <11.0.0,>=10.0.41 | constructs |
| <2.0.0,>=1.52.1 | jsii |
| >=0.0.3 | publication |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl cloudcomponents.cdk-codepipeline-check-parameter-action-2.1.0:
pip install cloudcomponents.cdk-codepipeline-check-parameter-action-2.1.0.whl
نصب پکیج tar.gz cloudcomponents.cdk-codepipeline-check-parameter-action-2.1.0:
pip install cloudcomponents.cdk-codepipeline-check-parameter-action-2.1.0.tar.gz