Interface CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnGlobalTable
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.dynamodb.*;
ReplicaGlobalSecondaryIndexSpecificationProperty replicaGlobalSecondaryIndexSpecificationProperty = ReplicaGlobalSecondaryIndexSpecificationProperty.builder()
.indexName("indexName")
// the properties below are optional
.contributorInsightsSpecification(ContributorInsightsSpecificationProperty.builder()
.enabled(false)
// the properties below are optional
.mode("mode")
.build())
.readOnDemandThroughputSettings(ReadOnDemandThroughputSettingsProperty.builder()
.maxReadRequestUnits(123)
.build())
.readProvisionedThroughputSettings(ReadProvisionedThroughputSettingsProperty.builder()
.readCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder()
.maxCapacity(123)
.minCapacity(123)
.targetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfigurationProperty.builder()
.targetValue(123)
// the properties below are optional
.disableScaleIn(false)
.scaleInCooldown(123)
.scaleOutCooldown(123)
.build())
// the properties below are optional
.seedCapacity(123)
.build())
.readCapacityUnits(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectUpdates the status for contributor insights for a specific table or index.The name of the global secondary index.default ObjectSets the read request settings for a replica global secondary index.default ObjectAllows you to specify the read capacity settings for a replica global secondary index when theBillingModeis set toPROVISIONED.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIndexName
The name of the global secondary index.The name must be unique among all other indexes on this table.
- See Also:
-
getContributorInsightsSpecification
Updates the status for contributor insights for a specific table or index.CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of AWS Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an AWS managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table.
Returns union: either
IResolvableorCfnGlobalTable.ContributorInsightsSpecificationProperty- See Also:
-
getReadOnDemandThroughputSettings
Sets the read request settings for a replica global secondary index.You can only specify this setting if your resource uses the
PAY_PER_REQUESTBillingMode.Returns union: either
IResolvableorCfnGlobalTable.ReadOnDemandThroughputSettingsProperty- See Also:
-
getReadProvisionedThroughputSettings
Allows you to specify the read capacity settings for a replica global secondary index when theBillingModeis set toPROVISIONED.Returns union: either
IResolvableorCfnGlobalTable.ReadProvisionedThroughputSettingsProperty- See Also:
-
builder
@Stability(Stable) static CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty.Builder builder()
-