ContributorInsightsSpecificationProperty Struct
Configures contributor insights settings for a table or one of its indexes.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const contributorInsightsSpecificationProperty: dynamodb.CfnTable.ContributorInsightsSpecificationProperty = {
enabled: false,
// the properties below are optional
mode: 'mode',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_dynamodb as dynamodb
contributor_insights_specification_property = dynamodb.CfnTable.ContributorInsightsSpecificationProperty(
enabled=False,
# the properties below are optional
mode="mode"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dynamodb.*;
ContributorInsightsSpecificationProperty contributorInsightsSpecificationProperty = ContributorInsightsSpecificationProperty.builder()
.enabled(false)
// the properties below are optional
.mode("mode")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 contributorInsightsSpecificationProperty = new ContributorInsightsSpecificationProperty {
Enabled = false,
// the properties below are optional
Mode = "mode"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
contributorInsightsSpecificationProperty := &ContributorInsightsSpecificationProperty{
Enabled: jsii.Boolean(false),
// the properties below are optional
Mode: jsii.String("mode"),
}
Properties
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}required#Indicates whether CloudWatch Contributor Insights are to be enabled (true) or disabled (false).
Specifies the CloudWatch Contributor Insights mode for a table.
Valid values are ACCESSED_AND_THROTTLED_KEYS (tracks all access and throttled events) or THROTTLED_KEYS (tracks only throttled events). This setting determines what type of contributor insights data is collected for the table.