EnvironmentOptions Struct
Environment variables options.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const environmentOptions: lambda.EnvironmentOptions = {
removeInEdge: false,
};
Properties
removeInEdgebooleanremove_in_edgeboolremoveInEdgeBooleanRemoveInEdgeboolRemoveInEdge*bool= false - using the function in La…#When used in Lambda@Edge via edgeArn() API, these environment variables will be removed.
If not set, an error will be thrown.
default
Default: false - using the function in Lambda@Edge will throw