Interface ICfnVersionProps
Properties for defining a CfnVersion
.
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public interface ICfnVersionProps
Syntax (vb)
Public Interface ICfnVersionProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var cfnVersionProps = new CfnVersionProps {
FunctionName = "functionName",
// the properties below are optional
CodeSha256 = "codeSha256",
Description = "description",
ProvisionedConcurrencyConfig = new ProvisionedConcurrencyConfigurationProperty {
ProvisionedConcurrentExecutions = 123
}
};
Synopsis
Properties
CodeSha256 | Only publish a version if the hash value matches the value that's specified. |
Description | A description for the version to override the description in the function configuration. |
FunctionName | The name of the Lambda function. |
ProvisionedConcurrencyConfig | Specifies a provisioned concurrency configuration for a function's version. |
Properties
CodeSha256
Only publish a version if the hash value matches the value that's specified.
virtual string CodeSha256 { get; }
Property Value
System.String
Remarks
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
A description for the version to override the description in the function configuration.
virtual string Description { get; }
Property Value
System.String
Remarks
Updates are not supported for this property.
FunctionName
The name of the Lambda function.
string FunctionName { get; }
Property Value
System.String
Remarks
Name formats - Function name - 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.
ProvisionedConcurrencyConfig
Specifies a provisioned concurrency configuration for a function's version.
virtual object ProvisionedConcurrencyConfig { get; }
Property Value
System.Object
Remarks
Updates are not supported for this property.