libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
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.ElasticBeanstalk.Types.BuildConfiguration

Description

 
Synopsis

Documentation

data BuildConfiguration Source #

Settings for an AWS CodeBuild build.

See: newBuildConfiguration smart constructor.

Constructors

BuildConfiguration' 

Fields

  • artifactName :: Maybe Text

    The name of the artifact of the CodeBuild build. If provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label-artifact-name.zip. If not provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label.zip.

  • computeType :: Maybe ComputeType

    Information about the compute resources the build project will use.

    • BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds
    • BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds
    • BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds
  • timeoutInMinutes :: Maybe Int

    How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

  • codeBuildServiceRole :: Text

    The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

  • image :: Text

    The ID of the Docker image to use for this build project.

Instances

Instances details
Eq BuildConfiguration Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.BuildConfiguration

Read BuildConfiguration Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.BuildConfiguration

Show BuildConfiguration Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.BuildConfiguration

Generic BuildConfiguration Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.BuildConfiguration

Associated Types

type Rep BuildConfiguration :: Type -> Type #

NFData BuildConfiguration Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.BuildConfiguration

Methods

rnf :: BuildConfiguration -> () #

Hashable BuildConfiguration Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.BuildConfiguration

ToQuery BuildConfiguration Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.BuildConfiguration

type Rep BuildConfiguration Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.BuildConfiguration

type Rep BuildConfiguration = D1 ('MetaData "BuildConfiguration" "Amazonka.ElasticBeanstalk.Types.BuildConfiguration" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "BuildConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "artifactName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "computeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputeType))) :*: (S1 ('MetaSel ('Just "timeoutInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "codeBuildServiceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newBuildConfiguration Source #

Create a value of BuildConfiguration 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:artifactName:BuildConfiguration', buildConfiguration_artifactName - The name of the artifact of the CodeBuild build. If provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label-artifact-name.zip. If not provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label.zip.

$sel:computeType:BuildConfiguration', buildConfiguration_computeType - Information about the compute resources the build project will use.

  • BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds
  • BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds
  • BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds

$sel:timeoutInMinutes:BuildConfiguration', buildConfiguration_timeoutInMinutes - How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

$sel:codeBuildServiceRole:BuildConfiguration', buildConfiguration_codeBuildServiceRole - The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

$sel:image:BuildConfiguration', buildConfiguration_image - The ID of the Docker image to use for this build project.

buildConfiguration_artifactName :: Lens' BuildConfiguration (Maybe Text) Source #

The name of the artifact of the CodeBuild build. If provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label-artifact-name.zip. If not provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label.zip.

buildConfiguration_computeType :: Lens' BuildConfiguration (Maybe ComputeType) Source #

Information about the compute resources the build project will use.

  • BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds
  • BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds
  • BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds

buildConfiguration_timeoutInMinutes :: Lens' BuildConfiguration (Maybe Int) Source #

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

buildConfiguration_codeBuildServiceRole :: Lens' BuildConfiguration Text Source #

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

buildConfiguration_image :: Lens' BuildConfiguration Text Source #

The ID of the Docker image to use for this build project.