Interface CfnCluster.LoggingPropertiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.LoggingPropertiesProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.LoggingPropertiesProperty
extends software.amazon.jsii.JsiiSerializable
Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.redshift.*;
LoggingPropertiesProperty loggingPropertiesProperty = LoggingPropertiesProperty.builder()
.bucketName("bucketName")
.logDestinationType("logDestinationType")
.logExports(List.of("logExports"))
.s3KeyPrefix("s3KeyPrefix")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.LoggingPropertiesPropertystatic final classAn implementation forCfnCluster.LoggingPropertiesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucketName
The name of an existing S3 bucket where the log files are to be stored.Constraints:
- Must be in the same region as the cluster
- The cluster must have read bucket and put object permissions
- See Also:
-
getLogDestinationType
The log destination type.An enum with possible values of
s3andcloudwatch.- See Also:
-
getLogExports
The collection of exported log types.Possible values are
connectionlog,useractivitylog, anduserlog.- See Also:
-
getS3KeyPrefix
The prefix applied to the log file names.Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: underscore (
_), period (.), colon (:), slash (/), equal (=), plus (+), backslash (\), hyphen (-), at symbol (@).- See Also:
-
builder
-