Class

com.krux.hyperion.aws

AdpEc2Resource

Related Doc: package aws

Permalink

case class AdpEc2Resource(id: String, name: Option[String], instanceType: Option[String], imageId: Option[String], role: Option[String], resourceRole: Option[String], runAsUser: Option[String], keyPair: Option[String], region: Option[String], availabilityZone: Option[String], subnetId: Option[String], associatePublicIpAddress: Option[String], securityGroups: Option[Seq[String]], securityGroupIds: Option[Seq[String]], spotBidPrice: Option[String], useOnDemandOnLastAttempt: Option[String], initTimeout: Option[String], terminateAfter: Option[String], actionOnResourceFailure: Option[String], actionOnTaskFailure: Option[String], httpProxy: Option[AdpRef[AdpHttpProxy]], maximumRetries: Option[String]) extends AdpDataPipelineAbstractObject with AdpResource with Product with Serializable

An EC2 instance that will perform the work defined by a pipeline activity.

instanceType

The type of EC2 instance to use for the resource pool. The default value is m1.small.

imageId

The AMI version to use for the EC2 instances. For more information, see Amazon Machine Images (AMIs).

role

The IAM role to use to create the EC2 instance.

resourceRole

The IAM role to use to control the resources that the EC2 instance can access.

keyPair

The name of the key pair. If you launch an EC2 instance without specifying a key pair, you can't log on to it.

region

A region code to specify that the resource should run in a different region.

availabilityZone

The Availability Zone in which to launch the EC2 instance.

subnetId

The ID of the subnet to launch the instance into.

associatePublicIpAddress

Indicates whether to assign a public IP address to an instance. An instance in a VPC can't access Amazon S3 unless it has a public IP address or a network address translation (NAT) instance with proper routing configuration. If the instance is in EC2-Classic or a default VPC, the default value is true. Otherwise, the default value is false.

securityGroups

The names of one or more security groups to use for the instances in the resource pool. By default, Amazon EC2 uses the default security group.

securityGroupIds

The IDs of one or more security groups to use for the instances in the resource pool. By default, Amazon EC2 uses the default security group.

spotBidPrice

The Spot Instance bid price for Ec2Resources. The maximum dollar amount for your Spot Instance bid and is a decimal value between 0 and 20.00 exclusive

useOnDemandOnLastAttempt

On the last attempt to request a resource, this option will make a request for On-Demand Instances rather than Spot. This ensures that if all previous attempts have failed that the last attempt is not interrupted in the middle by changes in the spot market. Default value is True.

terminateAfter

The amount of time to wait before terminating the resource.

actionOnResourceFailure

Action to take when the resource fails.

actionOnTaskFailure

Action to take when the task associated with this resource fails.

maximumRetries

Maximum number attempt retries on failure.

Source
AdpResources.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AdpResource, AdpDataPipelineObject, AdpDataPipelineAbstractObject, AdpObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AdpEc2Resource
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AdpResource
  7. AdpDataPipelineObject
  8. AdpDataPipelineAbstractObject
  9. AdpObject
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AdpEc2Resource(id: String, name: Option[String], instanceType: Option[String], imageId: Option[String], role: Option[String], resourceRole: Option[String], runAsUser: Option[String], keyPair: Option[String], region: Option[String], availabilityZone: Option[String], subnetId: Option[String], associatePublicIpAddress: Option[String], securityGroups: Option[Seq[String]], securityGroupIds: Option[Seq[String]], spotBidPrice: Option[String], useOnDemandOnLastAttempt: Option[String], initTimeout: Option[String], terminateAfter: Option[String], actionOnResourceFailure: Option[String], actionOnTaskFailure: Option[String], httpProxy: Option[AdpRef[AdpHttpProxy]], maximumRetries: Option[String])

    Permalink

    instanceType

    The type of EC2 instance to use for the resource pool. The default value is m1.small.

    imageId

    The AMI version to use for the EC2 instances. For more information, see Amazon Machine Images (AMIs).

    role

    The IAM role to use to create the EC2 instance.

    resourceRole

    The IAM role to use to control the resources that the EC2 instance can access.

    keyPair

    The name of the key pair. If you launch an EC2 instance without specifying a key pair, you can't log on to it.

    region

    A region code to specify that the resource should run in a different region.

    availabilityZone

    The Availability Zone in which to launch the EC2 instance.

    subnetId

    The ID of the subnet to launch the instance into.

    associatePublicIpAddress

    Indicates whether to assign a public IP address to an instance. An instance in a VPC can't access Amazon S3 unless it has a public IP address or a network address translation (NAT) instance with proper routing configuration. If the instance is in EC2-Classic or a default VPC, the default value is true. Otherwise, the default value is false.

    securityGroups

    The names of one or more security groups to use for the instances in the resource pool. By default, Amazon EC2 uses the default security group.

    securityGroupIds

    The IDs of one or more security groups to use for the instances in the resource pool. By default, Amazon EC2 uses the default security group.

    spotBidPrice

    The Spot Instance bid price for Ec2Resources. The maximum dollar amount for your Spot Instance bid and is a decimal value between 0 and 20.00 exclusive

    useOnDemandOnLastAttempt

    On the last attempt to request a resource, this option will make a request for On-Demand Instances rather than Spot. This ensures that if all previous attempts have failed that the last attempt is not interrupted in the middle by changes in the spot market. Default value is True.

    terminateAfter

    The amount of time to wait before terminating the resource.

    actionOnResourceFailure

    Action to take when the resource fails.

    actionOnTaskFailure

    Action to take when the task associated with this resource fails.

    maximumRetries

    Maximum number attempt retries on failure.

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. val actionOnResourceFailure: Option[String]

    Permalink

    Action to take when the resource fails.

  5. val actionOnTaskFailure: Option[String]

    Permalink

    Action to take when the task associated with this resource fails.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val associatePublicIpAddress: Option[String]

    Permalink

    Indicates whether to assign a public IP address to an instance.

    Indicates whether to assign a public IP address to an instance. An instance in a VPC can't access Amazon S3 unless it has a public IP address or a network address translation (NAT) instance with proper routing configuration. If the instance is in EC2-Classic or a default VPC, the default value is true. Otherwise, the default value is false.

  8. val availabilityZone: Option[String]

    Permalink

    The Availability Zone in which to launch the EC2 instance.

  9. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. val httpProxy: Option[AdpRef[AdpHttpProxy]]

    Permalink
  14. val id: String

    Permalink

    The ID of the object, IDs must be unique within a pipeline definition

    The ID of the object, IDs must be unique within a pipeline definition

    Definition Classes
    AdpEc2ResourceAdpDataPipelineObjectAdpObject
  15. val imageId: Option[String]

    Permalink

    The AMI version to use for the EC2 instances.

    The AMI version to use for the EC2 instances. For more information, see Amazon Machine Images (AMIs).

  16. val initTimeout: Option[String]

    Permalink
  17. val instanceType: Option[String]

    Permalink

    The type of EC2 instance to use for the resource pool.

    The type of EC2 instance to use for the resource pool. The default value is m1.small.

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val keyPair: Option[String]

    Permalink

    The name of the key pair.

    The name of the key pair. If you launch an EC2 instance without specifying a key pair, you can't log on to it.

    Definition Classes
    AdpEc2ResourceAdpResource
  20. val maximumRetries: Option[String]

    Permalink

    Maximum number attempt retries on failure.

  21. val name: Option[String]

    Permalink

    The optional, user-defined label of the object.

    The optional, user-defined label of the object. If you do not provide a name for an object in a pipeline definition, AWS Data Pipeline automatically duplicates the value of id.

    Definition Classes
    AdpEc2ResourceAdpDataPipelineObjectAdpDataPipelineAbstractObject
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. val region: Option[String]

    Permalink

    A region code to specify that the resource should run in a different region.

    A region code to specify that the resource should run in a different region.

    Definition Classes
    AdpEc2ResourceAdpResource
  26. val resourceRole: Option[String]

    Permalink

    The IAM role to use to control the resources that the EC2 instance can access.

  27. val role: Option[String]

    Permalink

    The IAM role to use to create the EC2 instance.

  28. val runAsUser: Option[String]

    Permalink
  29. val securityGroupIds: Option[Seq[String]]

    Permalink

    The IDs of one or more security groups to use for the instances in the resource pool.

    The IDs of one or more security groups to use for the instances in the resource pool. By default, Amazon EC2 uses the default security group.

  30. val securityGroups: Option[Seq[String]]

    Permalink

    The names of one or more security groups to use for the instances in the resource pool.

    The names of one or more security groups to use for the instances in the resource pool. By default, Amazon EC2 uses the default security group.

  31. val spotBidPrice: Option[String]

    Permalink

    The Spot Instance bid price for Ec2Resources.

    The Spot Instance bid price for Ec2Resources. The maximum dollar amount for your Spot Instance bid and is a decimal value between 0 and 20.00 exclusive

  32. val subnetId: Option[String]

    Permalink

    The ID of the subnet to launch the instance into.

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. val terminateAfter: Option[String]

    Permalink

    The amount of time to wait before terminating the resource.

    The amount of time to wait before terminating the resource.

    Definition Classes
    AdpEc2ResourceAdpResource
  35. val type: String

    Permalink

    The type of object.

    The type of object. Use one of the predefined AWS Data Pipeline object types.

    Definition Classes
    AdpEc2ResourceAdpDataPipelineObject
  36. val useOnDemandOnLastAttempt: Option[String]

    Permalink

    On the last attempt to request a resource, this option will make a request for On-Demand Instances rather than Spot.

    On the last attempt to request a resource, this option will make a request for On-Demand Instances rather than Spot. This ensures that if all previous attempts have failed that the last attempt is not interrupted in the middle by changes in the spot market. Default value is True.

  37. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AdpResource

Inherited from AdpDataPipelineObject

Inherited from AdpObject

Inherited from AnyRef

Inherited from Any

Ungrouped