Skip to content
v2.275.0

LogDeliveryConfigurationRequestProperty Struct ​

Specifies the destination, format and type of the logs.

Example ​

ts
// 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 ​

destinationDetailsIResolvable | CfnCacheCluster.DestinationDetailsPropertydestination_detailstyping.Union[IResolvable, DestinationDetailsProperty]destinationDetailsIResolvableDestinationDetailsIResolvableDestinationDetailsinterface{}required#
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
destinationTypestringdestination_typestrdestinationTypeStringDestinationTypestringDestinationType*stringrequired#
Specify either CloudWatch Logs or Kinesis Data Firehose as the destination type.

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

logFormatstringlog_formatstrlogFormatStringLogFormatstringLogFormat*stringrequired#
Valid values are either `json` or `text` .
logTypestringlog_typestrlogTypeStringLogTypestringLogType*stringrequired#
Valid value is either `slow-log` , which refers to [slow-log](https://docs.aws.amazon.com/https://redis.io/commands/slowlog) or `engine-log` .