Packages

class EC2 extends Logging

A representation of Amazon's EC2 service. This class wraps an com.amazonaws.services.ec2.AmazonEC2 instance and provides a higher level interface for querying the currently running instances.

Annotations
@deprecated
Deprecated

(Since version 2017/07/13) This will be removed in a future version

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EC2
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EC2(credentials: AWSCredentials = CredentialStore.getCredentials)

    credentials

    optional AWS credentials to use. If the parameter is not supplied, they will be retrieved from the eu.shiftforward.apso.aws.CredentialStore.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val client: AmazonEC2

    The underlying com.amazonaws.services.ec2.AmazonEC2 instance.

  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def instance(id: String): Option[Instance]

    Returns the information about the instance with a given id.

    Returns the information about the instance with a given id.

    id

    the id of the instance whose data is to be retrieved

    returns

    the information about the instance with the given id wrapped in a Some if such an instance exists, None otherwise.

  13. def instances(): Seq[Instance]

    Returns all the currently running instances in EC2.

    Returns all the currently running instances in EC2.

    returns

    a sequence containing all the currently running instances in EC2.

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. lazy val log: Logger

    The Logger object.

    The Logger object. This logger will have the same name as the concrete class into which this trait is mixed-in.

    Definition Classes
    Logging
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def terminate(instanceId: String): Unit

    Terminates an instance.

    Terminates an instance.

    instanceId

    the id of the instance to terminate

  21. def terminate(instance: Instance): Unit

    Terminates an instance.

    Terminates an instance.

    instance

    the instance to terminate

    Annotations
    @inline()
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped