> **Experimental**
>
> `@aws-cdk/aws-mediaconnect-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.
# RtpOutputConfig

Configuration options for RTP outputs.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/flow-output.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-mediaconnect-alpha/lib/flow-output.ts#L104)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
import * as cdk from 'aws-cdk-lib';
const rtpOutputConfig: mediaconnect_alpha.RtpOutputConfig = {
  destination: 'destination',
  port: 123,

  // the properties below are optional
  smoothingLatency: cdk.Duration.minutes(30),
  vpcInterfaceAttachmentName: 'vpcInterfaceAttachmentName',
};
```

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_mediaconnect_alpha as mediaconnect_alpha
import aws_cdk as cdk

rtp_output_config = mediaconnect_alpha.RtpOutputConfig(
    destination="destination",
    port=123,

    # the properties below are optional
    smoothing_latency=cdk.Duration.minutes(30),
    vpc_interface_attachment_name="vpcInterfaceAttachmentName"
)
```

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.mediaconnect.alpha.*;
import software.amazon.awscdk.*;

RtpOutputConfig rtpOutputConfig = RtpOutputConfig.builder()
        .destination("destination")
        .port(123)

        // the properties below are optional
        .smoothingLatency(Duration.minutes(30))
        .vpcInterfaceAttachmentName("vpcInterfaceAttachmentName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;
using Amazon.CDK;

var rtpOutputConfig = new RtpOutputConfig {
    Destination = "destination",
    Port = 123,

    // the properties below are optional
    SmoothingLatency = Duration.Minutes(30),
    VpcInterfaceAttachmentName = "vpcInterfaceAttachmentName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"
import cdk "github.com/aws/aws-cdk-go/awscdk"

rtpOutputConfig := &RtpOutputConfig{
	Destination: jsii.String("destination"),
	Port: jsii.Number(123),

	// the properties below are optional
	SmoothingLatency: cdk.Duration_Minutes(jsii.Number(30)),
	VpcInterfaceAttachmentName: jsii.String("vpcInterfaceAttachmentName"),
}
```

## Properties

- `destination`: string (required) — The IP address where you want to send the output.

- `port`: number (required) — The port to use when content is distributed to this output.

- `smoothingLatency`: [Duration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Duration.html) — The smoothing latency for RIST, RTP, and RTP-FEC streams.

  **Default:** no smoothing latency

- `vpcInterfaceAttachmentName`: string — The name of the VPC interface attachment to use for this output.

  **Default:** no VPC interface attachment
