Interface CfnChannelPropsMixin.CloudWatchLogsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannelPropsMixin.CloudWatchLogsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnChannelPropsMixin
@Stability(Stable)
public static interface CfnChannelPropsMixin.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.cfnpropertymixins.services.kinesis.*;
CloudWatchLogsConfigurationProperty cloudWatchLogsConfigurationProperty = CloudWatchLogsConfigurationProperty.builder()
.enabled(false)
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannelPropsMixin.CloudWatchLogsConfigurationPropertystatic final classAn implementation forCfnChannelPropsMixin.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
@Stability(Stable) static CfnChannelPropsMixin.CloudWatchLogsConfigurationProperty.Builder builder()
-