aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

[aws-cdk-java] TaskEnvironmentVariable is missing valuePath property

Open clementy28 opened this issue 6 years ago • 1 comments

Reproduction Steps

Class: software.amazon.awscdk.services.stepfunctions.tasks.TaskEnvironmentVariable

It is missing the valuePath property, to generate a "Value.$" key.

/**
 * Value of the environment variable.
 * <p>
 * Exactly one of <code>value</code> and <code>valuePath</code> must be specified.
 */
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.String getValue();

Error Log

Environment

  • CLI Version :
  • Framework Version: 1.5793
  • Node.js Version:
  • OS :
  • Language (Version): Java 11

Other


This is :bug: Bug Report

clementy28 avatar Jul 29 '20 04:07 clementy28

discussed this with @clementy28 offline. This is actually already supported. Here's an example in our test and the expectation

shivlaks avatar Aug 06 '20 05:08 shivlaks