interface VersionAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.VersionAttributes |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#VersionAttributes |
Java | software.amazon.awscdk.services.lambda.VersionAttributes |
Python | aws_cdk.aws_lambda.VersionAttributes |
TypeScript (source) | aws-cdk-lib » aws_lambda » VersionAttributes |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
declare const function_: lambda.Function;
const versionAttributes: lambda.VersionAttributes = {
lambda: function_,
version: 'version',
};
Properties
Name | Type | Description |
---|---|---|
lambda | IFunction | The lambda function. |
version | string | The version. |
lambda
Type:
IFunction
The lambda function.
version
Type:
string
The version.