Skip to content
v2.277.0

DestinationConfigurationProperty Struct ​

The DestinationConfiguration property type describes a location where chat logs will be stored.

Each member represents the configuration of one log destination. For logging, you define only one type of destination.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ivschat as ivschat } from 'aws-cdk-lib';
const destinationConfigurationProperty: ivschat.CfnLoggingConfiguration.DestinationConfigurationProperty = {
  cloudWatchLogs: {
    logGroupName: 'logGroupName',
  },
  firehose: {
    deliveryStreamName: 'deliveryStreamName',
  },
  s3: {
    bucketName: 'bucketName',
  },
};
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_ivschat as ivschat

destination_configuration_property = ivschat.CfnLoggingConfiguration.DestinationConfigurationProperty(
    cloud_watch_logs=ivschat.CfnLoggingConfiguration.CloudWatchLogsDestinationConfigurationProperty(
        log_group_name="logGroupName"
    ),
    firehose=ivschat.CfnLoggingConfiguration.FirehoseDestinationConfigurationProperty(
        delivery_stream_name="deliveryStreamName"
    ),
    s3=ivschat.CfnLoggingConfiguration.S3DestinationConfigurationProperty(
        bucket_name="bucketName"
    )
)
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.ivschat.*;

DestinationConfigurationProperty destinationConfigurationProperty = DestinationConfigurationProperty.builder()
        .cloudWatchLogs(CloudWatchLogsDestinationConfigurationProperty.builder()
                .logGroupName("logGroupName")
                .build())
        .firehose(FirehoseDestinationConfigurationProperty.builder()
                .deliveryStreamName("deliveryStreamName")
                .build())
        .s3(S3DestinationConfigurationProperty.builder()
                .bucketName("bucketName")
                .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.IVSChat;

var destinationConfigurationProperty = new DestinationConfigurationProperty {
    CloudWatchLogs = new CloudWatchLogsDestinationConfigurationProperty {
        LogGroupName = "logGroupName"
    },
    Firehose = new FirehoseDestinationConfigurationProperty {
        DeliveryStreamName = "deliveryStreamName"
    },
    S3 = new S3DestinationConfigurationProperty {
        BucketName = "bucketName"
    }
};
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"

destinationConfigurationProperty := &DestinationConfigurationProperty{
	CloudWatchLogs: &CloudWatchLogsDestinationConfigurationProperty{
		LogGroupName: jsii.String("logGroupName"),
	},
	Firehose: &FirehoseDestinationConfigurationProperty{
		DeliveryStreamName: jsii.String("deliveryStreamName"),
	},
	S3: &S3DestinationConfigurationProperty{
		BucketName: jsii.String("bucketName"),
	},
}

Properties ​

cloudWatchLogsoptionalIResolvable | CfnLoggingConfiguration.CloudWatchLogsDestinationConfigurationPropertycloud_watch_logsoptionaltyping.Union[IResolvable, CloudWatchLogsDestinationConfigurationProperty]cloudWatchLogsoptionalIResolvableCloudWatchLogsoptionalIResolvableCloudWatchLogsoptionalinterface{}#
An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
firehoseoptionalIResolvable | CfnLoggingConfiguration.FirehoseDestinationConfigurationPropertyfirehoseoptionaltyping.Union[IResolvable, FirehoseDestinationConfigurationProperty]firehoseoptionalIResolvableFirehoseoptionalIResolvableFirehoseoptionalinterface{}#
An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
An Amazon S3 destination configuration where chat activity will be logged.