You can now pass variables from one action to another in your pipeline. Previously, there was no first-class support for passing metadata between actions during an execution. You can now dynamically configure your actions with variables that will be evaluated at execution time.

from Recent Announcements: https://aws.amazon.com/about-aws/whats-new/2019/11/aws-codepipeline-enables-passing-variables-between-actions-at-execution-time/