Interface CfnChannel.CloudWatchLogsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannel.CloudWatchLogsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnChannel
@Stability(Stable)
public static interface CfnChannel.CloudWatchLogsConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
CloudWatch Logs configuration for the channel.
When Enabled is true and LogGroupName is omitted, the service uses a default group derived from the channel name and id; LogStreamName defaults to the literal string 'DestinationDelivery'.
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.kinesis.*;
CloudWatchLogsConfigurationProperty cloudWatchLogsConfigurationProperty = CloudWatchLogsConfigurationProperty.builder()
.enabled(false)
// the properties below are optional
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannel.CloudWatchLogsConfigurationPropertystatic final classAn implementation forCfnChannel.CloudWatchLogsConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Whether CloudWatch Logs delivery is enabled.Returns union: either
BooleanorIResolvable- See Also:
-
getLogGroupName
The CloudWatch log group name.When Enabled is true and LogGroupName is omitted, the service uses the default '/aws/kinesis/
/ '. - See Also:
-
getLogStreamName
The CloudWatch log stream name.Defaults to the literal string 'DestinationDelivery' when omitted.
Default: - "DestinationDelivery"
- See Also:
-
builder
-