Skip to content
v2.278.0

ECPUPerSecondProperty Struct ​

The configuration for the number of ElastiCache Processing Units (ECPU) the cache can consume per second.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from 'aws-cdk-lib';
const eCPUPerSecondProperty: elasticache.CfnServerlessCache.ECPUPerSecondProperty = {
  maximum: 123,
  minimum: 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_elasticache as elasticache

e_cpu_per_second_property = elasticache.CfnServerlessCache.ECPUPerSecondProperty(
    maximum=123,
    minimum=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.elasticache.*;

ECPUPerSecondProperty eCPUPerSecondProperty = ECPUPerSecondProperty.builder()
        .maximum(123)
        .minimum(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.ElastiCache;

var eCPUPerSecondProperty = new ECPUPerSecondProperty {
    Maximum = 123,
    Minimum = 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"

eCPUPerSecondProperty := &ECPUPerSecondProperty{
	Maximum: jsii.Number(123),
	Minimum: jsii.Number(123),
}

Properties ​

maximumoptionalnumbermaximumoptionalint | floatmaximumoptionalNumberMaximumoptionaldoubleMaximumoptional*float64 #
The configuration for the maximum number of ECPUs the cache can consume per second.
minimumoptionalnumberminimumoptionalint | floatminimumoptionalNumberMinimumoptionaldoubleMinimumoptional*float64 #
The configuration for the minimum number of ECPUs the cache should be able consume per second.