Interface CfnApp.EnvironmentVariableProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnApp.EnvironmentVariableProperty extends
Represents an app's environment variable.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 EnvironmentVariableProperty environmentVariableProperty = EnvironmentVariableProperty.builder()
         // the properties below are optional
  • Method Details

    • getKey

      @Stability(Stable) @NotNull String getKey()
      (Required) The environment variable's name, which can consist of up to 64 characters and must be specified.

      The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.

    • getValue

      @Stability(Stable) @NotNull String getValue()
      (Optional) The environment variable's value, which can be left empty.

      If you specify a value, it can contain up to 256 characters, which must all be printable.

    • getSecure

      @Stability(Stable) @Nullable default Object getSecure()
      (Optional) Whether the variable's value is returned by the DescribeApps action. To hide an environment variable's value, set Secure to true . DescribeApps returns *****FILTERED***** instead of the actual value. The default value for Secure is false .
    • builder

      @Stability(Stable) static CfnApp.EnvironmentVariableProperty.Builder builder()
      a CfnApp.EnvironmentVariableProperty.Builder of CfnApp.EnvironmentVariableProperty