You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to use the ```@Param``` annotation in your project add configuration to compile-time weave (CTW) the powertools-parameters aspects into your project.
316
+
317
+
*[maven](https://maven.apache.org/):
318
+
```xml
319
+
<build>
320
+
<plugins>
321
+
...
322
+
<plugin>
323
+
<groupId>org.codehaus.mojo</groupId>
324
+
<artifactId>aspectj-maven-plugin</artifactId>
325
+
<version>1.11</version>
326
+
<configuration>
327
+
...
328
+
<aspectLibraries>
329
+
...
330
+
<aspectLibrary>
331
+
<groupId>software.amazon.lambda</groupId>
332
+
<artifactId>powertools-parameters</artifactId>
333
+
</aspectLibrary>
334
+
</aspectLibraries>
335
+
</configuration>
336
+
<executions>
337
+
<execution>
338
+
<goals>
339
+
<goal>compile</goal>
340
+
</goals>
341
+
</execution>
342
+
</executions>
343
+
</plugin>
344
+
...
345
+
</plugins>
346
+
</build>
347
+
```
348
+
**Note:** If you are working with lambda function on runtime post java8, please refer [issue](https://github.com/awslabs/aws-lambda-powertools-java/issues/50) for workaround
* @param transformerClass Class of the transformer to apply. For convenience, you can use {@link Transformer#json} or {@link Transformer#base64} shortcuts.
105
105
* @return the provider itself in order to chain calls (eg. <pre>provider.withTransformation(json).get("key", MyObject.class)</pre>).
Copy file name to clipboardExpand all lines: powertools-parameters/src/test/java/software/amazon/lambda/powertools/parameters/ParamManagerIntegrationTest.java
0 commit comments