# KinesisVideoStreamConfigProperty

Configuration information of a Kinesis video stream.

- Source: Generated at build time
- Type last changed: v2.116.0 · 22 Dec 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_connect as connect } from 'aws-cdk-lib';
const kinesisVideoStreamConfigProperty: connect.CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty = {
  encryptionConfig: {
    encryptionType: 'encryptionType',
    keyId: 'keyId',
  },
  prefix: 'prefix',
  retentionPeriodHours: 123,
};
```

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_connect as connect

kinesis_video_stream_config_property = connect.CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty(
    encryption_config=connect.CfnInstanceStorageConfig.EncryptionConfigProperty(
        encryption_type="encryptionType",
        key_id="keyId"
    ),
    prefix="prefix",
    retention_period_hours=123
)
```

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.connect.*;

KinesisVideoStreamConfigProperty kinesisVideoStreamConfigProperty = KinesisVideoStreamConfigProperty.builder()
        .encryptionConfig(EncryptionConfigProperty.builder()
                .encryptionType("encryptionType")
                .keyId("keyId")
                .build())
        .prefix("prefix")
        .retentionPeriodHours(123)
        .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.Connect;

var kinesisVideoStreamConfigProperty = new KinesisVideoStreamConfigProperty {
    EncryptionConfig = new EncryptionConfigProperty {
        EncryptionType = "encryptionType",
        KeyId = "keyId"
    },
    Prefix = "prefix",
    RetentionPeriodHours = 123
};
```

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"

kinesisVideoStreamConfigProperty := &KinesisVideoStreamConfigProperty{
	EncryptionConfig: &EncryptionConfigProperty{
		EncryptionType: jsii.String("encryptionType"),
		KeyId: jsii.String("keyId"),
	},
	Prefix: jsii.String("prefix"),
	RetentionPeriodHours: jsii.Number(123),
}
```

## Properties

- `encryptionConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInstanceStorageConfig.EncryptionConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnInstanceStorageConfig.EncryptionConfigProperty.html) (required) — The encryption configuration.

- `prefix`: string (required) — The prefix of the video stream.

- `retentionPeriodHours`: number (required) — The number of hours data is retained in the stream.

  Kinesis Video Streams retains the data in a data store that is associated with the stream.

  The default value is 0, indicating that the stream does not persist data.
