Show / Hide Table of Contents

Class LoggingProperties

(experimental) Logging bucket and S3 prefix combination.

Inheritance
object
LoggingProperties
Implements
ILoggingProperties
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.dll
Syntax (csharp)
public class LoggingProperties : ILoggingProperties
Syntax (vb)
Public Class LoggingProperties Implements ILoggingProperties
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.EC2;
             using Amazon.CDK.AWS.S3;


             var vpc = new Vpc(this, "Vpc");
             var bucket = Bucket.FromBucketName(this, "bucket", "amzn-s3-demo-bucket");

             var cluster = new Cluster(this, "Redshift", new ClusterProps {
                 MasterUser = new Login {
                     MasterUsername = "admin"
                 },
                 Vpc = vpc,
                 LoggingProperties = new LoggingProperties {
                     LoggingBucket = bucket,
                     LoggingKeyPrefix = "prefix"
                 }
             });

Synopsis

Constructors

LoggingProperties()

(experimental) Logging bucket and S3 prefix combination.

Properties

LoggingBucket

(experimental) Bucket to send logs to.

LoggingKeyPrefix

(experimental) Prefix used for logging.

Constructors

LoggingProperties()

(experimental) Logging bucket and S3 prefix combination.

public LoggingProperties()
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.EC2;
             using Amazon.CDK.AWS.S3;


             var vpc = new Vpc(this, "Vpc");
             var bucket = Bucket.FromBucketName(this, "bucket", "amzn-s3-demo-bucket");

             var cluster = new Cluster(this, "Redshift", new ClusterProps {
                 MasterUser = new Login {
                     MasterUsername = "admin"
                 },
                 Vpc = vpc,
                 LoggingProperties = new LoggingProperties {
                     LoggingBucket = bucket,
                     LoggingKeyPrefix = "prefix"
                 }
             });

Properties

LoggingBucket

(experimental) Bucket to send logs to.

public IBucket LoggingBucket { get; set; }
Property Value

IBucket

Remarks

Logging information includes queries and connection attempts, for the specified Amazon Redshift cluster.

Stability: Experimental

LoggingKeyPrefix

(experimental) Prefix used for logging.

public string LoggingKeyPrefix { get; set; }
Property Value

string

Remarks

Stability: Experimental

Implements

ILoggingProperties
Back to top Generated by DocFX