Interface CfnProject.IBatchRestrictionsProperty
Specifies restrictions for the batch build.
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IBatchRestrictionsProperty
Syntax (vb)
Public Interface 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
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. |
Properties
ComputeTypesAllowed
An array of strings that specify the compute types that are allowed for the batch build.
virtual string[] ComputeTypesAllowed { get; }
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.
virtual Nullable<double> MaximumBuildsAllowed { get; }
Property Value
System.Nullable<System.Double>