@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.476Z") @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, getStackgetConnectionsgetGrantPrincipal@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 © 2022. All rights reserved.