Class CfnDeliveryStream.CloudWatchLoggingOptionsProperty
The CloudWatchLoggingOptions
property type specifies Amazon CloudWatch Logs (CloudWatch Logs) logging options that Amazon Kinesis Data Firehose (Kinesis Data Firehose) uses for the delivery stream.
Inheritance
Namespace: Amazon.CDK.AWS.KinesisFirehose
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CloudWatchLoggingOptionsProperty : Object, CfnDeliveryStream.ICloudWatchLoggingOptionsProperty
Syntax (vb)
Public Class CloudWatchLoggingOptionsProperty
Inherits Object
Implements CfnDeliveryStream.ICloudWatchLoggingOptionsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisFirehose;
var cloudWatchLoggingOptionsProperty = new CloudWatchLoggingOptionsProperty {
Enabled = false,
LogGroupName = "logGroupName",
LogStreamName = "logStreamName"
};
Synopsis
Constructors
CloudWatchLoggingOptionsProperty() |
Properties
Enabled | Indicates whether CloudWatch Logs logging is enabled. |
LogGroupName | The name of the CloudWatch Logs log group that contains the log stream that Kinesis Data Firehose will use. |
LogStreamName | The name of the CloudWatch Logs log stream that Kinesis Data Firehose uses to send logs about data delivery. |
Constructors
CloudWatchLoggingOptionsProperty()
public CloudWatchLoggingOptionsProperty()
Properties
Enabled
Indicates whether CloudWatch Logs logging is enabled.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
LogGroupName
The name of the CloudWatch Logs log group that contains the log stream that Kinesis Data Firehose will use.
public string LogGroupName { get; set; }
Property Value
System.String
Remarks
Conditional. If you enable logging, you must specify this property.
LogStreamName
The name of the CloudWatch Logs log stream that Kinesis Data Firehose uses to send logs about data delivery.
public string LogStreamName { get; set; }
Property Value
System.String
Remarks
Conditional. If you enable logging, you must specify this property.