> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# CmafIngestOutputGroupProps

Properties for a CMAF Ingest output group.

Used as argument in: [OutputGroupConfiguration.cmafIngest](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.OutputGroupConfiguration.html#cmafingest)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/output-group.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/output-group.ts#L913)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `additionalDestinations`: [OutputDestination](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.OutputDestination.html)[] — 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.

- `captionLanguageMappings`: [CmafCaptionLanguageMapping](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.CmafCaptionLanguageMapping.html)[] — Maps captions channels to languages for this CMAF Ingest output group.

  **Default:** no caption language mappings

- `destinations`: [OutputDestination](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.OutputDestination.html)[] (required) — The primary CMAF ingest destinations — one per pipeline.

  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.

- `id3Behavior`: [Id3Behavior](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.Id3Behavior.html) = Id3Behavior.DISABLED — The ID3 behavior for the CMAF ingest output.

- `id3NameModifier`: string — The name modifier for ID3 metadata.

  **Default:** service default

- `klvBehavior`: [KlvBehavior](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.KlvBehavior.html) = KlvBehavior.NO_PASSTHROUGH — The KLV behavior for the CMAF ingest output.

- `klvNameModifier`: string — The name modifier for KLV metadata.

  **Default:** service default

- `name`: string (required) — The name of this output group.

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

- `nielsenId3Behavior`: [NielsenId3Behavior](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.NielsenId3Behavior.html) — The Nielsen ID3 behavior for the CMAF ingest output.

  **Default:** NielsenId3Behavior.NO_PASSTHROUGH

- `nielsenId3NameModifier`: string — The name modifier for Nielsen ID3 metadata.

  **Default:** service default

- `outputs`: [CmafIngestOutputDefinition](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.CmafIngestOutputDefinition.html)[] (required) — The outputs for this CMAF Ingest output group.

  Each output should contain a single encode.

- `scte35NameModifier`: string — The name modifier for SCTE-35 messages.

  **Default:** service default

- `scte35Type`: [Scte35Type](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.Scte35Type.html) — The SCTE-35 type for the CMAF ingest output.

  **Default:** Scte35Type.SCTE_35_WITHOUT_SEGMENTATION

- `segment`: [Segment](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.Segment.html) = Segment.seconds(1) — The length of each media segment.

- `sendDelayMs`: number — The number of milliseconds to delay the output from the second pipeline.

  **Default:** service default

- `timedMetadataId3Frame`: [TimedMetadataId3Frame](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.TimedMetadataId3Frame.html) = TimedMetadataId3Frame.NONE — Indicates the ID3 frame that has the timecode.

- `timedMetadataId3Period`: [Duration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Duration.html) = Duration.seconds(10) — The timed metadata interval.

- `timedMetadataPassthrough`: [TimedMetadataPassthrough](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.TimedMetadataPassthrough.html) — Whether timed metadata is passed through.

  **Default:** TimedMetadataPassthrough.DISABLED
