@Generated(value="jsii-pacmak/1.34.0 (build 9b72778)", date="2021-09-21T00:27:37.468Z") @Stability(value=Stable) public class EnvValue extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
EnvValue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EnvValue(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static EnvValue |
fromConfigMap(IConfigMap configMap,
String key)
Create a value by reading a specific key inside a config map.
|
static EnvValue |
fromConfigMap(IConfigMap configMap,
String key,
EnvValueFromConfigMapOptions options)
Create a value by reading a specific key inside a config map.
|
static EnvValue |
fromProcess(String key)
Create a value from a key in the current process environment.
|
static EnvValue |
fromProcess(String key,
EnvValueFromProcessOptions options)
Create a value from a key in the current process environment.
|
static EnvValue |
fromSecretValue(SecretValue secretValue)
Defines an environment value from a secret JSON value.
|
static EnvValue |
fromSecretValue(SecretValue secretValue,
EnvValueFromSecretOptions options)
Defines an environment value from a secret JSON value.
|
static EnvValue |
fromValue(String value)
Create a value from the given argument.
|
Object |
getValue() |
Object |
getValueFrom() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected EnvValue(software.amazon.jsii.JsiiObjectRef objRef)
protected EnvValue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public static EnvValue fromConfigMap(@NotNull IConfigMap configMap, @NotNull String key, @Nullable EnvValueFromConfigMapOptions options)
configMap - - The config map. This parameter is required.key - - The key to extract the value from. This parameter is required.options - - Additional options.@Stability(value=Stable) @NotNull public static EnvValue fromConfigMap(@NotNull IConfigMap configMap, @NotNull String key)
configMap - - The config map. This parameter is required.key - - The key to extract the value from. This parameter is required.@Stability(value=Stable) @NotNull public static EnvValue fromProcess(@NotNull String key, @Nullable EnvValueFromProcessOptions options)
key - - The key to read. This parameter is required.options - - Additional options.@Stability(value=Stable) @NotNull public static EnvValue fromProcess(@NotNull String key)
key - - The key to read. This parameter is required.@Stability(value=Stable) @NotNull public static EnvValue fromSecretValue(@NotNull SecretValue secretValue, @Nullable EnvValueFromSecretOptions options)
secretValue - The secret value (secrent + key). This parameter is required.options - Additional options.@Stability(value=Stable) @NotNull public static EnvValue fromSecretValue(@NotNull SecretValue secretValue)
secretValue - The secret value (secrent + key). This parameter is required.@Stability(value=Stable) @NotNull public static EnvValue fromValue(@NotNull String value)
value - - The value. This parameter is required.@Stability(value=Stable) @Nullable public Object getValue()
@Stability(value=Stable) @Nullable public Object getValueFrom()
Copyright © 2021. All rights reserved.