jenkinsci / pipeline-aws-plugin

Jenkins Pipeline Step Plugin for AWS
https://plugins.jenkins.io/pipeline-aws/
Apache License 2.0
431 stars 202 forks source link

SNS Message Attributes support for additional data types #289

Open k-brooks opened 2 years ago

k-brooks commented 2 years ago

Dependencies

None that I know of

Feature Request

Support String, String.Array, and Number data types in the messageAttributes argument of the snsPublish step. By opening the API against messageAttributes to accept a Map<String, Object> we can introspect the value class and map the corresponding AWS data type. Array/Set/List (any generic type) => String.Array Number => Number String or Undefined => String