interface GitConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodePipeline.Mixins.CfnPipelinePropsMixin.GitConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodepipeline/mixins#CfnPipelinePropsMixin_GitConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.codepipeline.mixins.CfnPipelinePropsMixin.GitConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_codepipeline.mixins.CfnPipelinePropsMixin.GitConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codepipeline » mixins » CfnPipelinePropsMixin » GitConfigurationProperty |
A type of trigger configuration for Git-based source actions.
You can specify the Git configuration trigger type for all third-party Git-based source actions that are supported by the
CodeStarSourceConnectionaction type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codepipeline_mixins } from '@aws-cdk/mixins-preview/aws-codepipeline';
const gitConfigurationProperty: codepipeline_mixins.CfnPipelinePropsMixin.GitConfigurationProperty = {
pullRequest: [{
branches: {
excludes: ['excludes'],
includes: ['includes'],
},
events: ['events'],
filePaths: {
excludes: ['excludes'],
includes: ['includes'],
},
}],
push: [{
branches: {
excludes: ['excludes'],
includes: ['includes'],
},
filePaths: {
excludes: ['excludes'],
includes: ['includes'],
},
tags: {
excludes: ['excludes'],
includes: ['includes'],
},
}],
sourceActionName: 'sourceActionName',
};
Properties
| Name | Type | Description |
|---|---|---|
| pull | IResolvable | (IResolvable | Git)[] | The field where the repository event that will start the pipeline is specified as pull requests. |
| push? | IResolvable | (IResolvable | Git)[] | The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details. |
| source | string | The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. |
pullRequest?
Type:
IResolvable | (IResolvable | Git)[]
(optional)
The field where the repository event that will start the pipeline is specified as pull requests.
push?
Type:
IResolvable | (IResolvable | Git)[]
(optional)
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
sourceActionName?
Type:
string
(optional)
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified.
The trigger configuration will start the pipeline upon the specified change only.
You can only specify one trigger configuration per source action.

.NET
Go
Java
Python
TypeScript