VersionAttributes
- class aws_cdk.aws_lambda.VersionAttributes(*, lambda_, version)
Bases:
object
- Parameters:
lambda – The lambda function.
version (
str
) – The version.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lambda as lambda_ # function_: lambda.Function version_attributes = lambda.VersionAttributes( lambda_=function_, version="version" )
Attributes
- lambda_
The lambda function.
- version
The version.