Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can append query options to the URI in the following format, : ?options=value&option2=value&...

URI Options

Name

Default Value

Context

Description

amazonEc2Client

null

Producer

Reference to a com.amazonaws.services.ec2.AmazonEC2Client in the Registry.

accessKey

null

Producer

Amazon AWS Access Key

secretKey

null

Producer

Amazon AWS Secret Key

amazonEc2Endpoint

null

Producer

The region with which the AWSthe aws-EC2 ec2 client wants to work with.

operation

null

Producer

Valid values are createAndRunInstances, startInstances, stopInstances, terminateInstances, describeInstances, describeInstancesStatus, rebootInstances, monitorInstances and :

  • createAndRunInstances
  • describeInstances
  • describeInstancesStatus
  • monitorInstances
  • rebootInstances
  • startInstances
  • stopInstances
  • terminateInstances
  • unmonitorInstances

proxyHost

null

Producer

Camel 2.16: Specify a proxy host to be used inside the client definition.

proxyPort

null

Producer

Camel 2.16: Specify a proxy port to be used inside the client definition.

Info
titleRequired EC2 component options

You have to provide the the amazonEc2Client in the Registry or your your accessKey and and secretKey to access the Amazon EC2 service.

...

Div
classconfluenceTableSmall

Header

Type

Description

CamelAwsEC2ImageId

String

An image ID of the AWS marketplace.

CamelAwsEC2InstancesIds

Collection

A collection of instances IDS to execute start, stop, describe and terminate operations on.

CamelAwsEC2InstanceEbsOptimized

Boolean

Define if the creating instance is optimized for EBS I/O.

CamelAwsEC2InstanceType

com.amazonaws.services.ec2.model.InstanceType

The instance type we want to create and run

CamelAwsEC2Operation

String

The operation we want to perform

.

CamelAwsEC2InstanceMaxCount

CamelAwsEC2InstanceMinCount

Int

The mininum maximum number of instances we want to run.

CamelAwsEC2InstanceMaxCountCamelAwsEC2InstanceMinCount

Int

The maximum minimum number of instances we want to run.

CamelAwsEC2InstanceMonitoring

Boolean

Define if we want the running instances to be monitored

CamelAwsEC2InstanceEbsOptimized

Boolean

Define if the creating instance is optimized for EBS I/O.

CamelAwsEC2InstanceSecurityGroups

Collection

The security groups to associate to the instances.

CamelAwsEC2InstancesIdsCamelAwsEC2Operation

Collection

String

The operation to performA collection of instances IDS to execute start, stop, describe and terminate operations on.

Dependencies

Maven users will need to add the following dependency to their pom.xml.

Code Block
xml
xml
titlepom.xml
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-aws</artifactId>
    <version>${camel-version}</version>
</dependency>

where ${camel-version} must be replaced by the actual version of Camel (2.16 or higher).

...