# RenditionConfigurationProperty

The RenditionConfiguration property type describes which renditions should be recorded for a stream.

- 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_ivs as ivs } from 'aws-cdk-lib';
const renditionConfigurationProperty: ivs.CfnRecordingConfiguration.RenditionConfigurationProperty = {
  renditions: ['renditions'],
  renditionSelection: 'renditionSelection',
};
```

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_ivs as ivs

rendition_configuration_property = ivs.CfnRecordingConfiguration.RenditionConfigurationProperty(
    renditions=["renditions"],
    rendition_selection="renditionSelection"
)
```

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

RenditionConfigurationProperty renditionConfigurationProperty = RenditionConfigurationProperty.builder()
        .renditions(List.of("renditions"))
        .renditionSelection("renditionSelection")
        .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.Ivs;

var renditionConfigurationProperty = new RenditionConfigurationProperty {
    Renditions = new [] { "renditions" },
    RenditionSelection = "renditionSelection"
};
```

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"

renditionConfigurationProperty := &RenditionConfigurationProperty{
	Renditions: []*string{
		jsii.String("renditions"),
	},
	RenditionSelection: jsii.String("renditionSelection"),
}
```

## Properties

- `renditions`: string[] — A list of which renditions are recorded for a stream, if `renditionSelection` is `CUSTOM` ;

  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](https://docs.aws.amazon.com//ivs/latest/LowLatencyUserGuide/record-to-s3.html) .

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