# MinimumLoadBalancerCapacityProperty

The minimum capacity for a load balancer.

- Source: Generated at build time
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
const minimumLoadBalancerCapacityProperty: elbv2.CfnLoadBalancer.MinimumLoadBalancerCapacityProperty = {
  capacityUnits: 123,
};
```

Python:

```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_elasticloadbalancingv2 as elbv2

minimum_load_balancer_capacity_property = elbv2.CfnLoadBalancer.MinimumLoadBalancerCapacityProperty(
    capacity_units=123
)
```

Java:

```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.elasticloadbalancingv2.*;

MinimumLoadBalancerCapacityProperty minimumLoadBalancerCapacityProperty = MinimumLoadBalancerCapacityProperty.builder()
        .capacityUnits(123)
        .build();
```

C# / .NET:

```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.ElasticLoadBalancingV2;

var minimumLoadBalancerCapacityProperty = new MinimumLoadBalancerCapacityProperty {
    CapacityUnits = 123
};
```

Golang:

```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"

minimumLoadBalancerCapacityProperty := &MinimumLoadBalancerCapacityProperty{
	CapacityUnits: jsii.Number(123),
}
```

## Properties

- `capacityUnits`: number (required) — The number of capacity units.
