Bases: object
Properties for defining a CfnVersion
.
function_name (str
) â The name of the Lambda function. Name formats - Function name - MyFunction
. - Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN - 123456789012:function:MyFunction
. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
code_sha256 (Optional
[str
]) â Only publish a version if the hash value matches the value thatâs specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. Updates are not supported for this property.
description (Optional
[str
]) â A description for the version to override the description in the function configuration. Updates are not supported for this property.
provisioned_concurrency_config (Union
[IResolvable
, ProvisionedConcurrencyConfigurationProperty
, Dict
[str
, Any
], None
]) â Specifies a provisioned concurrency configuration for a functionâs version. Updates are not supported for this property.
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html
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_ cfn_version_props = lambda.CfnVersionProps( function_name="functionName", # the properties below are optional code_sha256="codeSha256", description="description", provisioned_concurrency_config=lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty( provisioned_concurrent_executions=123 ) )
Attributes
Only publish a version if the hash value matches the value thatâs specified.
Use this option to avoid publishing a version if the function code has changed since you last updated it. Updates are not supported for this property.
A description for the version to override the description in the function configuration.
Updates are not supported for this property.
The name of the Lambda function.
Name formats - Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Specifies a provisioned concurrency configuration for a functionâs version.
Updates are not supported for this property.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4