CfnRecordingConfigurationProps Struct
Properties for defining a CfnRecordingConfiguration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ivs as ivs } from 'aws-cdk-lib';
const cfnRecordingConfigurationProps: ivs.CfnRecordingConfigurationProps = {
destinationConfiguration: {
s3: {
bucketName: 'bucketName',
},
},
// the properties below are optional
name: 'name',
recordingReconnectWindowSeconds: 123,
renditionConfiguration: {
renditions: ['renditions'],
renditionSelection: 'renditionSelection',
},
tags: [{
key: 'key',
value: 'value',
}],
thumbnailConfiguration: {
recordingMode: 'recordingMode',
resolution: 'resolution',
storage: ['storage'],
targetIntervalSeconds: 123,
},
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ivs as ivs
cfn_recording_configuration_props = ivs.CfnRecordingConfigurationProps(
destination_configuration=ivs.CfnRecordingConfiguration.DestinationConfigurationProperty(
s3=ivs.CfnRecordingConfiguration.S3DestinationConfigurationProperty(
bucket_name="bucketName"
)
),
# the properties below are optional
name="name",
recording_reconnect_window_seconds=123,
rendition_configuration=ivs.CfnRecordingConfiguration.RenditionConfigurationProperty(
renditions=["renditions"],
rendition_selection="renditionSelection"
),
tags=[CfnTag(
key="key",
value="value"
)],
thumbnail_configuration=ivs.CfnRecordingConfiguration.ThumbnailConfigurationProperty(
recording_mode="recordingMode",
resolution="resolution",
storage=["storage"],
target_interval_seconds=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.ivs.*;
CfnRecordingConfigurationProps cfnRecordingConfigurationProps = CfnRecordingConfigurationProps.builder()
.destinationConfiguration(DestinationConfigurationProperty.builder()
.s3(S3DestinationConfigurationProperty.builder()
.bucketName("bucketName")
.build())
.build())
// the properties below are optional
.name("name")
.recordingReconnectWindowSeconds(123)
.renditionConfiguration(RenditionConfigurationProperty.builder()
.renditions(List.of("renditions"))
.renditionSelection("renditionSelection")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.thumbnailConfiguration(ThumbnailConfigurationProperty.builder()
.recordingMode("recordingMode")
.resolution("resolution")
.storage(List.of("storage"))
.targetIntervalSeconds(123)
.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.Ivs;
var cfnRecordingConfigurationProps = new CfnRecordingConfigurationProps {
DestinationConfiguration = new DestinationConfigurationProperty {
S3 = new S3DestinationConfigurationProperty {
BucketName = "bucketName"
}
},
// the properties below are optional
Name = "name",
RecordingReconnectWindowSeconds = 123,
RenditionConfiguration = new RenditionConfigurationProperty {
Renditions = new [] { "renditions" },
RenditionSelection = "renditionSelection"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ThumbnailConfiguration = new ThumbnailConfigurationProperty {
RecordingMode = "recordingMode",
Resolution = "resolution",
Storage = new [] { "storage" },
TargetIntervalSeconds = 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"
cfnRecordingConfigurationProps := &CfnRecordingConfigurationProps{
DestinationConfiguration: &DestinationConfigurationProperty{
S3: &S3DestinationConfigurationProperty{
BucketName: jsii.String("bucketName"),
},
},
// the properties below are optional
Name: jsii.String("name"),
RecordingReconnectWindowSeconds: jsii.Number(123),
RenditionConfiguration: &RenditionConfigurationProperty{
Renditions: []*string{
jsii.String("renditions"),
},
RenditionSelection: jsii.String("renditionSelection"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
ThumbnailConfiguration: &ThumbnailConfigurationProperty{
RecordingMode: jsii.String("recordingMode"),
Resolution: jsii.String("resolution"),
Storage: []*string{
jsii.String("storage"),
},
TargetIntervalSeconds: jsii.Number(123),
},
}
Properties
destinationConfigurationIResolvable | CfnRecordingConfiguration.destination_configurationtyping.Union[IResolvable, DestinationConfigurationProperty]destinationConfigurationIResolvableDestinationConfigurationIResolvableDestinationConfigurationinterface{} required #A destination configuration describes an S3 bucket where recorded video will be stored.
See the DestinationConfiguration property type for more information.
Recording-configuration name.
The value does not need to be unique.
recordingReconnectWindowSecondsoptionalnumberrecording_reconnect_window_secondsoptionalint | floatrecordingReconnectWindowSecondsoptionalNumberRecordingReconnectWindowSecondsoptionaldoubleRecordingReconnectWindowSecondsoptional*float64 = 0 #If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together.
Default : 0
renditionConfigurationoptionalIResolvable | CfnRecordingConfiguration.rendition_configurationoptionaltyping.Union[IResolvable, RenditionConfigurationProperty]renditionConfigurationoptionalIResolvableRenditionConfigurationoptionalIResolvableRenditionConfigurationoptionalinterface{} #A rendition configuration describes which renditions should be recorded for a stream.
See the RenditionConfiguration property type for more information.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #An array of key-value pairs to apply to this resource.
For more information, see Tag .
thumbnailConfigurationoptionalIResolvable | CfnRecordingConfiguration.thumbnail_configurationoptionaltyping.Union[IResolvable, ThumbnailConfigurationProperty]thumbnailConfigurationoptionalIResolvableThumbnailConfigurationoptionalIResolvableThumbnailConfigurationoptionalinterface{} #A thumbnail configuration enables/disables the recording of thumbnails for a live session and controls the interval at which thumbnails are generated for the live session.
See the ThumbnailConfiguration property type for more information.