You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticBeanstalk::Types::BuildConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb

Overview

Note:

When making an API call, you may pass BuildConfiguration data as a hash:

{
  artifact_name: "String",
  code_build_service_role: "NonEmptyString", # required
  compute_type: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
  image: "NonEmptyString", # required
  timeout_in_minutes: 1,
}

Settings for an AWS CodeBuild build.

Instance Attribute Summary collapse

Instance Attribute Details

#artifact_nameString

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.

Returns:

  • (String)


459
460
461
462
463
464
465
466
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 459

class BuildConfiguration < Struct.new(
  :artifact_name,
  :code_build_service_role,
  :compute_type,
  :image,
  :timeout_in_minutes)
  include Aws::Structure
end

#code_build_service_roleString

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.

Returns:

  • (String)


459
460
461
462
463
464
465
466
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 459

class BuildConfiguration < Struct.new(
  :artifact_name,
  :code_build_service_role,
  :compute_type,
  :image,
  :timeout_in_minutes)
  include Aws::Structure
end

#compute_typeString

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

Returns:

  • (String)


459
460
461
462
463
464
465
466
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 459

class BuildConfiguration < Struct.new(
  :artifact_name,
  :code_build_service_role,
  :compute_type,
  :image,
  :timeout_in_minutes)
  include Aws::Structure
end

#imageString

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

Returns:

  • (String)


459
460
461
462
463
464
465
466
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 459

class BuildConfiguration < Struct.new(
  :artifact_name,
  :code_build_service_role,
  :compute_type,
  :image,
  :timeout_in_minutes)
  include Aws::Structure
end

#timeout_in_minutesInteger

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.

Returns:

  • (Integer)


459
460
461
462
463
464
465
466
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 459

class BuildConfiguration < Struct.new(
  :artifact_name,
  :code_build_service_role,
  :compute_type,
  :image,
  :timeout_in_minutes)
  include Aws::Structure
end