Class EnvironmentOptions
Environment variables options.
Inheritance
System.Object
EnvironmentOptions
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public class EnvironmentOptions : Object, IEnvironmentOptions
Syntax (vb)
Public Class EnvironmentOptions
Inherits Object
Implements IEnvironmentOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var environmentOptions = new EnvironmentOptions {
RemoveInEdge = false
};
Synopsis
Constructors
EnvironmentOptions() |
Properties
RemoveInEdge | When used in Lambda@Edge via edgeArn() API, these environment variables will be removed. |
Constructors
EnvironmentOptions()
public EnvironmentOptions()
Properties
RemoveInEdge
When used in Lambda@Edge via edgeArn() API, these environment variables will be removed.
public Nullable<bool> RemoveInEdge { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
If not set, an error will be thrown.
Default: false - using the function in Lambda
Edge: will throw