@Stability(value=Stable) public static final class CfnVersion.Builder extends Object implements software.amazon.jsii.Builder<CfnVersion>
CfnVersion.| Modifier and Type | Method and Description |
|---|---|
CfnVersion |
build() |
CfnVersion.Builder |
codeSha256(String codeSha256)
Only publish a version if the hash value matches the value that's specified.
|
static CfnVersion.Builder |
create(software.constructs.Construct scope,
String id) |
CfnVersion.Builder |
description(String description)
A description for the version to override the description in the function configuration.
|
CfnVersion.Builder |
functionName(String functionName)
The name of the Lambda function.
|
CfnVersion.Builder |
provisionedConcurrencyConfig(CfnVersion.ProvisionedConcurrencyConfigurationProperty provisionedConcurrencyConfig)
Specifies a provisioned concurrency configuration for a function's version.
|
CfnVersion.Builder |
provisionedConcurrencyConfig(IResolvable provisionedConcurrencyConfig)
Specifies a provisioned concurrency configuration for a function's version.
|
@Stability(value=Stable) public static CfnVersion.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnVersion.ProvisionedConcurrencyConfigurationProperty.Builder.@Stability(value=Stable) public CfnVersion.Builder functionName(String functionName)
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.
functionName - The name of the Lambda function. This parameter is required.this@Stability(value=Stable) public CfnVersion.Builder codeSha256(String codeSha256)
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.
codeSha256 - Only publish a version if the hash value matches the value that's specified. This parameter is required.this@Stability(value=Stable) public CfnVersion.Builder description(String description)
Updates are not supported for this property.
description - A description for the version to override the description in the function configuration. This parameter is required.this@Stability(value=Stable) public CfnVersion.Builder provisionedConcurrencyConfig(CfnVersion.ProvisionedConcurrencyConfigurationProperty provisionedConcurrencyConfig)
Updates are not supported for this property.
provisionedConcurrencyConfig - Specifies a provisioned concurrency configuration for a function's version. This parameter is required.this@Stability(value=Stable) public CfnVersion.Builder provisionedConcurrencyConfig(IResolvable provisionedConcurrencyConfig)
Updates are not supported for this property.
provisionedConcurrencyConfig - Specifies a provisioned concurrency configuration for a function's version. This parameter is required.this@Stability(value=Stable) public CfnVersion build()
build in interface software.amazon.jsii.Builder<CfnVersion>Copyright © 2022. All rights reserved.