Class CfnProject.ProjectBuildBatchConfigProperty
Contains configuration information about a batch build project.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.AWS.CodeBuild.dll
Syntax (csharp)
public class ProjectBuildBatchConfigProperty : Object, CfnProject.IProjectBuildBatchConfigProperty
Syntax (vb)
Public Class ProjectBuildBatchConfigProperty
Inherits Object
Implements CfnProject.IProjectBuildBatchConfigProperty
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 projectBuildBatchConfigProperty = new ProjectBuildBatchConfigProperty {
BatchReportMode = "batchReportMode",
CombineArtifacts = false,
Restrictions = new BatchRestrictionsProperty {
ComputeTypesAllowed = new [] { "computeTypesAllowed" },
MaximumBuildsAllowed = 123
},
ServiceRole = "serviceRole",
TimeoutInMins = 123
};
Synopsis
Constructors
ProjectBuildBatchConfigProperty() |
Properties
BatchReportMode | Specifies how build status reports are sent to the source provider for the batch build. |
CombineArtifacts | Specifies if the build artifacts for the batch build should be combined into a single artifact location. |
Restrictions | A |
ServiceRole | Specifies the service role ARN for the batch build project. |
TimeoutInMins | Specifies the maximum amount of time, in minutes, that the batch build must be completed in. |
Constructors
ProjectBuildBatchConfigProperty()
public ProjectBuildBatchConfigProperty()
Properties
BatchReportMode
Specifies how build status reports are sent to the source provider for the batch build.
public string BatchReportMode { get; set; }
Property Value
System.String
Remarks
This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.
CombineArtifacts
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
public object CombineArtifacts { get; set; }
Property Value
System.Object
Remarks
Restrictions
A BatchRestrictions
object that specifies the restrictions for the batch build.
public object Restrictions { get; set; }
Property Value
System.Object
Remarks
ServiceRole
Specifies the service role ARN for the batch build project.
public string ServiceRole { get; set; }
Property Value
System.String
Remarks
TimeoutInMins
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
public Nullable<double> TimeoutInMins { get; set; }
Property Value
System.Nullable<System.Double>