ContributorInsightsMode
- class aws_cdk.aws_dynamodb.ContributorInsightsMode(*values)
Bases:
Enum
DynamoDB’s Contributor Insights Mode.
- See:
- ExampleMetadata:
infused
Example:
table = dynamodb.TableV2(self, "Table", partition_key=dynamodb.Attribute(name="pk", type=dynamodb.AttributeType.STRING), contributor_insights_specification=dynamodb.ContributorInsightsSpecification( enabled=True, mode=dynamodb.ContributorInsightsMode.ACCESSED_AND_THROTTLED_KEYS ) )
Attributes
- ACCESSED_AND_THROTTLED_KEYS
Emits metrics for all read and write requests, whether successful or throttled.
- THROTTLED_KEYS
Emits metrics for read and write requests that were throttled.