@Stability(value=Stable) public static final class CfnVersionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnVersionProps>
CfnVersionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVersionProps |
build()
Builds the configured instance.
|
CfnVersionProps.Builder |
codeSha256(String codeSha256)
Sets the value of
CfnVersionProps.getCodeSha256() |
CfnVersionProps.Builder |
description(String description)
Sets the value of
CfnVersionProps.getDescription() |
CfnVersionProps.Builder |
functionName(String functionName)
Sets the value of
CfnVersionProps.getFunctionName() |
CfnVersionProps.Builder |
provisionedConcurrencyConfig(CfnVersion.ProvisionedConcurrencyConfigurationProperty provisionedConcurrencyConfig)
Sets the value of
CfnVersionProps.getProvisionedConcurrencyConfig() |
CfnVersionProps.Builder |
provisionedConcurrencyConfig(IResolvable provisionedConcurrencyConfig)
Sets the value of
CfnVersionProps.getProvisionedConcurrencyConfig() |
@Stability(value=Stable) public CfnVersionProps.Builder functionName(String functionName)
CfnVersionProps.getFunctionName()functionName - The name of the Lambda function. This parameter is required.
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.
this@Stability(value=Stable) public CfnVersionProps.Builder codeSha256(String codeSha256)
CfnVersionProps.getCodeSha256()codeSha256 - 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.this@Stability(value=Stable) public CfnVersionProps.Builder description(String description)
CfnVersionProps.getDescription()description - A description for the version to override the description in the function configuration.
Updates are not supported for this property.this@Stability(value=Stable) public CfnVersionProps.Builder provisionedConcurrencyConfig(CfnVersion.ProvisionedConcurrencyConfigurationProperty provisionedConcurrencyConfig)
CfnVersionProps.getProvisionedConcurrencyConfig()provisionedConcurrencyConfig - Specifies a provisioned concurrency configuration for a function's version.
Updates are not supported for this property.this@Stability(value=Stable) public CfnVersionProps.Builder provisionedConcurrencyConfig(IResolvable provisionedConcurrencyConfig)
CfnVersionProps.getProvisionedConcurrencyConfig()provisionedConcurrencyConfig - Specifies a provisioned concurrency configuration for a function's version.
Updates are not supported for this property.this@Stability(value=Stable) public CfnVersionProps build()
build in interface software.amazon.jsii.Builder<CfnVersionProps>CfnVersionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.