Interface CfnVersionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVersionMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lambda.*;
CfnVersionMixinProps cfnVersionMixinProps = CfnVersionMixinProps.builder()
.codeSha256("codeSha256")
.description("description")
.functionName("functionName")
.functionScalingConfig(FunctionScalingConfigProperty.builder()
.maxExecutionEnvironments(123)
.minExecutionEnvironments(123)
.build())
.provisionedConcurrencyConfig(ProvisionedConcurrencyConfigurationProperty.builder()
.provisionedConcurrentExecutions(123)
.build())
.runtimePolicy(RuntimePolicyProperty.builder()
.runtimeVersionArn("runtimeVersionArn")
.updateRuntimeOn("updateRuntimeOn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVersionMixinPropsstatic final classAn implementation forCfnVersionMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnVersionMixinProps.Builderbuilder()default StringOnly publish a version if the hash value matches the value that's specified.default StringA description for the version to override the description in the function configuration.default ObjectThe name or ARN of the Lambda function.default ObjectConfiguration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.default ObjectSpecifies a provisioned concurrency configuration for a function's version.default ObjectRuntime Management Config of a function.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCodeSha256
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.
- See Also:
-
getDescription
A description for the version to override the description in the function configuration.Updates are not supported for this property.
- See Also:
-
getFunctionName
The name or ARN of the Lambda function.Name formats - Function name -
MyFunction.- Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. - Partial ARN -
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.
Returns union: either
StringorIFunctionRef- See Also:
- Function ARN -
-
getFunctionScalingConfig
Configuration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.Returns union: either
IResolvableorCfnVersionPropsMixin.FunctionScalingConfigProperty- See Also:
-
getProvisionedConcurrencyConfig
Specifies a provisioned concurrency configuration for a function's version.Updates are not supported for this property.
Returns union: either
IResolvableorCfnVersionPropsMixin.ProvisionedConcurrencyConfigurationProperty- See Also:
-
getRuntimePolicy
Runtime Management Config of a function.Returns union: either
IResolvableorCfnVersionPropsMixin.RuntimePolicyProperty- See Also:
-
builder
- Returns:
- a
CfnVersionMixinProps.BuilderofCfnVersionMixinProps
-