Class CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty
Represents the properties of a global secondary index that can be set on a per-replica basis.
Inheritance
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ReplicaGlobalSecondaryIndexSpecificationProperty : Object, CfnGlobalTable.IReplicaGlobalSecondaryIndexSpecificationProperty
Syntax (vb)
Public Class ReplicaGlobalSecondaryIndexSpecificationProperty
Inherits Object
Implements CfnGlobalTable.IReplicaGlobalSecondaryIndexSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DynamoDB;
var replicaGlobalSecondaryIndexSpecificationProperty = new ReplicaGlobalSecondaryIndexSpecificationProperty {
IndexName = "indexName",
// the properties below are optional
ContributorInsightsSpecification = new ContributorInsightsSpecificationProperty {
Enabled = false
},
ReadOnDemandThroughputSettings = new ReadOnDemandThroughputSettingsProperty {
MaxReadRequestUnits = 123
},
ReadProvisionedThroughputSettings = new ReadProvisionedThroughputSettingsProperty {
ReadCapacityAutoScalingSettings = new CapacityAutoScalingSettingsProperty {
MaxCapacity = 123,
MinCapacity = 123,
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
TargetValue = 123,
// the properties below are optional
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123
},
// the properties below are optional
SeedCapacity = 123
},
ReadCapacityUnits = 123
}
};
Synopsis
Constructors
ReplicaGlobalSecondaryIndexSpecificationProperty() |
Properties
ContributorInsightsSpecification | Updates the status for contributor insights for a specific table or index. |
IndexName | The name of the global secondary index. |
ReadOnDemandThroughputSettings | Sets the read request settings for a replica global secondary index. |
ReadProvisionedThroughputSettings | Allows you to specify the read capacity settings for a replica global secondary index when the |
Constructors
ReplicaGlobalSecondaryIndexSpecificationProperty()
public ReplicaGlobalSecondaryIndexSpecificationProperty()
Properties
ContributorInsightsSpecification
Updates the status for contributor insights for a specific table or index.
public object ContributorInsightsSpecification { get; set; }
Property Value
System.Object
Remarks
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.
IndexName
The name of the global secondary index.
public string IndexName { get; set; }
Property Value
System.String
Remarks
The name must be unique among all other indexes on this table.
ReadOnDemandThroughputSettings
Sets the read request settings for a replica global secondary index.
public object ReadOnDemandThroughputSettings { get; set; }
Property Value
System.Object
Remarks
You must specify this setting if you set the BillingMode
to PAY_PER_REQUEST
.
ReadProvisionedThroughputSettings
Allows you to specify the read capacity settings for a replica global secondary index when the BillingMode
is set to PROVISIONED
.
public object ReadProvisionedThroughputSettings { get; set; }
Property Value
System.Object