GitFilePathFilterCriteriaProperty Struct
The Git repository file paths specified as filter criteria to start the pipeline.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as codepipeline } from 'aws-cdk-lib';
const gitFilePathFilterCriteriaProperty: codepipeline.CfnPipeline.GitFilePathFilterCriteriaProperty = {
excludes: ['excludes'],
includes: ['includes'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codepipeline as codepipeline
git_file_path_filter_criteria_property = codepipeline.CfnPipeline.GitFilePathFilterCriteriaProperty(
excludes=["excludes"],
includes=["includes"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.*;
GitFilePathFilterCriteriaProperty gitFilePathFilterCriteriaProperty = GitFilePathFilterCriteriaProperty.builder()
.excludes(List.of("excludes"))
.includes(List.of("includes"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline;
var gitFilePathFilterCriteriaProperty = new GitFilePathFilterCriteriaProperty {
Excludes = new [] { "excludes" },
Includes = new [] { "includes" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
gitFilePathFilterCriteriaProperty := &GitFilePathFilterCriteriaProperty{
Excludes: []*string{
jsii.String("excludes"),
},
Includes: []*string{
jsii.String("includes"),
},
}
Properties
excludesoptionalstring[]excludesoptionaltyping.List[str]excludesoptionalList<String>Excludesoptionalstring[]Excludesoptional*[]*string #The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.
includesoptionalstring[]includesoptionaltyping.List[str]includesoptionalList<String>Includesoptionalstring[]Includesoptional*[]*string #The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline.