Interface CfnIndex.CapacityUnitsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIndex.CapacityUnitsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnIndex
You can add and remove capacity units to fit your usage requirements.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.kendra.*; CapacityUnitsConfigurationProperty capacityUnitsConfigurationProperty = CapacityUnitsConfigurationProperty.builder() .queryCapacityUnits(123) .storageCapacityUnits(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnIndex.CapacityUnitsConfigurationProperty
static final class
An implementation forCfnIndex.CapacityUnitsConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The amount of extra query capacity for an index and GetQuerySuggestions capacity.The amount of extra storage capacity for an index.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getQueryCapacityUnits
The amount of extra query capacity for an index and GetQuerySuggestions capacity.A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units.
GetQuerySuggestions
capacity is five times the provisioned query capacity for an index, or the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries per second, andGetQuerySuggestions
capacity has a base of 2.5 calls per second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, theGetQuerySuggestions
capacity is 2.5 calls per second (higher than five times 0.2 queries per second).- See Also:
-
getStorageCapacityUnits
The amount of extra storage capacity for an index.A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units.
- See Also:
-
builder
-