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

Description

 
Synopsis

Documentation

data ProjectBuildBatchConfig Source #

Contains configuration information about a batch build project.

See: newProjectBuildBatchConfig smart constructor.

Constructors

ProjectBuildBatchConfig' 

Fields

  • batchReportMode :: Maybe BatchReportModeType

    Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

    REPORT_AGGREGATED_BATCH Aggregate all of the build statuses into a single status report.

    REPORT_INDIVIDUAL_BUILDS
    Send a separate status report for each individual build.
  • combineArtifacts :: Maybe Bool

    Specifies if the build artifacts for the batch build should be combined into a single artifact location.

  • restrictions :: Maybe BatchRestrictions

    A BatchRestrictions object that specifies the restrictions for the batch build.

  • serviceRole :: Maybe Text

    Specifies the service role ARN for the batch build project.

  • timeoutInMins :: Maybe Int

    Specifies the maximum amount of time, in minutes, that the batch build must be completed in.

Instances

Instances details
FromJSON ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

ToJSON ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

Generic ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

Associated Types

type Rep ProjectBuildBatchConfig :: Type -> Type #

Read ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

Show ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

NFData ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

Methods

rnf :: ProjectBuildBatchConfig -> () #

Eq ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

Hashable ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

type Rep ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

type Rep ProjectBuildBatchConfig = D1 ('MetaData "ProjectBuildBatchConfig" "Amazonka.CodeBuild.Types.ProjectBuildBatchConfig" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "ProjectBuildBatchConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "batchReportMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchReportModeType)) :*: S1 ('MetaSel ('Just "combineArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "restrictions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchRestrictions)) :*: (S1 ('MetaSel ('Just "serviceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timeoutInMins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

newProjectBuildBatchConfig :: ProjectBuildBatchConfig Source #

Create a value of ProjectBuildBatchConfig 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:batchReportMode:ProjectBuildBatchConfig', projectBuildBatchConfig_batchReportMode - Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

REPORT_AGGREGATED_BATCH Aggregate all of the build statuses into a single status report.

REPORT_INDIVIDUAL_BUILDS
Send a separate status report for each individual build.

$sel:combineArtifacts:ProjectBuildBatchConfig', projectBuildBatchConfig_combineArtifacts - Specifies if the build artifacts for the batch build should be combined into a single artifact location.

$sel:restrictions:ProjectBuildBatchConfig', projectBuildBatchConfig_restrictions - A BatchRestrictions object that specifies the restrictions for the batch build.

$sel:serviceRole:ProjectBuildBatchConfig', projectBuildBatchConfig_serviceRole - Specifies the service role ARN for the batch build project.

$sel:timeoutInMins:ProjectBuildBatchConfig', projectBuildBatchConfig_timeoutInMins - Specifies the maximum amount of time, in minutes, that the batch build must be completed in.

projectBuildBatchConfig_batchReportMode :: Lens' ProjectBuildBatchConfig (Maybe BatchReportModeType) Source #

Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

REPORT_AGGREGATED_BATCH Aggregate all of the build statuses into a single status report.

REPORT_INDIVIDUAL_BUILDS
Send a separate status report for each individual build.

projectBuildBatchConfig_combineArtifacts :: Lens' ProjectBuildBatchConfig (Maybe Bool) Source #

Specifies if the build artifacts for the batch build should be combined into a single artifact location.

projectBuildBatchConfig_restrictions :: Lens' ProjectBuildBatchConfig (Maybe BatchRestrictions) Source #

A BatchRestrictions object that specifies the restrictions for the batch build.

projectBuildBatchConfig_serviceRole :: Lens' ProjectBuildBatchConfig (Maybe Text) Source #

Specifies the service role ARN for the batch build project.

projectBuildBatchConfig_timeoutInMins :: Lens' ProjectBuildBatchConfig (Maybe Int) Source #

Specifies the maximum amount of time, in minutes, that the batch build must be completed in.