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

Description

 
Synopsis

Documentation

data ProjectBuildBatchConfig Source #

Contains configuration information about a batch build project.

See: newProjectBuildBatchConfig smart constructor.

Constructors

ProjectBuildBatchConfig' 

Fields

  • combineArtifacts :: Maybe Bool

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

  • timeoutInMins :: Maybe Int

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

  • restrictions :: Maybe BatchRestrictions

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

  • 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.
  • serviceRole :: Maybe Text

    Specifies the service role ARN for the batch build project.

Instances

Instances details
Eq ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

Read ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

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

NFData ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

Methods

rnf :: ProjectBuildBatchConfig -> () #

Hashable ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

ToJSON ProjectBuildBatchConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.ProjectBuildBatchConfig

FromJSON 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" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "ProjectBuildBatchConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "combineArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "timeoutInMins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "restrictions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchRestrictions)) :*: (S1 ('MetaSel ('Just "batchReportMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchReportModeType)) :*: S1 ('MetaSel ('Just "serviceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:combineArtifacts:ProjectBuildBatchConfig', projectBuildBatchConfig_combineArtifacts - Specifies if the build artifacts for the batch build should be combined into a single artifact location.

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

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

$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:serviceRole:ProjectBuildBatchConfig', projectBuildBatchConfig_serviceRole - Specifies the service role ARN for the batch build project.

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_timeoutInMins :: Lens' ProjectBuildBatchConfig (Maybe Int) Source #

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

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

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

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_serviceRole :: Lens' ProjectBuildBatchConfig (Maybe Text) Source #

Specifies the service role ARN for the batch build project.