Show / Hide Table of Contents

Interface IVersion

Inherited Members
IFunction.AddEventSource(IEventSource)
IFunction.AddEventSourceMapping(string, IEventSourceMappingOptions)
IFunction.AddFunctionUrl(IFunctionUrlOptions)
IFunction.AddPermission(string, IPermission)
IFunction.AddToRolePolicy(PolicyStatement)
IFunction.ConfigureAsyncInvoke(IEventInvokeConfigOptions)
IFunction.GrantInvoke(IGrantable)
IFunction.GrantInvokeCompositePrincipal(CompositePrincipal)
IFunction.GrantInvokeLatestVersion(IGrantable)
IFunction.GrantInvokeUrl(IGrantable)
IFunction.GrantInvokeVersion(IGrantable, IVersion)
IFunction.Metric(string, IMetricOptions)
IFunction.MetricDuration(IMetricOptions)
IFunction.MetricErrors(IMetricOptions)
IFunction.MetricInvocations(IMetricOptions)
IFunction.MetricThrottles(IMetricOptions)
IFunction.Architecture
IFunction.FunctionArn
IFunction.FunctionName
IFunction.IsBoundToVpc
IFunction.LatestVersion
IFunction.PermissionsNode
IFunction.ResourceArnsForGrantInvoke
IFunction.Role
IFunction.TenancyConfig
IResource.ApplyRemovalPolicy(RemovalPolicy)
IResource.Stack
IConnectable.Connections
IGrantable.GrantPrincipal
IFunctionRef.FunctionRef
IVersionRef.VersionRef
IEnvironmentAware.Env
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

The ARN of the version for Lambda@Edge.

string EdgeArn { get; }
Property Value

string

Lambda

The underlying AWS Lambda function.

IFunction Lambda { get; }
Property Value

IFunction

Version

The most recently deployed version of this function.

string Version { get; }
Property Value

string

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

Alias

Remarks

Stability: Deprecated

Back to top Generated by DocFX