Skip to content
v2.278.0

DestinationDetailsProperty Struct ​

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

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 destinationDetailsProperty: elasticache.CfnCacheCluster.DestinationDetailsProperty = {
  cloudWatchLogsDetails: {
    logGroup: 'logGroup',
  },
  kinesisFirehoseDetails: {
    deliveryStream: 'deliveryStream',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticache as elasticache

destination_details_property = elasticache.CfnCacheCluster.DestinationDetailsProperty(
    cloud_watch_logs_details=elasticache.CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty(
        log_group="logGroup"
    ),
    kinesis_firehose_details=elasticache.CfnCacheCluster.KinesisFirehoseDestinationDetailsProperty(
        delivery_stream="deliveryStream"
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticache.*;

DestinationDetailsProperty destinationDetailsProperty = DestinationDetailsProperty.builder()
        .cloudWatchLogsDetails(CloudWatchLogsDestinationDetailsProperty.builder()
                .logGroup("logGroup")
                .build())
        .kinesisFirehoseDetails(KinesisFirehoseDestinationDetailsProperty.builder()
                .deliveryStream("deliveryStream")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElastiCache;

var destinationDetailsProperty = new DestinationDetailsProperty {
    CloudWatchLogsDetails = new CloudWatchLogsDestinationDetailsProperty {
        LogGroup = "logGroup"
    },
    KinesisFirehoseDetails = new KinesisFirehoseDestinationDetailsProperty {
        DeliveryStream = "deliveryStream"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

destinationDetailsProperty := &DestinationDetailsProperty{
	CloudWatchLogsDetails: &CloudWatchLogsDestinationDetailsProperty{
		LogGroup: jsii.String("logGroup"),
	},
	KinesisFirehoseDetails: &KinesisFirehoseDestinationDetailsProperty{
		DeliveryStream: jsii.String("deliveryStream"),
	},
}

Properties ​

cloudWatchLogsDetailsoptionalIResolvable | CfnCacheCluster.CloudWatchLogsDestinationDetailsPropertycloud_watch_logs_detailsoptionaltyping.Union[IResolvable, CloudWatchLogsDestinationDetailsProperty]cloudWatchLogsDetailsoptionalIResolvableCloudWatchLogsDetailsoptionalIResolvableCloudWatchLogsDetailsoptionalinterface{} #
The configuration details of the CloudWatch Logs destination.

Note that this field is marked as required but only if CloudWatch Logs was chosen as the destination.

kinesisFirehoseDetailsoptionalIResolvable | CfnCacheCluster.KinesisFirehoseDestinationDetailsPropertykinesis_firehose_detailsoptionaltyping.Union[IResolvable, KinesisFirehoseDestinationDetailsProperty]kinesisFirehoseDetailsoptionalIResolvableKinesisFirehoseDetailsoptionalIResolvableKinesisFirehoseDetailsoptionalinterface{} #
The configuration details of the Kinesis Data Firehose destination.

Note that this field is marked as required but only if Kinesis Data Firehose was chosen as the destination.