Show / Hide Table of Contents

Interface ILoggingProperties

(experimental) Logging bucket and S3 prefix combination.

Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.dll
Syntax (csharp)
public interface ILoggingProperties
Syntax (vb)
Public Interface 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

Properties

LoggingBucket

(experimental) Bucket to send logs to.

LoggingKeyPrefix

(experimental) Prefix used for logging.

Properties

LoggingBucket

(experimental) Bucket to send logs to.

IBucket LoggingBucket { get; }
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.

string LoggingKeyPrefix { get; }
Property Value

System.String

Remarks

Stability: Experimental

Back to top Generated by DocFX