camel-aws-ec2-sink-kafka-connector sink configuration
Connector Description: Check the status of EC2 instances Access Key/Secret Key are the basic method for authenticating to the AWS EC2 Service. These parameters are optional because the Kamelet provides the 'useDefaultCredentialsProvider'. When using a default Credentials Provider the EC2 client will load the credentials through this provider and won’t use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. The Kamelet expects the following headers to be set: - `instanceIds` / `ce-instanceids`: as a comma separated list of EC2 instance ids.
When using camel-aws-ec2-sink-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-aws-ec2-sink-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
To use this sink connector in Kafka connect you’ll need to set the following connector.class
connector.class=org.apache.camel.kafkaconnector.awsec2sink.CamelAwsec2sinkSinkConnector
The camel-aws-ec2-sink sink connector supports 10 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
The access key obtained from AWS. | MEDIUM | ||
The secret key obtained from AWS. | MEDIUM | ||
Required The AWS region to access. | HIGH | ||
If true, the EC2 client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key). | false | MEDIUM | |
Set whether the EC2 client should expect to load credentials through a profile credentials provider. | false | MEDIUM | |
Set whether the EC2 client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in EC2. | false | MEDIUM | |
If using a profile credentials provider this parameter will set the profile name. | MEDIUM | ||
Amazon AWS Session Token used when the user needs to assume a IAM role. | MEDIUM | ||
The overriding endpoint URI. To use this option, you must also select the | MEDIUM | ||
Select this option to override the endpoint URI. To use this option, you must also provide a URI for the | false | MEDIUM |
The camel-aws-ec2-sink sink connector has no converters out of the box.
The camel-aws-ec2-sink sink connector has no transforms out of the box.
The camel-aws-ec2-sink sink connector has no aggregation strategies out of the box.