Class CfnProject.BatchRestrictionsProperty
Specifies restrictions for the batch build.
Inheritance
System.Object
CfnProject.BatchRestrictionsProperty
Implements
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.AWS.CodeBuild.dll
Syntax (csharp)
public class BatchRestrictionsProperty : Object, CfnProject.IBatchRestrictionsProperty
Syntax (vb)
Public Class BatchRestrictionsProperty
Inherits Object
Implements CfnProject.IBatchRestrictionsProperty
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 batchRestrictionsProperty = new BatchRestrictionsProperty {
ComputeTypesAllowed = new [] { "computeTypesAllowed" },
MaximumBuildsAllowed = 123
};
Synopsis
Constructors
BatchRestrictionsProperty() |
Properties
ComputeTypesAllowed | An array of strings that specify the compute types that are allowed for the batch build. |
MaximumBuildsAllowed | Specifies the maximum number of builds allowed. |
Constructors
BatchRestrictionsProperty()
public BatchRestrictionsProperty()
Properties
ComputeTypesAllowed
An array of strings that specify the compute types that are allowed for the batch build.
public string[] ComputeTypesAllowed { get; set; }
Property Value
System.String[]
Remarks
See Build environment compute types in the AWS CodeBuild User Guide for these values.
MaximumBuildsAllowed
Specifies the maximum number of builds allowed.
public Nullable<double> MaximumBuildsAllowed { get; set; }
Property Value
System.Nullable<System.Double>