-
Notifications
You must be signed in to change notification settings - Fork 17
/
TriggerProps.go
37 lines (34 loc) · 1.14 KB
/
TriggerProps.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
package awscodepipeline
// Properties of trigger.
//
// Example:
// var pipeline pipeline
// var sourceAction codeStarConnectionsSourceAction
//
//
// pipeline.AddTrigger(&TriggerProps{
// ProviderType: codepipeline.ProviderType_CODE_STAR_SOURCE_CONNECTION,
// GitConfiguration: &GitConfiguration{
// SourceAction: *SourceAction,
// PushFilter: []gitPushFilter{
// &gitPushFilter{
// TagsExcludes: []*string{
// jsii.String("exclude1"),
// jsii.String("exclude2"),
// },
// TagsIncludes: []*string{
// jsii.String("include*"),
// },
// },
// },
// },
// })
//
type TriggerProps struct {
// The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
ProviderType ProviderType `field:"required" json:"providerType" yaml:"providerType"`
// Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
// Default: - no configuration.
//
GitConfiguration *GitConfiguration `field:"optional" json:"gitConfiguration" yaml:"gitConfiguration"`
}