This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit f0374fc55073b317d76439d82c0cef74b3cdfb06 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Oct 1 12:31:38 2019 +0200 Regen docs --- .../modules/ROOT/pages/aws-ec2-component.adoc | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/components/modules/ROOT/pages/aws-ec2-component.adoc b/docs/components/modules/ROOT/pages/aws-ec2-component.adoc index 6aa9862..414aa38 100644 --- a/docs/components/modules/ROOT/pages/aws-ec2-component.adoc +++ b/docs/components/modules/ROOT/pages/aws-ec2-component.adoc @@ -159,6 +159,34 @@ terminate operations on. |`CamelAwsEC2InstancesTags` |`Collection` |A collection of tags to add or remove from EC2 resources |======================================================================= +== Supported producer operations + +- createAndRunInstances +- startInstances +- stopInstances +- terminateInstances +- describeInstances +- describeInstancesStatus +- rebootInstances +- monitorInstances +- unmonitorInstances +- createTags +- deleteTags + +== Producer Examples + +- createAndRunInstances: this operation will create an EC2 instance and run it + +[source,java] +-------------------------------------------------------------------------------- +from("direct:createAndRun") + .setHeader(EC2Constants.IMAGE_ID, constant("ami-fd65ba94")) + .setHeader(EC2Constants.INSTANCE_TYPE, constant(InstanceType.T2Micro)) + .setHeader(EC2Constants.INSTANCE_MIN_COUNT, constant("1")) + .setHeader(EC2Constants.INSTANCE_MAX_COUNT, constant("1")) + .to("aws-ec2://TestDomain?accessKey=xxxx&secretKey=xxxx&operation=createAndRunInstances"); +-------------------------------------------------------------------------------- + == Automatic detection of AmazonEC2 client in registry The component is capable of detecting the presence of an AmazonEC2 bean into the registry.