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.

CmafIngestOutputGroupProps Struct ​

Properties for a CMAF Ingest 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';
import * as cdk from 'aws-cdk-lib';

declare const encodeConfiguration: medialive_alpha.EncodeConfiguration;
declare const id3Behavior: medialive_alpha.Id3Behavior;
declare const klvBehavior: medialive_alpha.KlvBehavior;
declare const nielsenId3Behavior: medialive_alpha.NielsenId3Behavior;
declare const outputDestination: medialive_alpha.OutputDestination;
declare const scte35Type: medialive_alpha.Scte35Type;
declare const segment: medialive_alpha.Segment;
declare const timedMetadataId3Frame: medialive_alpha.TimedMetadataId3Frame;
declare const timedMetadataPassthrough: medialive_alpha.TimedMetadataPassthrough;
const cmafIngestOutputGroupProps: medialive_alpha.CmafIngestOutputGroupProps = {
  destinations: [outputDestination],
  name: 'name',
  outputs: [{
    encode: encodeConfiguration,
    outputName: 'outputName',

    // the properties below are optional
    captions: [encodeConfiguration],
    nameModifier: 'nameModifier',
  }],

  // the properties below are optional
  additionalDestinations: [outputDestination],
  captionLanguageMappings: [{
    captionChannel: 123,
    languageCode: 'languageCode',
  }],
  id3Behavior: id3Behavior,
  id3NameModifier: 'id3NameModifier',
  klvBehavior: klvBehavior,
  klvNameModifier: 'klvNameModifier',
  nielsenId3Behavior: nielsenId3Behavior,
  nielsenId3NameModifier: 'nielsenId3NameModifier',
  scte35NameModifier: 'scte35NameModifier',
  scte35Type: scte35Type,
  segment: segment,
  sendDelayMs: 123,
  timedMetadataId3Frame: timedMetadataId3Frame,
  timedMetadataId3Period: cdk.Duration.minutes(30),
  timedMetadataPassthrough: timedMetadataPassthrough,
};
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
import aws_cdk as cdk

# encode_configuration: medialive_alpha.EncodeConfiguration
# id3_behavior: medialive_alpha.Id3Behavior
# klv_behavior: medialive_alpha.KlvBehavior
# nielsen_id3_behavior: medialive_alpha.NielsenId3Behavior
# output_destination: medialive_alpha.OutputDestination
# scte35_type: medialive_alpha.Scte35Type
# segment: medialive_alpha.Segment
# timed_metadata_id3_frame: medialive_alpha.TimedMetadataId3Frame
# timed_metadata_passthrough: medialive_alpha.TimedMetadataPassthrough

cmaf_ingest_output_group_props = medialive_alpha.CmafIngestOutputGroupProps(
    destinations=[output_destination],
    name="name",
    outputs=[medialive_alpha.CmafIngestOutputDefinition(
        encode=encode_configuration,
        output_name="outputName",

        # the properties below are optional
        captions=[encode_configuration],
        name_modifier="nameModifier"
    )],

    # the properties below are optional
    additional_destinations=[output_destination],
    caption_language_mappings=[medialive_alpha.CmafCaptionLanguageMapping(
        caption_channel=123,
        language_code="languageCode"
    )],
    id3_behavior=id3_behavior,
    id3_name_modifier="id3NameModifier",
    klv_behavior=klv_behavior,
    klv_name_modifier="klvNameModifier",
    nielsen_id3_behavior=nielsen_id3_behavior,
    nielsen_id3_name_modifier="nielsenId3NameModifier",
    scte35_name_modifier="scte35NameModifier",
    scte35_type=scte35_type,
    segment=segment,
    send_delay_ms=123,
    timed_metadata_id3_frame=timed_metadata_id3_frame,
    timed_metadata_id3_period=cdk.Duration.minutes(30),
    timed_metadata_passthrough=timed_metadata_passthrough
)
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.*;
import software.amazon.awscdk.*;

EncodeConfiguration encodeConfiguration;
Id3Behavior id3Behavior;
KlvBehavior klvBehavior;
NielsenId3Behavior nielsenId3Behavior;
OutputDestination outputDestination;
Scte35Type scte35Type;
Segment segment;
TimedMetadataId3Frame timedMetadataId3Frame;
TimedMetadataPassthrough timedMetadataPassthrough;

CmafIngestOutputGroupProps cmafIngestOutputGroupProps = CmafIngestOutputGroupProps.builder()
        .destinations(List.of(outputDestination))
        .name("name")
        .outputs(List.of(CmafIngestOutputDefinition.builder()
                .encode(encodeConfiguration)
                .outputName("outputName")

                // the properties below are optional
                .captions(List.of(encodeConfiguration))
                .nameModifier("nameModifier")
                .build()))

        // the properties below are optional
        .additionalDestinations(List.of(outputDestination))
        .captionLanguageMappings(List.of(CmafCaptionLanguageMapping.builder()
                .captionChannel(123)
                .languageCode("languageCode")
                .build()))
        .id3Behavior(id3Behavior)
        .id3NameModifier("id3NameModifier")
        .klvBehavior(klvBehavior)
        .klvNameModifier("klvNameModifier")
        .nielsenId3Behavior(nielsenId3Behavior)
        .nielsenId3NameModifier("nielsenId3NameModifier")
        .scte35NameModifier("scte35NameModifier")
        .scte35Type(scte35Type)
        .segment(segment)
        .sendDelayMs(123)
        .timedMetadataId3Frame(timedMetadataId3Frame)
        .timedMetadataId3Period(Duration.minutes(30))
        .timedMetadataPassthrough(timedMetadataPassthrough)
        .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;
using Amazon.CDK;

EncodeConfiguration encodeConfiguration;
Id3Behavior id3Behavior;
KlvBehavior klvBehavior;
NielsenId3Behavior nielsenId3Behavior;
OutputDestination outputDestination;
Scte35Type scte35Type;
Segment segment;
TimedMetadataId3Frame timedMetadataId3Frame;
TimedMetadataPassthrough timedMetadataPassthrough;

var cmafIngestOutputGroupProps = new CmafIngestOutputGroupProps {
    Destinations = new [] { outputDestination },
    Name = "name",
    Outputs = new [] { new CmafIngestOutputDefinition {
        Encode = encodeConfiguration,
        OutputName = "outputName",

        // the properties below are optional
        Captions = new [] { encodeConfiguration },
        NameModifier = "nameModifier"
    } },

    // the properties below are optional
    AdditionalDestinations = new [] { outputDestination },
    CaptionLanguageMappings = new [] { new CmafCaptionLanguageMapping {
        CaptionChannel = 123,
        LanguageCode = "languageCode"
    } },
    Id3Behavior = id3Behavior,
    Id3NameModifier = "id3NameModifier",
    KlvBehavior = klvBehavior,
    KlvNameModifier = "klvNameModifier",
    NielsenId3Behavior = nielsenId3Behavior,
    NielsenId3NameModifier = "nielsenId3NameModifier",
    Scte35NameModifier = "scte35NameModifier",
    Scte35Type = scte35Type,
    Segment = segment,
    SendDelayMs = 123,
    TimedMetadataId3Frame = timedMetadataId3Frame,
    TimedMetadataId3Period = Duration.Minutes(30),
    TimedMetadataPassthrough = timedMetadataPassthrough
};
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"
import cdk "github.com/aws/aws-cdk-go/awscdk"

var encodeConfiguration EncodeConfiguration
var id3Behavior Id3Behavior
var klvBehavior KlvBehavior
var nielsenId3Behavior NielsenId3Behavior
var outputDestination OutputDestination
var scte35Type Scte35Type
var segment Segment
var timedMetadataId3Frame TimedMetadataId3Frame
var timedMetadataPassthrough TimedMetadataPassthrough

cmafIngestOutputGroupProps := &CmafIngestOutputGroupProps{
	Destinations: []OutputDestination{
		outputDestination,
	},
	Name: jsii.String("name"),
	Outputs: []CmafIngestOutputDefinition{
		&CmafIngestOutputDefinition{
			Encode: encodeConfiguration,
			OutputName: jsii.String("outputName"),

			// the properties below are optional
			Captions: []EncodeConfiguration{
				encodeConfiguration,
			},
			NameModifier: jsii.String("nameModifier"),
		},
	},

	// the properties below are optional
	AdditionalDestinations: []OutputDestination{
		outputDestination,
	},
	CaptionLanguageMappings: []CmafCaptionLanguageMapping{
		&CmafCaptionLanguageMapping{
			CaptionChannel: jsii.Number(123),
			LanguageCode: jsii.String("languageCode"),
		},
	},
	Id3Behavior: id3Behavior,
	Id3NameModifier: jsii.String("id3NameModifier"),
	KlvBehavior: klvBehavior,
	KlvNameModifier: jsii.String("klvNameModifier"),
	NielsenId3Behavior: nielsenId3Behavior,
	NielsenId3NameModifier: jsii.String("nielsenId3NameModifier"),
	Scte35NameModifier: jsii.String("scte35NameModifier"),
	Scte35Type: scte35Type,
	Segment: segment,
	SendDelayMs: jsii.Number(123),
	TimedMetadataId3Frame: timedMetadataId3Frame,
	TimedMetadataId3Period: cdk.Duration_Minutes(jsii.Number(30)),
	TimedMetadataPassthrough: timedMetadataPassthrough,
}

Properties ​

additionalDestinationsoptionalOutputDestination[]additional_destinationsoptionaltyping.List[OutputDestination]additionalDestinationsoptionalList<OutputDestination>AdditionalDestinationsoptionalOutputDestination[]AdditionalDestinationsoptional*[]OutputDestination #
Configure additional destinations to fan out the CMAF ingest output to extra endpoints, for example for cross-region delivery or backup packaging.

Default: no additional destinations

Standard channels support up to 2 additional destinations. Single pipeline channels support 1 additional destination.

captionLanguageMappingsoptionalCmafCaptionLanguageMapping[]caption_language_mappingsoptionaltyping.List[CmafCaptionLanguageMapping]captionLanguageMappingsoptionalList<CmafCaptionLanguageMapping>CaptionLanguageMappingsoptionalCmafCaptionLanguageMapping[]CaptionLanguageMappingsoptional*[]CmafCaptionLanguageMapping #
Maps captions channels to languages for this CMAF Ingest output group.

Default: no caption language mappings

destinationsOutputDestination[]destinationstyping.List[OutputDestination]destinationsList<OutputDestination>DestinationsOutputDestination[]Destinations*[]OutputDestination required #
The primary CMAF ingest destinations — one per pipeline.
notes

Array position determines the pipeline mapping:

  • destinations[0] → Pipeline 0
  • destinations[1] → Pipeline 1 (STANDARD channels only)

For a SINGLE_PIPELINE channel, provide exactly 1 destination. For a STANDARD channel, provide exactly 2 destinations to utilise both pipelines for redundancy.

id3BehavioroptionalId3Behaviorid3_behavioroptionalId3Behaviorid3BehavioroptionalId3BehaviorId3BehavioroptionalId3BehaviorId3BehavioroptionalId3Behavior = Id3Behavior.DISABLED #
The ID3 behavior for the CMAF ingest output.
id3NameModifieroptionalstringid3_name_modifieroptionalstrid3NameModifieroptionalStringId3NameModifieroptionalstringId3NameModifieroptional*string #
The name modifier for ID3 metadata.

Default: service default

klvBehavioroptionalKlvBehaviorklv_behavioroptionalKlvBehaviorklvBehavioroptionalKlvBehaviorKlvBehavioroptionalKlvBehaviorKlvBehavioroptionalKlvBehavior = KlvBehavior.NO_PASSTHROUGH #
The KLV behavior for the CMAF ingest output.
klvNameModifieroptionalstringklv_name_modifieroptionalstrklvNameModifieroptionalStringKlvNameModifieroptionalstringKlvNameModifieroptional*string #
The name modifier for KLV metadata.

Default: service default

namestringnamestrnameStringNamestringName*string required #
The name of this output group.

Used as the destination reference ID. Underscores are normalised to hyphens internally.

nielsenId3BehavioroptionalNielsenId3Behaviornielsen_id3_behavioroptionalNielsenId3BehaviornielsenId3BehavioroptionalNielsenId3BehaviorNielsenId3BehavioroptionalNielsenId3BehaviorNielsenId3BehavioroptionalNielsenId3Behavior #
The Nielsen ID3 behavior for the CMAF ingest output.

Default: NielsenId3Behavior.NO_PASSTHROUGH

nielsenId3NameModifieroptionalstringnielsen_id3_name_modifieroptionalstrnielsenId3NameModifieroptionalStringNielsenId3NameModifieroptionalstringNielsenId3NameModifieroptional*string #
The name modifier for Nielsen ID3 metadata.

Default: service default

The outputs for this CMAF Ingest output group.

Each output should contain a single encode.

scte35NameModifieroptionalstringscte35_name_modifieroptionalstrscte35NameModifieroptionalStringScte35NameModifieroptionalstringScte35NameModifieroptional*string #
The name modifier for SCTE-35 messages.

Default: service default

scte35TypeoptionalScte35Typescte35_typeoptionalScte35Typescte35TypeoptionalScte35TypeScte35TypeoptionalScte35TypeScte35TypeoptionalScte35Type #
The SCTE-35 type for the CMAF ingest output.

Default: Scte35Type.SCTE_35_WITHOUT_SEGMENTATION

segmentoptionalSegmentsegmentoptionalSegmentsegmentoptionalSegmentSegmentoptionalSegmentSegmentoptionalSegment = Segment.seconds(1) #
The length of each media segment.
sendDelayMsoptionalnumbersend_delay_msoptionalint | floatsendDelayMsoptionalNumberSendDelayMsoptionaldoubleSendDelayMsoptional*float64 #
The number of milliseconds to delay the output from the second pipeline.

Default: service default

timedMetadataId3FrameoptionalTimedMetadataId3Frametimed_metadata_id3_frameoptionalTimedMetadataId3FrametimedMetadataId3FrameoptionalTimedMetadataId3FrameTimedMetadataId3FrameoptionalTimedMetadataId3FrameTimedMetadataId3FrameoptionalTimedMetadataId3Frame = TimedMetadataId3Frame.NONE #
Indicates the ID3 frame that has the timecode.
timedMetadataId3PeriodoptionalDurationtimed_metadata_id3_periodoptionalDurationtimedMetadataId3PeriodoptionalDurationTimedMetadataId3PeriodoptionalDurationTimedMetadataId3PeriodoptionalDuration = Duration.seconds(10) #
The timed metadata interval.
timedMetadataPassthroughoptionalTimedMetadataPassthroughtimed_metadata_passthroughoptionalTimedMetadataPassthroughtimedMetadataPassthroughoptionalTimedMetadataPassthroughTimedMetadataPassthroughoptionalTimedMetadataPassthroughTimedMetadataPassthroughoptionalTimedMetadataPassthrough #
Whether timed metadata is passed through.

Default: TimedMetadataPassthrough.DISABLED