Interface CfnFunction.EnvironmentProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunction.EnvironmentProperty.Jsii$Proxy
- Enclosing class:
CfnFunction
@Stability(Stable)
public static interface CfnFunction.EnvironmentProperty
extends software.amazon.jsii.JsiiSerializable
A function's environment variable settings.
You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lambda.*; EnvironmentProperty environmentProperty = EnvironmentProperty.builder() .variables(Map.of( "variablesKey", "variables")) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFunction.EnvironmentProperty
static final class
An implementation forCfnFunction.EnvironmentProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVariables
Environment variable key-value pairs.For more information, see Using Lambda environment variables.
- See Also:
-
builder
-