本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AWS::DynamoDB::GlobalTable ReplicaGlobalSecondaryIndexSpecification
表示全局二级索引的属性,可以在每个副本的基础上进行设置。
语法
要在 AWS CloudFormation 模板中声明此实体,请使用以下语法:
JSON
{ "ContributorInsightsSpecification" :
ContributorInsightsSpecification
, "IndexName" :String
, "ReadOnDemandThroughputSettings" :ReadOnDemandThroughputSettings
, "ReadProvisionedThroughputSettings" :ReadProvisionedThroughputSettings
}
YAML
ContributorInsightsSpecification:
ContributorInsightsSpecification
IndexName:String
ReadOnDemandThroughputSettings:ReadOnDemandThroughputSettings
ReadProvisionedThroughputSettings:ReadProvisionedThroughputSettings
属性
ContributorInsightsSpecification
-
更新特定表或索引的贡献者见解的状态。 CloudWatchDynamoDB 的 Contributor Insights 图表以纯文本形式显示经常访问的项目和经常受限制的项目的分区键和(如果适用)排序键。如果您需要使用 AWS 密钥管理服务 (KMS) 来加密此表的分区密钥并使用托管密钥或客户 AWS 托管密钥对密钥数据进行排序,则不应为此表启用 CloudWatch DynamoDB 的 Contributor Insights for DynamoDB。
必需:否
类型:ContributorInsightsSpecification
更新要求:没有中断
IndexName
-
全局二级索引的名称。该名称在此表中的所有其他索引中必须是唯一的。
必需:是
类型:字符串
最小值:
3
最大值:
255
更新要求:替换
ReadOnDemandThroughputSettings
-
设置副本全局二级索引的读取请求设置。只有当您的资源使用时,您才能指定此设置
PAY_PER_REQUEST
BillingMode
。必需:否
类型:ReadOnDemandThroughputSettings
更新要求:没有中断
ReadProvisionedThroughputSettings
-
允许您在
BillingMode
被设置为PROVISIONED
时指定副本全局二级索引的读取容量设置。必需:否
类型:ReadProvisionedThroughputSettings
更新要求:没有中断