Interface IVersion
- All Superinterfaces:
IConnectable
,IConstruct
,software.constructs.IConstruct
,IDependable
,IFunction
,IGrantable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IVersion.Jsii$Default
- All Known Implementing Classes:
EdgeFunction
,IVersion.Jsii$Proxy
,Version
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.791Z")
@Stability(Stable)
public interface IVersion
extends software.amazon.jsii.JsiiSerializable, IFunction
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIVersion
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.addAlias
(String aliasName, AliasOptions options) Deprecated.CallingaddAlias
on aVersion
object will cause the Alias to be replaced on every function update.The ARN of the version for Lambda@Edge.The underlying AWS Lambda function.The most recently deployed version of this function.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnections
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods 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, grantInvokeUrl, metric, metric, metricDuration, metricDuration, metricErrors, metricErrors, metricInvocations, metricInvocations, metricThrottles, metricThrottles
Methods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipal
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods 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.CallingaddAlias
on aVersion
object 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.CallingaddAlias
on aVersion
object 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.
-
addAlias
on aVersion
object will cause the Alias to be replaced on every function update.