AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::RailsProvisioner::CodeBuild

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-rails-provisioner/code_build.rb

Direct Known Subclasses

Build, Migration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ CodeBuild

Returns a new instance of CodeBuild.



4
5
6
7
8
9
10
# File 'lib/aws-rails-provisioner/code_build.rb', line 4

def initialize(options = {})
  @project_name = options[:project_name]
  @description = options[:description]
  @buildspec = options[:buildspec]
  @image = options[:build_image].upcase
  @timeout = options[:timeout]
end

Instance Attribute Details

#buildspecString (readonly)

Returns:

  • (String)


19
20
21
# File 'lib/aws-rails-provisioner/code_build.rb', line 19

def buildspec
  @buildspec
end

#descriptionString (readonly)

Returns:

  • (String)


16
17
18
# File 'lib/aws-rails-provisioner/code_build.rb', line 16

def description
  @description
end

#imageString (readonly)

Returns:

  • (String)


25
26
27
# File 'lib/aws-rails-provisioner/code_build.rb', line 25

def image
  @image
end

#project_nameString (readonly)

Returns:

  • (String)


13
14
15
# File 'lib/aws-rails-provisioner/code_build.rb', line 13

def project_name
  @project_name
end

#timeoutInteger (readonly)

Returns:

  • (Integer)


22
23
24
# File 'lib/aws-rails-provisioner/code_build.rb', line 22

def timeout
  @timeout
end