Skip to content
v2.278.0

AudioChannelMappingProperty Struct ​

The settings for remixing audio.

The parent of this entity is RemixSettings.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const audioChannelMappingProperty: medialive.CfnChannel.AudioChannelMappingProperty = {
  inputChannelLevels: [{
    gain: 123,
    inputChannel: 123,
  }],
  outputChannel: 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_medialive as medialive

audio_channel_mapping_property = medialive.CfnChannel.AudioChannelMappingProperty(
    input_channel_levels=[medialive.CfnChannel.InputChannelLevelProperty(
        gain=123,
        input_channel=123
    )],
    output_channel=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.medialive.*;

AudioChannelMappingProperty audioChannelMappingProperty = AudioChannelMappingProperty.builder()
        .inputChannelLevels(List.of(InputChannelLevelProperty.builder()
                .gain(123)
                .inputChannel(123)
                .build()))
        .outputChannel(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.MediaLive;

var audioChannelMappingProperty = new AudioChannelMappingProperty {
    InputChannelLevels = new [] { new InputChannelLevelProperty {
        Gain = 123,
        InputChannel = 123
    } },
    OutputChannel = 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"

audioChannelMappingProperty := &AudioChannelMappingProperty{
	InputChannelLevels: []interface{}{
		&InputChannelLevelProperty{
			Gain: jsii.Number(123),
			InputChannel: jsii.Number(123),
		},
	},
	OutputChannel: jsii.Number(123),
}

Properties ​

inputChannelLevelsoptionalIResolvable | IResolvable | CfnChannel.InputChannelLevelProperty[]input_channel_levelsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, InputChannelLevelProperty]]]inputChannelLevelsoptionalIResolvableInputChannelLevelsoptionalIResolvableInputChannelLevelsoptionalinterface{} #
The indices and gain values for each input channel that should be remixed into this output channel.
outputChanneloptionalnumberoutput_channeloptionalint | floatoutputChanneloptionalNumberOutputChanneloptionaldoubleOutputChanneloptional*float64 #
The index of the output channel that is being produced.