interface CloudWatchLogsConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Kinesis.CfnChannelPropsMixin.CloudWatchLogsConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awskinesis#CfnChannelPropsMixin_CloudWatchLogsConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.kinesis.CfnChannelPropsMixin.CloudWatchLogsConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_kinesis.CfnChannelPropsMixin.CloudWatchLogsConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_kinesis » CfnChannelPropsMixin » CloudWatchLogsConfigurationProperty |
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 { aws_kinesis as kinesis } from '@aws-cdk/cfn-property-mixins';
const cloudWatchLogsConfigurationProperty: kinesis.CfnChannelPropsMixin.CloudWatchLogsConfigurationProperty = {
enabled: false,
logGroupName: 'logGroupName',
logStreamName: 'logStreamName',
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled? | boolean | IResolvable | Whether CloudWatch Logs delivery is enabled. |
| log | string | The CloudWatch log group name. |
| log | string | The CloudWatch log stream name. |
enabled?
Type:
boolean | IResolvable
(optional)
Whether CloudWatch Logs delivery is enabled.
logGroupName?
Type:
string
(optional)
The CloudWatch log group name.
When Enabled is true and LogGroupName is omitted, the service uses the default '/aws/kinesis/<channelName>/<channelId>'.
logStreamName?
Type:
string
(optional, default: "DestinationDelivery")
The CloudWatch log stream name.
Defaults to the literal string 'DestinationDelivery' when omitted.

.NET
Go
Java
Python
TypeScript