Skip to content
v2.278.0

EncodingConfigProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const encodingConfigProperty: mediaconnect.CfnFlow.EncodingConfigProperty = {
  encodingProfile: 'encodingProfile',
  videoMaxBitrate: 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_mediaconnect as mediaconnect

encoding_config_property = mediaconnect.CfnFlow.EncodingConfigProperty(
    encoding_profile="encodingProfile",
    video_max_bitrate=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.mediaconnect.*;

EncodingConfigProperty encodingConfigProperty = EncodingConfigProperty.builder()
        .encodingProfile("encodingProfile")
        .videoMaxBitrate(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.MediaConnect;

var encodingConfigProperty = new EncodingConfigProperty {
    EncodingProfile = "encodingProfile",
    VideoMaxBitrate = 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"

encodingConfigProperty := &EncodingConfigProperty{
	EncodingProfile: jsii.String("encodingProfile"),
	VideoMaxBitrate: jsii.Number(123),
}

Properties ​

encodingProfileoptionalstringencoding_profileoptionalstrencodingProfileoptionalStringEncodingProfileoptionalstringEncodingProfileoptional*string #
The encoding profile to use when transcoding the NDI source to a Transport Stream.

You can change this value while a flow is running.

videoMaxBitrateoptionalnumbervideo_max_bitrateoptionalint | floatvideoMaxBitrateoptionalNumberVideoMaxBitrateoptionaldoubleVideoMaxBitrateoptional*float64 #
The maximum video bitrate to use when transcoding the NDI source to a Transport Stream.
notes

This parameter enables you to override the default video bitrate within the encoding profile's supported range. The supported range is 10,000,000 - 50,000,000 bits per second (bps). If you do not specify a value, MediaConnect uses the default value of 20,000,000 bps.