Interface IVersion
Inherited Members
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVersion : IFunction, IResource, IConnectable, IGrantable, IFunctionRef, IVersionRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Interface IVersion Inherits IFunction, IResource, IConnectable, IGrantable, IFunctionRef, IVersionRef, IConstruct, IDependable, IEnvironmentAware
Synopsis
Properties
| EdgeArn | The ARN of the version for Lambda@Edge. |
| Lambda | The underlying AWS Lambda function. |
| Version | The most recently deployed version of this function. |
Methods
| AddAlias(string, IAliasOptions?) | (deprecated) Defines an alias for this version. |
Properties
EdgeArn
Lambda
Version
The most recently deployed version of this function.
string Version { get; }
Property Value
Remarks
Attribute: true
Methods
AddAlias(string, IAliasOptions?)
(deprecated) Defines an alias for this version.
[Obsolete("Calling `addAlias` on a `Version` object will cause the Alias to be replaced on every function update. Call `function.addAlias()` or `new Alias()` instead.")]
Alias AddAlias(string aliasName, IAliasOptions? options = null)
Parameters
- aliasName string
The name of the alias.
- options IAliasOptions
Alias options.
Returns
Remarks
Stability: Deprecated