ProvisionedConcurrencyConfigurationProperty Struct
A provisioned concurrency configuration for a function's alias.
| Source | |
|---|---|
| Type last changed |
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.CfnAlias.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.CfnAlias.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*float64 required #The amount of provisioned concurrency to allocate for the alias.