CapacityLimitsProperty Struct
| 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_opensearchserverless as opensearchserverless } from 'aws-cdk-lib';
const capacityLimitsProperty: opensearchserverless.CfnCollectionGroup.CapacityLimitsProperty = {
maxIndexingCapacityInOcu: 123,
maxSearchCapacityInOcu: 123,
minIndexingCapacityInOcu: 123,
minSearchCapacityInOcu: 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_opensearchserverless as opensearchserverless
capacity_limits_property = opensearchserverless.CfnCollectionGroup.CapacityLimitsProperty(
max_indexing_capacity_in_ocu=123,
max_search_capacity_in_ocu=123,
min_indexing_capacity_in_ocu=123,
min_search_capacity_in_ocu=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.opensearchserverless.*;
CapacityLimitsProperty capacityLimitsProperty = CapacityLimitsProperty.builder()
.maxIndexingCapacityInOcu(123)
.maxSearchCapacityInOcu(123)
.minIndexingCapacityInOcu(123)
.minSearchCapacityInOcu(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.OpenSearchServerless;
var capacityLimitsProperty = new CapacityLimitsProperty {
MaxIndexingCapacityInOcu = 123,
MaxSearchCapacityInOcu = 123,
MinIndexingCapacityInOcu = 123,
MinSearchCapacityInOcu = 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"
capacityLimitsProperty := &CapacityLimitsProperty{
MaxIndexingCapacityInOcu: jsii.Number(123),
MaxSearchCapacityInOcu: jsii.Number(123),
MinIndexingCapacityInOcu: jsii.Number(123),
MinSearchCapacityInOcu: jsii.Number(123),
}
Properties
maxIndexingCapacityInOcuoptionalnumbermax_indexing_capacity_in_ocuoptionalint | floatmaxIndexingCapacityInOcuoptionalNumberMaxIndexingCapacityInOcuoptionaldoubleMaxIndexingCapacityInOcuoptional*float64 #The maximum indexing capacity for collections in the group.
maxSearchCapacityInOcuoptionalnumbermax_search_capacity_in_ocuoptionalint | floatmaxSearchCapacityInOcuoptionalNumberMaxSearchCapacityInOcuoptionaldoubleMaxSearchCapacityInOcuoptional*float64 #The maximum search capacity for collections in the group.
minIndexingCapacityInOcuoptionalnumbermin_indexing_capacity_in_ocuoptionalint | floatminIndexingCapacityInOcuoptionalNumberMinIndexingCapacityInOcuoptionaldoubleMinIndexingCapacityInOcuoptional*float64 #The minimum indexing capacity for collections in the group.
minSearchCapacityInOcuoptionalnumbermin_search_capacity_in_ocuoptionalint | floatminSearchCapacityInOcuoptionalNumberMinSearchCapacityInOcuoptionaldoubleMinSearchCapacityInOcuoptional*float64 #The minimum search capacity for collections in the group.