EnvironmentOptions

class aws_cdk.aws_lambda.EnvironmentOptions(*, remove_in_edge=None)

Bases: object

Environment variables options.

Parameters

remove_in_edge (Optional[bool]) – When used in Lambda@Edge via edgeArn() API, these environment variables will be removed. If not set, an error will be thrown. Default: false - using the function in Lambda

Attributes

remove_in_edge

When used in Lambda@Edge via edgeArn() API, these environment variables will be removed.

If not set, an error will be thrown.

Default

false - using the function in Lambda

See

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-requirements-limits.html#lambda-requirements-lambda-function-configuration

Edge

will throw

Return type

Optional[bool]