Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
RtpOutputConfig Struct
Configuration options for RTP outputs.
Example
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
# 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
// 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();
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"
};
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
The IP address where you want to send the output.
The port to use when content is distributed to this output.
smoothingLatencyoptionalDurationsmoothing_latencyoptionalDurationsmoothingLatencyoptionalDurationSmoothingLatencyoptionalDurationSmoothingLatencyoptionalDuration#The smoothing latency for RIST, RTP, and RTP-FEC streams.
Default: no smoothing latency
vpcInterfaceAttachmentNameoptionalstringvpc_interface_attachment_nameoptionalstrvpcInterfaceAttachmentNameoptionalStringVpcInterfaceAttachmentNameoptionalstringVpcInterfaceAttachmentNameoptional*string#The name of the VPC interface attachment to use for this output.
Default: no VPC interface attachment