amazonka-codebuild-2.0: Amazon CodeBuild SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

ToJSON 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 #

Read BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

Show BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

NFData BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

Methods

rnf :: BatchRestrictions -> () #

Eq BatchRestrictions Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.BatchRestrictions

Hashable 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" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "BatchRestrictions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "computeTypesAllowed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maximumBuildsAllowed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

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.