Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ThumbnailConfiguration Struct
Thumbnail configuration for the channel.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
declare const thumbnailState: medialive_alpha.ThumbnailState;
const thumbnailConfiguration: medialive_alpha.ThumbnailConfiguration = {
state: thumbnailState,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
# thumbnail_state: medialive_alpha.ThumbnailState
thumbnail_configuration = medialive_alpha.ThumbnailConfiguration(
state=thumbnail_state
)
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.medialive.alpha.*;
ThumbnailState thumbnailState;
ThumbnailConfiguration thumbnailConfiguration = ThumbnailConfiguration.builder()
.state(thumbnailState)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
ThumbnailState thumbnailState;
var thumbnailConfiguration = new ThumbnailConfiguration {
State = thumbnailState
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
var thumbnailState ThumbnailState
thumbnailConfiguration := &ThumbnailConfiguration{
State: thumbnailState,
}
Properties
stateoptionalThumbnailStatestateoptionalThumbnailStatestateoptionalThumbnailStateStateoptionalThumbnailStateStateoptionalThumbnailState= ThumbnailState.AUTO#Whether to enable thumbnail generation.