RenditionConfigurationProperty Struct
The RenditionConfiguration property type describes which renditions should be recorded for a stream.
| 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 renditionConfigurationProperty: ivs.CfnRecordingConfiguration.RenditionConfigurationProperty = {
renditions: ['renditions'],
renditionSelection: 'renditionSelection',
};
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_ivs as ivs
rendition_configuration_property = ivs.CfnRecordingConfiguration.RenditionConfigurationProperty(
renditions=["renditions"],
rendition_selection="renditionSelection"
)
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.*;
RenditionConfigurationProperty renditionConfigurationProperty = RenditionConfigurationProperty.builder()
.renditions(List.of("renditions"))
.renditionSelection("renditionSelection")
.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 renditionConfigurationProperty = new RenditionConfigurationProperty {
Renditions = new [] { "renditions" },
RenditionSelection = "renditionSelection"
};
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"
renditionConfigurationProperty := &RenditionConfigurationProperty{
Renditions: []*string{
jsii.String("renditions"),
},
RenditionSelection: jsii.String("renditionSelection"),
}
Properties
renditionsoptionalstring[]renditionsoptionaltyping.List[str]renditionsoptionalList<String>Renditionsoptionalstring[]Renditionsoptional*[]*string #A list of which renditions are recorded for a stream, if `renditionSelection` is `CUSTOM` ;
notes
otherwise, this field is irrelevant. The selected renditions are recorded if they are available during the stream. If a selected rendition is unavailable, the best available rendition is recorded. For details on the resolution dimensions of each rendition, see Auto-Record to Amazon S3 .
renditionSelectionoptionalstringrendition_selectionoptionalstrrenditionSelectionoptionalStringRenditionSelectionoptionalstringRenditionSelectionoptional*string = "ALL" #The set of renditions are recorded for a stream.
For BASIC channels, the CUSTOM value has no effect. If CUSTOM is specified, a set of renditions can be specified in the renditions field. Default: ALL .