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
- Alphabetic
- By Inheritance
- EC2
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
client: AmazonEC2
The underlying com.amazonaws.services.ec2.AmazonEC2 instance.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
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
Someif such an instance exists,Noneotherwise.
-
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
log: Logger
The
Loggerobject.The
Loggerobject. This logger will have the same name as the concrete class into which this trait is mixed-in.- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
terminate(instanceId: String): Unit
Terminates an instance.
Terminates an instance.
- instanceId
the id of the instance to terminate
-
def
terminate(instance: Instance): Unit
Terminates an instance.
Terminates an instance.
- instance
the instance to terminate
- Annotations
- @inline()
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )