@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.427Z") @Stability(value=Stable) public interface CfnVersionProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
CfnVersionProps cfnVersionProps = CfnVersionProps.builder()
.functionName("functionName")
// the properties below are optional
.codeSha256("codeSha256")
.description("description")
.provisionedConcurrencyConfig(ProvisionedConcurrencyConfigurationProperty.builder()
.provisionedConcurrentExecutions(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVersionProps.Builder
A builder for
CfnVersionProps |
static class |
CfnVersionProps.Jsii$Proxy
An implementation for
CfnVersionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnVersionProps.Builder |
builder() |
default String |
getCodeSha256()
Only publish a version if the hash value matches the value that's specified.
|
default String |
getDescription()
A description for the version to override the description in the function configuration.
|
String |
getFunctionName()
The name of the Lambda function.
|
default Object |
getProvisionedConcurrencyConfig()
Specifies a provisioned concurrency configuration for a function's version.
|
@Stability(value=Stable) @NotNull String getFunctionName()
Name formats - Function name - MyFunction .
arn:aws:lambda:us-west-2:123456789012:function:MyFunction .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.
@Stability(value=Stable) @Nullable default String getCodeSha256()
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.
@Stability(value=Stable) @Nullable default String getDescription()
Updates are not supported for this property.
@Stability(value=Stable) @Nullable default Object getProvisionedConcurrencyConfig()
Updates are not supported for this property.
@Stability(value=Stable) static CfnVersionProps.Builder builder()
CfnVersionProps.Builder of CfnVersionPropsCopyright © 2022. All rights reserved.