interface EnvironmentOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.EnvironmentOptions |
Java | software.amazon.awscdk.services.lambda.EnvironmentOptions |
Python | aws_cdk.aws_lambda.EnvironmentOptions |
TypeScript (source) | @aws-cdk/aws-lambda » EnvironmentOptions |
Environment variables options.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lambda from '@aws-cdk/aws-lambda';
const environmentOptions: lambda.EnvironmentOptions = {
removeInEdge: false,
};
Properties
Name | Type | Description |
---|---|---|
remove | boolean | When used in Lambda@Edge via edgeArn() API, these environment variables will be removed. |
removeInEdge?
Type:
boolean
(optional, default: false - using the function in Lambda)
When used in Lambda@Edge via edgeArn() API, these environment variables will be removed.
If not set, an error will be thrown.