LogType
- class aws_cdk.aws_neptune_alpha.LogType(value)
Bases:
object
(experimental) Neptune log types that can be exported to CloudWatch logs.
- See:
https://docs.aws.amazon.com/neptune/latest/userguide/cloudwatch-logs.html
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# Cluster parameter group with the neptune_enable_audit_log param set to 1 cluster_parameter_group = neptune.ClusterParameterGroup(self, "ClusterParams", description="Cluster parameter group", parameters={ "neptune_enable_audit_log": "1" } ) cluster = neptune.DatabaseCluster(self, "Database", vpc=vpc, instance_type=neptune.InstanceType.R5_LARGE, # Audit logs are enabled via the clusterParameterGroup cluster_parameter_group=cluster_parameter_group, # Optionally configuring audit logs to be exported to CloudWatch Logs cloudwatch_logs_exports=[neptune.LogType.AUDIT], # Optionally set a retention period on exported CloudWatch Logs cloudwatch_logs_retention=logs.RetentionDays.ONE_MONTH )
(experimental) Constructor for specifying a custom log type.
- Parameters:
value (
str
) – the log type.- Stability:
experimental
Attributes
- AUDIT = <aws_cdk.aws_neptune_alpha.LogType object>
- value
(experimental) the log type.
- Stability:
experimental