Node.js AWS DynamoD表的StreamSpecification属性用于什么?

Node.js AWS DynamoD表的StreamSpecification属性用于什么?,node.js,amazon-web-services,amazon-dynamodb,amazon-cloudformation,Node.js,Amazon Web Services,Amazon Dynamodb,Amazon Cloudformation,我在玩DynamoDb。我不确定StreamSpecification的目的是什么,为什么我们应该或不应该使用它?我已经阅读了文档,但它并没有像它所做的那样解释太多 MovieTable: Type: AWS::DynamoDB::Table Properties: BillingMode: PAY_PER_REQUEST AttributeDefinitions: - AttributeName: "Name"

我在玩DynamoDb。我不确定StreamSpecification的目的是什么,为什么我们应该或不应该使用它?我已经阅读了文档,但它并没有像它所做的那样解释太多

MovieTable:
    Type: AWS::DynamoDB::Table
    Properties:
      BillingMode: PAY_PER_REQUEST
      AttributeDefinitions:
        - AttributeName: "Name"
          AttributeType: "S"
        - AttributeName: "Genre"
          AttributeType: "S"
        - AttributeName: "Rating"
          AttributeType: "N"
        - AttributeName: "DateReleased"
          AttributeType: "S"
      KeySchema:
      - AttributeName: "Name"
        KeyType: "HASH"
      - AttributeName: "Genre"
        KeyType: "RANGE"
      - AttributeName: "Rating"
        KeyType: "RANGE"
      - AttributeName: "DateReleased"
        KeyType: "RANGE"
      TimeToLiveSpecification:
        AttributeName: ExpireAfter
        Enabled: false
      SSESpecification:
        SSEEnabled: true

StreamSpecification
允许您为此表启用可选的DynamoDB Streams支持。DynamoDB Streams允许您以流的形式读取对表的所有更改,您可以出于各种原因使用该流,例如将相同的更改复制到另一个表、检查可疑活动等。您可以阅读DynamoDB Streams功能的介绍


如果您不想在您的表上启用流(因为您不知道这是什么,您可能不知道:-)),您可以忽略
StreamSpecification

StreamSpecification
允许您为此表启用可选的DynamoDB流支持。DynamoDB Streams允许您以流的形式读取对表的所有更改,您可以出于各种原因使用该流,例如将相同的更改复制到另一个表、检查可疑活动等。您可以阅读DynamoDB Streams功能的介绍

如果您不想在表上启用流(因为您不知道这是什么,所以可能不知道:-),您可以忽略
StreamSpecification