interface ContributorInsightsSpecification
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.DynamoDB.ContributorInsightsSpecification |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#ContributorInsightsSpecification |
![]() | software.amazon.awscdk.services.dynamodb.ContributorInsightsSpecification |
![]() | aws_cdk.aws_dynamodb.ContributorInsightsSpecification |
![]() | aws-cdk-lib » aws_dynamodb » ContributorInsightsSpecification |
Reference to ContributorInsightsSpecification.
Example
import * as cdk from 'aws-cdk-lib';
const app = new cdk.App();
const stack = new cdk.Stack(app, 'Stack', { env: { region: 'us-west-2' } });
const globalTable = new dynamodb.TableV2(stack, 'GlobalTable', {
partitionKey: { name: 'pk', type: dynamodb.AttributeType.STRING },
contributorInsightsSpecification: {
enabled: true,
},
pointInTimeRecoverySpecification: {
pointInTimeRecoveryEnabled: true,
},
replicas: [
{
region: 'us-east-1',
tableClass: dynamodb.TableClass.STANDARD_INFREQUENT_ACCESS,
pointInTimeRecoverySpecification: {
pointInTimeRecoveryEnabled: false,
},
},
{
region: 'us-east-2',
contributorInsightsSpecification: {
enabled: false,
},
},
],
});
Properties
Name | Type | Description |
---|---|---|
enabled | boolean | Indicates whether contributor insights is enabled. |
mode? | Contributor | Indicates the type of metrics captured by contributor insights. |
enabled
Type:
boolean
Indicates whether contributor insights is enabled.
mode?
Type:
Contributor
(optional, default: ACCESSED_AND_THROTTLED_KEYS)
Indicates the type of metrics captured by contributor insights.