# DestinationConfigurationProperty

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.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `cloudWatchLogs`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLoggingConfiguration.CloudWatchLogsDestinationConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ivschat.CfnLoggingConfiguration.CloudWatchLogsDestinationConfigurationProperty.html) — An Amazon CloudWatch Logs destination configuration where chat activity will be logged.

- `firehose`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLoggingConfiguration.FirehoseDestinationConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ivschat.CfnLoggingConfiguration.FirehoseDestinationConfigurationProperty.html) — An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.

- `s3`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLoggingConfiguration.S3DestinationConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ivschat.CfnLoggingConfiguration.S3DestinationConfigurationProperty.html) — An Amazon S3 destination configuration where chat activity will be logged.
