Class AWSKMSConnection

java.lang.Object
com.adaptris.core.AdaptrisConnectionImp
com.adaptris.aws.AWSConnection
com.adaptris.aws.kms.AWSKMSConnection
All Implemented Interfaces:
com.adaptris.aws.AWSCredentialsProviderBuilder.BuilderConfig, ClientWrapper<com.amazonaws.services.kms.AWSKMSClient>, AdaptrisComponent, AdaptrisConnection, ComponentLifecycle, ComponentLifecycleExtension, StateManagedComponent

@ComponentProfile(summary="Connection for supporting connectivity to Amazon KMS", tag="connections,amazon,aws,kms", since="3.10.1") public class AWSKMSConnection extends com.adaptris.aws.AWSConnection implements ClientWrapper<com.amazonaws.services.kms.AWSKMSClient>
AdaptrisConnection implementation for Amazon KMS

This class directly exposes almost all the getter and setters that are available in ClientConfiguration via the AWSConnection.getClientConfiguration() property for maximum flexibility in configuration.

The key from the client-configuration element should match the name of the underlying ClientConfiguration property; so if you wanted to control the user-agent you would do :

 
   <client-configuration>
     <key-value-pair>
        <key>UserAgent</key>
        <value>My User Agent</value>
     </key-value-pair>
   </client-configuration>
 
 

In the adapter configuration file this class is aliased as aws-kms-connection which is the preferred alternative to the fully qualified classname when building your configuration.