| Modifier and Type | Method and Description |
|---|---|
Version |
Function.addVersion(String name)
Deprecated.
This method will create an AWS::Lambda::Version resource which
snapshots the AWS Lambda function *at the time of its creation* and it
won't get updated when the function changes. Instead, use
`this.currentVersion` to obtain a reference to a version resource that gets
automatically recreated when the function configuration (or code) changes.
|
Version |
Function.addVersion(String name,
String codeSha256)
Deprecated.
This method will create an AWS::Lambda::Version resource which
snapshots the AWS Lambda function *at the time of its creation* and it
won't get updated when the function changes. Instead, use
`this.currentVersion` to obtain a reference to a version resource that gets
automatically recreated when the function configuration (or code) changes.
|
Version |
Function.addVersion(String name,
String codeSha256,
String description)
Deprecated.
This method will create an AWS::Lambda::Version resource which
snapshots the AWS Lambda function *at the time of its creation* and it
won't get updated when the function changes. Instead, use
`this.currentVersion` to obtain a reference to a version resource that gets
automatically recreated when the function configuration (or code) changes.
|
Version |
Function.addVersion(String name,
String codeSha256,
String description,
Number provisionedExecutions)
Deprecated.
This method will create an AWS::Lambda::Version resource which
snapshots the AWS Lambda function *at the time of its creation* and it
won't get updated when the function changes. Instead, use
`this.currentVersion` to obtain a reference to a version resource that gets
automatically recreated when the function configuration (or code) changes.
|
Version |
Function.addVersion(String name,
String codeSha256,
String description,
Number provisionedExecutions,
EventInvokeConfigOptions asyncInvokeConfig)
Deprecated.
This method will create an AWS::Lambda::Version resource which
snapshots the AWS Lambda function *at the time of its creation* and it
won't get updated when the function changes. Instead, use
`this.currentVersion` to obtain a reference to a version resource that gets
automatically recreated when the function configuration (or code) changes.
|
Version |
Version.Builder.build() |
Version |
Function.getCurrentVersion()
Returns a `lambda.Version` which represents the current version of this Lambda function.
|
Version |
SingletonFunction.getCurrentVersion()
Returns a `lambda.Version` which represents the current version of this singleton Lambda function.
|
Copyright © 2023. All rights reserved.