Class CfnPipeline.PipelineTriggerDeclarationProperty
Represents information about the specified trigger configuration, such as the filter criteria and the source stage for the action that contains the trigger.
Inheritance
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PipelineTriggerDeclarationProperty : Object, CfnPipeline.IPipelineTriggerDeclarationProperty
Syntax (vb)
Public Class PipelineTriggerDeclarationProperty
Inherits Object
Implements CfnPipeline.IPipelineTriggerDeclarationProperty
Remarks
This is only supported for the CodeStarSourceConnection
action type. > When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
ExampleMetadata: fixture=_generated
Examples
// 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 pipelineTriggerDeclarationProperty = new PipelineTriggerDeclarationProperty {
ProviderType = "providerType",
// the properties below are optional
GitConfiguration = new GitConfigurationProperty {
SourceActionName = "sourceActionName",
// the properties below are optional
PullRequest = new [] { new GitPullRequestFilterProperty {
Branches = new GitBranchFilterCriteriaProperty {
Excludes = new [] { "excludes" },
Includes = new [] { "includes" }
},
Events = new [] { "events" },
FilePaths = new GitFilePathFilterCriteriaProperty {
Excludes = new [] { "excludes" },
Includes = new [] { "includes" }
}
} },
Push = new [] { new GitPushFilterProperty {
Branches = new GitBranchFilterCriteriaProperty {
Excludes = new [] { "excludes" },
Includes = new [] { "includes" }
},
FilePaths = new GitFilePathFilterCriteriaProperty {
Excludes = new [] { "excludes" },
Includes = new [] { "includes" }
},
Tags = new GitTagFilterCriteriaProperty {
Excludes = new [] { "excludes" },
Includes = new [] { "includes" }
}
} }
}
};
Synopsis
Constructors
PipelineTriggerDeclarationProperty() |
Properties
GitConfiguration | Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags. |
ProviderType | The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration. |
Constructors
PipelineTriggerDeclarationProperty()
public PipelineTriggerDeclarationProperty()
Properties
GitConfiguration
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
public object GitConfiguration { get; set; }
Property Value
System.Object
Remarks
ProviderType
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
public string ProviderType { get; set; }
Property Value
System.String