| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeBuild.Types.BatchRestrictions
Description
Documentation
data BatchRestrictions Source #
Specifies restrictions for the batch build.
See: newBatchRestrictions smart constructor.
Constructors
| BatchRestrictions' | |
Fields
| |
Instances
newBatchRestrictions :: BatchRestrictions Source #
Create a value of BatchRestrictions with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:computeTypesAllowed:BatchRestrictions', batchRestrictions_computeTypesAllowed - An array of strings that specify the compute types that are allowed for
the batch build. See
Build environment compute types
in the CodeBuild User Guide for these values.
$sel:maximumBuildsAllowed:BatchRestrictions', batchRestrictions_maximumBuildsAllowed - Specifies the maximum number of builds allowed.
batchRestrictions_computeTypesAllowed :: Lens' BatchRestrictions (Maybe [Text]) Source #
An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the CodeBuild User Guide for these values.
batchRestrictions_maximumBuildsAllowed :: Lens' BatchRestrictions (Maybe Int) Source #
Specifies the maximum number of builds allowed.