Interface LoggingProperties
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoggingProperties.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:50.337Z")
@Stability(Experimental)
public interface LoggingProperties
extends software.amazon.jsii.JsiiSerializable
(experimental) Logging bucket and S3 prefix combination.
Example:
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.s3.*;
Vpc vpc = new Vpc(this, "Vpc");
IBucket bucket = Bucket.fromBucketName(this, "bucket", "amzn-s3-demo-bucket");
Cluster cluster = Cluster.Builder.create(this, "Redshift")
.masterUser(Login.builder()
.masterUsername("admin")
.build())
.vpc(vpc)
.loggingProperties(LoggingProperties.builder()
.loggingBucket(bucket)
.loggingKeyPrefix("prefix")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLoggingPropertiesstatic final classAn implementation forLoggingProperties -
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingProperties.Builderbuilder()(experimental) Bucket to send logs to.(experimental) Prefix used for logging.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLoggingBucket
(experimental) Bucket to send logs to.Logging information includes queries and connection attempts, for the specified Amazon Redshift cluster.
-
getLoggingKeyPrefix
(experimental) Prefix used for logging. -
builder
- Returns:
- a
LoggingProperties.BuilderofLoggingProperties
-