Class/Object

eu.shiftforward.apso.aws

EC2

Related Docs: object EC2 | package aws

Permalink

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)

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val client: AmazonEC2

    Permalink

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

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. def instance(id: String): Option[Instance]

    Permalink

    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]

    Permalink

    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

    Permalink
    Definition Classes
    Any
  15. lazy val log: Logger

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def terminate(instanceId: String): Unit

    Permalink

    Terminates an instance.

    Terminates an instance.

    instanceId

    the id of the instance to terminate

  21. def terminate(instance: Instance): Unit

    Permalink

    Terminates an instance.

    Terminates an instance.

    instance

    the instance to terminate

    Annotations
    @inline()
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped