AWS RedshiftData
Run SQL statements and read database metadata in Amazon Redshift through the Amazon Redshift Data API.
What’s inside
-
AWS RedshiftData component, URI syntax:
aws2-redshift-data:label
Please refer to the above links for usage and configuration details.
Maven coordinates
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-aws2-redshift-starter</artifactId>
</dependency> Spring Boot Auto-Configuration
The starter supports 23 options, which are listed below.
| Name | Description | Default | Type |
|---|---|---|---|
camel.component.aws2-redshift-data.access-key | The access key ID of the AWS credentials. The client uses it with secretKey as static credentials, or with secretKey and sessionToken when useSessionCredentials is true. | String | |
camel.component.aws2-redshift-data.autowired-enabled | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | Boolean |
camel.component.aws2-redshift-data.aws-redshift-data-client | To use a custom software.amazon.awssdk.services.redshiftdata.RedshiftDataClient. When this option is set or autowired, the endpoint does not build a client of its own, so the credentials, region, proxy and endpoint override options are not used. The endpoint does not close a client that is set or autowired. The option is a software.amazon.awssdk.services.redshiftdata.RedshiftDataClient type. | RedshiftDataClient | |
camel.component.aws2-redshift-data.configuration | The configuration that the component copies to each endpoint that it creates, so that the endpoints share its values. The option is a org.apache.camel.component.aws2.redshift.data.RedshiftData2Configuration type. | RedshiftData2Configuration | |
camel.component.aws2-redshift-data.enabled | Whether to enable auto configuration of the aws2-redshift-data component. This is enabled by default. | Boolean | |
camel.component.aws2-redshift-data.health-check-consumer-enabled | Used for enabling or disabling all consumer based health checks from this component | true | Boolean |
camel.component.aws2-redshift-data.health-check-producer-enabled | Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true. | true | Boolean |
camel.component.aws2-redshift-data.lazy-start-producer | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | Boolean |
camel.component.aws2-redshift-data.operation | The operation that the producer performs. The CamelAwsRedshiftDataOperation header replaces this option. If neither is set, the exchange fails. | RedshiftData2Operations | |
camel.component.aws2-redshift-data.override-endpoint | Whether the client sends its requests to the URI of uriEndpointOverride instead of the endpoint of the AWS region. Without uriEndpointOverride this option has no effect. | false | Boolean |
camel.component.aws2-redshift-data.pojo-request | Whether the message body is the request of the AWS SDK for the operation, such as an ExecuteStatementRequest for executeStatement, which the producer sends as it is. If true, the headers are not used and a body of another type fails the exchange. | false | Boolean |
camel.component.aws2-redshift-data.profile-credentials-name | The name of the profile that the client loads when useProfileCredentialsProvider is true. If not set, the AWS SDK uses the profile that the AWS_PROFILE environment variable or the aws.profile system property names, or else the profile named default. | String | |
camel.component.aws2-redshift-data.proxy-host | The host name of the proxy that the client sends its requests through. The proxy is used only when proxyPort is set as well. | String | |
camel.component.aws2-redshift-data.proxy-port | The port of the proxy that the client sends its requests through. The proxy is used only when proxyHost is set as well. | Integer | |
camel.component.aws2-redshift-data.proxy-protocol | The protocol that the client uses to connect to the proxy. It is used only when proxyHost and proxyPort are set. | https | Protocol |
camel.component.aws2-redshift-data.region | The AWS region of the Redshift Data API, as a lowercase region ID such as eu-west-1, which is the value of Region.EU_WEST_1.id(). If not set, the AWS SDK takes the region from its default region provider chain, such as the aws.region system property or the AWS_REGION environment variable. | String | |
camel.component.aws2-redshift-data.secret-key | The secret access key of the AWS credentials, which the client uses together with accessKey. | String | |
camel.component.aws2-redshift-data.session-token | The session token of temporary AWS credentials, for example from assuming an IAM role. The client uses it only when useSessionCredentials is true, together with accessKey and secretKey. | String | |
camel.component.aws2-redshift-data.trust-all-certificates | Whether the HTTP client trusts all TLS certificates without validating them. It applies to every connection of the client, also when the endpoint is not overridden. | false | Boolean |
camel.component.aws2-redshift-data.uri-endpoint-override | The URI that the client sends its requests to, for example http://localhost:4566 for a local emulator. It is used only when overrideEndpoint is true. | String | |
camel.component.aws2-redshift-data.use-default-credentials-provider | Whether the client loads the credentials with the default credentials provider chain of the AWS SDK, which looks in system properties, environment variables, the profile files, and the container and instance metadata. It takes precedence over the other credentials options. | false | Boolean |
camel.component.aws2-redshift-data.use-profile-credentials-provider | Whether the client loads the credentials from a profile of the AWS config and credentials files, the one that profileCredentialsName names. It takes precedence over useSessionCredentials, accessKey and secretKey, but not over useDefaultCredentialsProvider. | false | Boolean |
camel.component.aws2-redshift-data.use-session-credentials | Whether the client uses temporary session credentials made of accessKey, secretKey and sessionToken, for example after assuming an IAM role. If sessionToken is not set, the client uses accessKey and secretKey as static credentials. | false | Boolean |