interface SrtListenerOutputConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.SrtListenerOutputConfig |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#SrtListenerOutputConfig |
Java | software.amazon.awscdk.services.mediaconnect.alpha.SrtListenerOutputConfig |
Python | aws_cdk.aws_mediaconnect_alpha.SrtListenerOutputConfig |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป SrtListenerOutputConfig |
Configuration options for SRT Listener outputs.
Example
// 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';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
import { aws_secretsmanager as secretsmanager } from 'aws-cdk-lib';
declare const networkInterface: mediaconnect_alpha.NetworkInterface;
declare const role: iam.Role;
declare const secret: secretsmanager.Secret;
declare const securityGroup: ec2.SecurityGroup;
declare const subnet: ec2.Subnet;
const srtListenerOutputConfig: mediaconnect_alpha.SrtListenerOutputConfig = {
port: 123,
// the properties below are optional
cidrAllowList: ['cidrAllowList'],
encryption: {
secret: secret,
// the properties below are optional
role: role,
},
minLatency: cdk.Duration.minutes(30),
vpcInterfaceAttachment: {
name: 'name',
role: role,
securityGroups: [securityGroup],
subnet: subnet,
// the properties below are optional
networkInterfaceIds: ['networkInterfaceIds'],
networkInterfaceType: networkInterface,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| port | number | The port to use when content is distributed to this output. |
| cidr | string[] | The range of IP addresses that should be allowed to initiate output requests to this flow. |
| encryption? | Srt | SRT password encryption for this output. |
| min | Duration | The minimum latency in milliseconds for SRT-based streams. |
| vpc | Vpc | The VPC interface attachment to use for this output. |
port
Type:
number
The port to use when content is distributed to this output.
cidrAllowList?
Type:
string[]
(optional, default: no CIDR allow list)
The range of IP addresses that should be allowed to initiate output requests to this flow.
These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
encryption?
Type:
Srt
(optional, default: no encryption)
SRT password encryption for this output.
minLatency?
Type:
Duration
(optional, default: no minimum latency)
The minimum latency in milliseconds for SRT-based streams.
The value you set on your MediaConnect output represents the minimal potential latency of that connection. The latency of the stream is set to the higher of the sender's minimum latency and the receiver's minimum latency.
vpcInterfaceAttachment?
Type:
Vpc
(optional, default: no VPC interface attachment)
The VPC interface attachment to use for this output.

.NET
Go
Java
Python
TypeScript (