Skip to content
v2.278.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

MsSmoothOutputDefinition Struct ​

Output definition for an MS Smooth output group.

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 encodeConfiguration: medialive_alpha.EncodeConfiguration;
declare const h265PackagingType: medialive_alpha.H265PackagingType;
const msSmoothOutputDefinition: medialive_alpha.MsSmoothOutputDefinition = {
  encodes: [encodeConfiguration],
  outputName: 'outputName',

  // the properties below are optional
  h265PackagingType: h265PackagingType,
  nameModifier: 'nameModifier',
};
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

# encode_configuration: medialive_alpha.EncodeConfiguration
# h265_packaging_type: medialive_alpha.H265PackagingType

ms_smooth_output_definition = medialive_alpha.MsSmoothOutputDefinition(
    encodes=[encode_configuration],
    output_name="outputName",

    # the properties below are optional
    h265_packaging_type=h265_packaging_type,
    name_modifier="nameModifier"
)
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.*;

EncodeConfiguration encodeConfiguration;
H265PackagingType h265PackagingType;

MsSmoothOutputDefinition msSmoothOutputDefinition = MsSmoothOutputDefinition.builder()
        .encodes(List.of(encodeConfiguration))
        .outputName("outputName")

        // the properties below are optional
        .h265PackagingType(h265PackagingType)
        .nameModifier("nameModifier")
        .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;

EncodeConfiguration encodeConfiguration;
H265PackagingType h265PackagingType;

var msSmoothOutputDefinition = new MsSmoothOutputDefinition {
    Encodes = new [] { encodeConfiguration },
    OutputName = "outputName",

    // the properties below are optional
    H265PackagingType = h265PackagingType,
    NameModifier = "nameModifier"
};
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 encodeConfiguration EncodeConfiguration
var h265PackagingType H265PackagingType

msSmoothOutputDefinition := &MsSmoothOutputDefinition{
	Encodes: []EncodeConfiguration{
		encodeConfiguration,
	},
	OutputName: jsii.String("outputName"),

	// the properties below are optional
	H265PackagingType: h265PackagingType,
	NameModifier: jsii.String("nameModifier"),
}

Properties ​

encodesEncodeConfiguration[]encodestyping.List[EncodeConfiguration]encodesList<EncodeConfiguration>EncodesEncodeConfiguration[]Encodes*[]EncodeConfiguration required #
The encode configurations to wire to this output.
h265PackagingTypeoptionalH265PackagingTypeh265_packaging_typeoptionalH265PackagingTypeh265PackagingTypeoptionalH265PackagingTypeH265PackagingTypeoptionalH265PackagingTypeH265PackagingTypeoptionalH265PackagingType #
For H.265 video, whether to package as HEV1 or HVC1.

Default: service default

nameModifieroptionalstringname_modifieroptionalstrnameModifieroptionalStringNameModifieroptionalstringNameModifieroptional*string #
A string concatenated to the end of the destination file name.

Default: no name modifier

Required if the output group contains more than one output.

outputNamestringoutput_namestroutputNameStringOutputNamestringOutputName*string required #
The name of this output.

Must be unique across all outputs in the channel.