Skip to content
v2.276.0

ProvisionedConcurrencyConfigurationProperty Struct ​

A provisioned concurrency configuration for a function's version.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const provisionedConcurrencyConfigurationProperty: lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty = {
  provisionedConcurrentExecutions: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_

provisioned_concurrency_configuration_property = lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty(
    provisioned_concurrent_executions=123
)
java
// 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.*;

ProvisionedConcurrencyConfigurationProperty provisionedConcurrencyConfigurationProperty = ProvisionedConcurrencyConfigurationProperty.builder()
        .provisionedConcurrentExecutions(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;

var provisionedConcurrencyConfigurationProperty = new ProvisionedConcurrencyConfigurationProperty {
    ProvisionedConcurrentExecutions = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

provisionedConcurrencyConfigurationProperty := &ProvisionedConcurrencyConfigurationProperty{
	ProvisionedConcurrentExecutions: jsii.Number(123),
}

Properties ​

provisionedConcurrentExecutionsnumberprovisioned_concurrent_executionsint | floatprovisionedConcurrentExecutionsNumberProvisionedConcurrentExecutionsdoubleProvisionedConcurrentExecutions*float64required#
The amount of provisioned concurrency to allocate for the version.