AWSRequester is a JMS message consumer that listens to an internal XQueue. It receives messages from the queue to convert them to AWS requests before sending them to an AWS service. Currently the only operation, display, is supported.
Apart from the common properties, there are many implementation specific properties for RMQPersister.
Property Name | Data Type | Requirement | Description | Examples |
---|---|---|---|---|
Profile | string | optional | AWS Profile | default |
AccessKeyId | string | optional | AWS Access_Key_Id | ASIAJM7IXW5MY5TSR3WQ |
SecretAccessKey | string | optional | AWS Secret_Access_Key | xxxx |
EncreyptedSecretAccessKey | string | optional | AWS Secret_Access_Key in encrypted form | xxxx |
RequestProperty | map | optional | key mapping for picking up properties from messages | see example |
Here is an example of AWSRequester:
{ "Name": "pstr_token", "ClassName": "org.qbroker.persister.AWSRequester", "URI": "sts://aws.amazon.com", "Operation": "display", "LinkName": "token", "AccessKeyId": "${AWS_ID}", "EncryptedSecretAccessKey": "${AWS_SECRET}", "ResultType": "8", "DisplayMask": "6", "RequestProperty": { "user": "user", "duration": "duration", "policy": "body" }, "StringProperty": { "path": "", "user": "" } }