...
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 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 unmonitorInstances: 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 |
---|
title | Required 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 |
---|
class | confluenceTableSmall |
---|
|
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. | CamelAwsEC2InstanceMaxCount CamelAwsEC2InstanceMinCount
| 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. | CamelAwsEC2InstancesIds CamelAwsEC2Operation
| 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 |
---|
|
<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).
...