> **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.
# MsSmoothOutputGroupProps

Properties for an MS Smooth output group.

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

- 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#L1046)

## Example

TypeScript:

```ts
declare const video: medialive.EncodeConfiguration;
declare const audio: medialive.EncodeConfiguration;

medialive.OutputGroupConfiguration.msSmooth({
  name: 'smooth',
  destinations: [medialive.OutputDestination.url('https://smooth.example.com/live')],
  outputs: [{ encodes: [video, audio], outputName: 'smooth_out' }],
});
```

Python:

```python
# video: medialive.EncodeConfiguration
# audio: medialive.EncodeConfiguration

medialive.OutputGroupConfiguration.ms_smooth(
    name="smooth",
    destinations=[medialive.OutputDestination.url("https://smooth.example.com/live")],
    outputs=[medialive.MsSmoothOutputDefinition(encodes=[video, audio], output_name="smooth_out")]
)
```

Java:

```java
EncodeConfiguration video;
EncodeConfiguration audio;

OutputGroupConfiguration.msSmooth(MsSmoothOutputGroupProps.builder()
        .name("smooth")
        .destinations(List.of(OutputDestination.url("https://smooth.example.com/live")))
        .outputs(List.of(MsSmoothOutputDefinition.builder().encodes(List.of(video, audio)).outputName("smooth_out").build()))
        .build());
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
EncodeConfiguration video;
EncodeConfiguration audio;

OutputGroupConfiguration.MsSmooth(new MsSmoothOutputGroupProps {
    Name = "smooth",
    Destinations = new [] { OutputDestination.Url("https://smooth.example.com/live") },
    Outputs = new [] { new MsSmoothOutputDefinition { Encodes = new [] { video, audio }, OutputName = "smooth_out" } }
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
var video EncodeConfiguration
var audio EncodeConfiguration

medialive.OutputGroupConfiguration_MsSmooth(&MsSmoothOutputGroupProps{
	Name: jsii.String("smooth"),
	Destinations: []OutputDestination{
		medialive.OutputDestination_Url(jsii.String("https://smooth.example.com/live")),
	},
	Outputs: []MsSmoothOutputDefinition{
		&MsSmoothOutputDefinition{
			Encodes: []EncodeConfiguration{
				video,
				audio,
			},
			OutputName: jsii.String("smooth_out"),
		},
	},
})
```

## Properties

- `acquisitionPointId`: string — The value of the Acquisition Point Identity element used in each message placed in the sparse track.

  **Default:** service default

- `audioOnlyTimecodeControl`: [MsSmoothAudioOnlyTimecodeControl](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.MsSmoothAudioOnlyTimecodeControl.html) — If set to passthrough for an audio-only output, the fragment absolute time is set to the current timecode.

  **Default:** service default

- `certificateMode`: [MsSmoothCertificateMode](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.MsSmoothCertificateMode.html) — If set to VERIFY_AUTHENTICITY, verifies the HTTPS certificate chain to a trusted CA.

  **Default:** service default

- `connectionRetryInterval`: [Duration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Duration.html) — The number of seconds to wait before retrying the connection to the IIS server if the connection is lost.

  **Default:** service default

- `destinations`: [OutputDestination](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.OutputDestination.html)[] (required) — The destinations for this output group — 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.

- `eventId`: string — The Microsoft Smooth channel ID that is sent to the IIS server.

  **Default:** service default

- `eventIdMode`: [MsSmoothEventIdMode](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.MsSmoothEventIdMode.html) — Specifies whether to send a channel ID to the IIS server.

  **Default:** service default

- `eventStopBehavior`: [MsSmoothEventStopBehavior](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.MsSmoothEventStopBehavior.html) — When set to SEND_EOS, sends an EOS signal to an IIS server when stopping the channel.

  **Default:** service default

- `filecacheDuration`: [Duration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Duration.html) — The size, in seconds, of the file cache for streaming outputs.

  **Default:** service default

- `fragmentLength`: [Duration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Duration.html) — The length, in seconds, of mp4 fragments to generate.

  **Default:** service default

- `inputLossAction`: [MsSmoothInputLossAction](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.MsSmoothInputLossAction.html) — A parameter that controls output group behavior on an input loss.

  **Default:** service default

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

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

- `numRetries`: number = 10 — The number of retry attempts.

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

  **Default:** no initial outputs

- `restartDelay`: [Duration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Duration.html) = Duration.seconds(1) — The number of seconds before initiating a restart due to output failure.

- `segmentationMode`: [MsSmoothSegmentationMode](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.MsSmoothSegmentationMode.html) — The segmentation mode.

  **Default:** service default

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

  **Default:** service default

- `sparseTrackType`: [MsSmoothSparseTrackType](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.MsSmoothSparseTrackType.html) — If set to SCTE_35, uses incoming SCTE-35 messages to generate a sparse track.

  **Default:** service default

- `streamManifestBehavior`: [MsSmoothStreamManifestBehavior](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.MsSmoothStreamManifestBehavior.html) — When set to SEND, sends a stream manifest so that the publishing point doesn't start until all streams start.

  **Default:** service default

- `timestampOffset`: string — The timestamp offset for the channel.

  **Default:** service default

  Used only if timestampOffsetMode is set to USE_CONFIGURED_OFFSET.

- `timestampOffsetMode`: [MsSmoothTimestampOffsetMode](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.MsSmoothTimestampOffsetMode.html) — The type of timestamp date offset to use.

  **Default:** service default
