@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-10T17:05:56.570Z") @Stability(value=Stable) public interface IVersion extends software.amazon.jsii.JsiiSerializable, IFunction
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IVersion.Jsii$Default
Internal default implementation for
IVersion. |
static class |
IVersion.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
Alias |
addAlias(String aliasName)
Deprecated.
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,
AliasOptions options)
Deprecated.
Calling `addAlias` on a `Version` object will cause the Alias to be replaced on every function update. Call `function.addAlias()` or `new Alias()` instead.
|
String |
getEdgeArn()
The ARN of the version for Lambda@Edge.
|
IFunction |
getLambda()
The underlying AWS Lambda function.
|
String |
getVersion()
The most recently deployed version of this function.
|
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, metricThrottlesapplyRemovalPolicy, getEnv, getStackgetNodegetConnectionsgetGrantPrincipal@Stability(value=Stable) @NotNull String getEdgeArn()
@Stability(value=Stable) @NotNull IFunction getLambda()
@Stability(value=Stable) @NotNull String getVersion()
@Stability(value=Deprecated) @Deprecated @NotNull Alias addAlias(@NotNull String aliasName, @Nullable AliasOptions options)
aliasName - The name of the alias. This parameter is required.options - Alias options.@Stability(value=Deprecated) @Deprecated @NotNull Alias addAlias(@NotNull String aliasName)
aliasName - The name of the alias. This parameter is required.Copyright © 2023. All rights reserved.