Interface IVersion
- All Superinterfaces:
IConnectable,software.constructs.IConstruct,software.constructs.IDependable,IFunction,IFunctionRef,IGrantable,IResource,IVersionRef,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IVersion.Jsii$Default
- All Known Implementing Classes:
EdgeFunction,IVersion.Jsii$Proxy,Version
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:41.289Z")
@Stability(Stable)
public interface IVersion
extends software.amazon.jsii.JsiiSerializable, IFunction, IVersionRef
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIVersion.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.addAlias(String aliasName, AliasOptions options) Deprecated.CallingaddAliason aVersionobject will cause the Alias to be replaced on every function update.The ARN of the version for Lambda@Edge.The underlying AWS Lambda function.software.constructs.NodegetNode()The tree node.The most recently deployed version of this function.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnectionsMethods inherited from interface software.amazon.awscdk.services.lambda.IFunction
addEventSource, addEventSourceMapping, addFunctionUrl, addFunctionUrl, addPermission, addToRolePolicy, configureAsyncInvoke, getArchitecture, getFunctionArn, getFunctionName, getIsBoundToVpc, getLatestVersion, getPermissionsNode, getResourceArnsForGrantInvoke, getRole, grantInvoke, grantInvokeCompositePrincipal, grantInvokeLatestVersion, grantInvokeUrl, grantInvokeVersion, metric, metric, metricDuration, metricDuration, metricErrors, metricErrors, metricInvocations, metricInvocations, metricThrottles, metricThrottlesMethods inherited from interface software.amazon.awscdk.services.lambda.IFunctionRef
getFunctionRefMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.awscdk.services.lambda.IVersionRef
getVersionRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEdgeArn
The ARN of the version for Lambda@Edge. -
getLambda
The underlying AWS Lambda function. -
getVersion
The most recently deployed version of this function. -
addAlias
@Stability(Deprecated) @Deprecated @NotNull Alias addAlias(@NotNull String aliasName, @Nullable AliasOptions options) Deprecated.CallingaddAliason aVersionobject will cause the Alias to be replaced on every function update. Callfunction.addAlias()ornew Alias()instead.(deprecated) Defines an alias for this version.- Parameters:
aliasName- The name of the alias. This parameter is required.options- Alias options.
-
addAlias
Deprecated.CallingaddAliason aVersionobject will cause the Alias to be replaced on every function update. Callfunction.addAlias()ornew Alias()instead.(deprecated) Defines an alias for this version.- Parameters:
aliasName- The name of the alias. This parameter is required.
-
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node.
-
addAliason aVersionobject will cause the Alias to be replaced on every function update.