@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:44.112Z")
public interface CfnVersionProps
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 java.lang.String |
getCodeSha256()
Only publish a version if the hash value matches the value that's specified.
|
default java.lang.String |
getDescription()
A description for the version to override the description in the function configuration.
|
java.lang.String |
getFunctionName()
The name of the Lambda function.
|
default java.lang.Object |
getProvisionedConcurrencyConfig()
Specifies a provisioned concurrency configuration for a function's version.
|
java.lang.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.
default java.lang.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.
default java.lang.String getDescription()
Updates are not supported for this property.
default java.lang.Object getProvisionedConcurrencyConfig()
Updates are not supported for this property.
static CfnVersionProps.Builder builder()
CfnVersionProps.Builder
of CfnVersionProps