Skip to content
v2.278.0

KinesisVideoStreamConfigProperty Struct ​

Configuration information of a Kinesis video stream.

Example ​

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
# 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
// 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();
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
};
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 ​

encryptionConfigIResolvable | CfnInstanceStorageConfig.EncryptionConfigPropertyencryption_configtyping.Union[IResolvable, EncryptionConfigProperty]encryptionConfigIResolvableEncryptionConfigIResolvableEncryptionConfiginterface{} required #
The encryption configuration.
prefixstringprefixstrprefixStringPrefixstringPrefix*string required #
The prefix of the video stream.
retentionPeriodHoursnumberretention_period_hoursint | floatretentionPeriodHoursNumberRetentionPeriodHoursdoubleRetentionPeriodHours*float64 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.