LoggingState constructor
Creates a new LoggingState.
bucketName Name of an existing S3 bucket where the log files are to be stored. Required when logDestinationType is s3. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions. For more information on the permissions required for the bucket, please read the AWS documentation
clusterIdentifier Identifier of the source cluster.
logDestinationType Log destination type. Valid values are s3 and cloudwatch.
logExports Collection of exported log types. Required when logDestinationType is cloudwatch. Valid values are connectionlog, useractivitylog, and userlog.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
s3KeyPrefix Prefix applied to the log file names.
Implementation
const LoggingState({
this.bucketName,
this.clusterIdentifier,
this.logDestinationType,
this.logExports,
this.region,
this.s3KeyPrefix,
});