Class TriggerProps
Properties of trigger.
Inheritance
System.Object
TriggerProps
Implements
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TriggerProps : Object, ITriggerProps
Syntax (vb)
Public Class TriggerProps
Inherits Object
Implements ITriggerProps
Remarks
ExampleMetadata: infused
Examples
Pipeline pipeline;
CodeStarConnectionsSourceAction sourceAction;
pipeline.AddTrigger(new TriggerProps {
ProviderType = ProviderType.CODE_STAR_SOURCE_CONNECTION,
GitConfiguration = new GitConfiguration {
SourceAction = sourceAction,
PushFilter = new [] { new GitPushFilter {
TagsExcludes = new [] { "exclude1", "exclude2" },
TagsIncludes = new [] { "include*" }
} }
}
});
Synopsis
Constructors
TriggerProps() |
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
TriggerProps()
public TriggerProps()
Properties
GitConfiguration
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
public IGitConfiguration GitConfiguration { get; set; }
Property Value
Remarks
Default: - no configuration.
ProviderType
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
public ProviderType ProviderType { get; set; }
Property Value