aws-cdk-lib.aws_elasticache.CfnCacheCluster.LogDeliveryConfigurationRequestProperty

interface LogDeliveryConfigurationRequestProperty

LanguageType name
.NETAmazon.CDK.AWS.ElastiCache.CfnCacheCluster.LogDeliveryConfigurationRequestProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticache#CfnCacheCluster_LogDeliveryConfigurationRequestProperty
Javasoftware.amazon.awscdk.services.elasticache.CfnCacheCluster.LogDeliveryConfigurationRequestProperty
Pythonaws_cdk.aws_elasticache.CfnCacheCluster.LogDeliveryConfigurationRequestProperty
TypeScript aws-cdk-lib » aws_elasticache » CfnCacheCluster » LogDeliveryConfigurationRequestProperty

Specifies the destination, format and type of the logs.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from 'aws-cdk-lib';
const logDeliveryConfigurationRequestProperty: elasticache.CfnCacheCluster.LogDeliveryConfigurationRequestProperty = {
  destinationDetails: {
    cloudWatchLogsDetails: {
      logGroup: 'logGroup',
    },
    kinesisFirehoseDetails: {
      deliveryStream: 'deliveryStream',
    },
  },
  destinationType: 'destinationType',
  logFormat: 'logFormat',
  logType: 'logType',
};

Properties

NameTypeDescription
destinationDetailsIResolvable | DestinationDetailsPropertyConfiguration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
destinationTypestringSpecify either CloudWatch Logs or Kinesis Data Firehose as the destination type.
logFormatstringValid values are either json or text .
logTypestringValid value is either slow-log , which refers to slow-log or engine-log .

destinationDetails

Type: IResolvable | DestinationDetailsProperty

Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.


destinationType

Type: string

Specify either CloudWatch Logs or Kinesis Data Firehose as the destination type.

Valid values are either cloudwatch-logs or kinesis-firehose .


logFormat

Type: string

Valid values are either json or text .


logType

Type: string

Valid value is either slow-log , which refers to slow-log or engine-log .