-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPipeline_GitConfigurationProperty.go
90 lines (87 loc) · 3.35 KB
/
CfnPipeline_GitConfigurationProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package awscodepipeline
// 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 `CodeStarSourceConnection` action type.
//
// Example:
// // 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"
//
// gitConfigurationProperty := &GitConfigurationProperty{
// SourceActionName: jsii.String("sourceActionName"),
//
// // the properties below are optional
// PullRequest: []interface{}{
// &GitPullRequestFilterProperty{
// Branches: &GitBranchFilterCriteriaProperty{
// Excludes: []*string{
// jsii.String("excludes"),
// },
// Includes: []*string{
// jsii.String("includes"),
// },
// },
// Events: []*string{
// jsii.String("events"),
// },
// FilePaths: &GitFilePathFilterCriteriaProperty{
// Excludes: []*string{
// jsii.String("excludes"),
// },
// Includes: []*string{
// jsii.String("includes"),
// },
// },
// },
// },
// Push: []interface{}{
// &GitPushFilterProperty{
// Branches: &GitBranchFilterCriteriaProperty{
// Excludes: []*string{
// jsii.String("excludes"),
// },
// Includes: []*string{
// jsii.String("includes"),
// },
// },
// FilePaths: &GitFilePathFilterCriteriaProperty{
// Excludes: []*string{
// jsii.String("excludes"),
// },
// Includes: []*string{
// jsii.String("includes"),
// },
// },
// Tags: &GitTagFilterCriteriaProperty{
// Excludes: []*string{
// jsii.String("excludes"),
// },
// Includes: []*string{
// jsii.String("includes"),
// },
// },
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitconfiguration.html
//
type CfnPipeline_GitConfigurationProperty struct {
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitconfiguration.html#cfn-codepipeline-pipeline-gitconfiguration-sourceactionname
//
SourceActionName *string `field:"required" json:"sourceActionName" yaml:"sourceActionName"`
// The field where the repository event that will start the pipeline is specified as pull requests.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitconfiguration.html#cfn-codepipeline-pipeline-gitconfiguration-pullrequest
//
PullRequest interface{} `field:"optional" json:"pullRequest" yaml:"pullRequest"`
// The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitconfiguration.html#cfn-codepipeline-pipeline-gitconfiguration-push
//
Push interface{} `field:"optional" json:"push" yaml:"push"`
}