libZSservicesZSamazonka-codebuildZSamazonka-codebuild
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeBuild.Types.BatchRestrictions

Description

 
Synopsis

Documentation

data BatchRestrictions Source #

Specifies restrictions for the batch build.

See: newBatchRestrictions smart constructor.

Constructors

BatchRestrictions' 

Fields

Instances

Instances details
Eq BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

Read BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

Show BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

Generic BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

Associated Types

type Rep BatchRestrictions :: Type -> Type #

NFData BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

Methods

rnf :: BatchRestrictions -> () #

Hashable BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

ToJSON BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

FromJSON BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

type Rep BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

type Rep BatchRestrictions = D1 ('MetaData "BatchRestrictions" "Amazonka.CodeBuild.Types.BatchRestrictions" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "BatchRestrictions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maximumBuildsAllowed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "computeTypesAllowed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

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:maximumBuildsAllowed:BatchRestrictions', batchRestrictions_maximumBuildsAllowed - Specifies the maximum number of builds allowed.

$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.

batchRestrictions_maximumBuildsAllowed :: Lens' BatchRestrictions (Maybe Int) Source #

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.