Class SourceConfig
The type returned from {@link ISource#bind}.
Inheritance
System.Object
SourceConfig
Implements
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.AWS.CodeBuild.dll
Syntax (csharp)
public class SourceConfig : Object, ISourceConfig
Syntax (vb)
Public Class SourceConfig
Inherits Object
Implements ISourceConfig
Remarks
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.CodeBuild;
var sourceConfig = new SourceConfig {
SourceProperty = new SourceProperty {
Type = "type",
// the properties below are optional
Auth = new SourceAuthProperty {
Type = "type",
// the properties below are optional
Resource = "resource"
},
BuildSpec = "buildSpec",
BuildStatusConfig = new BuildStatusConfigProperty {
Context = "context",
TargetUrl = "targetUrl"
},
GitCloneDepth = 123,
GitSubmodulesConfig = new GitSubmodulesConfigProperty {
FetchSubmodules = false
},
InsecureSsl = false,
Location = "location",
ReportBuildStatus = false,
SourceIdentifier = "sourceIdentifier"
},
// the properties below are optional
BuildTriggers = new ProjectTriggersProperty {
BuildType = "buildType",
FilterGroups = new [] { new [] { new WebhookFilterProperty {
Pattern = "pattern",
Type = "type",
// the properties below are optional
ExcludeMatchedPattern = false
} } },
Webhook = false
},
SourceVersion = "sourceVersion"
};
Synopsis
Constructors
SourceConfig() |
Properties
BuildTriggers | |
SourceProperty | |
SourceVersion |
|
Constructors
SourceConfig()
public SourceConfig()
Properties
BuildTriggers
public CfnProject.IProjectTriggersProperty BuildTriggers { get; set; }
Property Value
CfnProject.IProjectTriggersProperty
SourceProperty
public CfnProject.ISourceProperty SourceProperty { get; set; }
Property Value
SourceVersion
AWS::CodeBuild::Project.SourceVersion
.
public string SourceVersion { get; set; }
Property Value
System.String