interface EnvironmentOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lambda.EnvironmentOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#EnvironmentOptions |
![]() | software.amazon.awscdk.services.lambda.EnvironmentOptions |
![]() | aws_cdk.aws_lambda.EnvironmentOptions |
![]() | aws-cdk-lib » 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 { aws_lambda as lambda } from 'aws-cdk-lib';
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@Edge will throw)
When used in Lambda@Edge via edgeArn() API, these environment variables will be removed.
If not set, an error will be thrown.