Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
SrtCallerOutputConfig Struct
Configuration options for SRT Caller outputs.
Example
ts
declare const stack: Stack;
declare const flow: Flow;
declare const role: iam.IRole;
declare const secret: secretsmanager.ISecret;
new FlowOutput(stack, 'SrtOutput', {
flow,
output: OutputConfiguration.srtCaller({
destination: '203.0.113.100',
port: 7000,
encryption: { role, secret },
}),
});
python
from aws_cdk.aws_mediaconnect_alpha import SrtPasswordEncryption
# stack: Stack
# flow: Flow
# role: iam.IRole
# secret: secretsmanager.ISecret
FlowOutput(stack, "SrtOutput",
flow=flow,
output=OutputConfiguration.srt_caller(
destination="203.0.113.100",
port=7000,
encryption=SrtPasswordEncryption(role=role, secret=secret)
)
)
java
Stack stack;
Flow flow;
IRole role;
ISecret secret;
FlowOutput.Builder.create(stack, "SrtOutput")
.flow(flow)
.output(OutputConfiguration.srtCaller(SrtCallerOutputConfig.builder()
.destination("203.0.113.100")
.port(7000)
.encryption(SrtPasswordEncryption.builder().role(role).secret(secret).build())
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
Stack stack;
Flow flow;
IRole role;
ISecret secret;
new FlowOutput(stack, "SrtOutput", new FlowOutputProps {
Flow = flow,
Output = OutputConfiguration.SrtCaller(new SrtCallerOutputConfig {
Destination = "203.0.113.100",
Port = 7000,
Encryption = new SrtPasswordEncryption { Role = role, Secret = secret }
})
});
go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
var stack Stack
var flow Flow
var role IRole
var secret ISecret
awsmediaconnectalpha.NewFlowOutput(stack, jsii.String("SrtOutput"), &FlowOutputProps{
Flow: Flow,
Output: awsmediaconnectalpha.OutputConfiguration_SrtCaller(&SrtCallerOutputConfig{
Destination: jsii.String("203.0.113.100"),
Port: jsii.Number(7000),
Encryption: &SrtPasswordEncryption{
Role: *Role,
Secret: *Secret,
},
}),
})
Properties
The IP address where you want to send the output.
encryptionoptionalSrtPasswordEncryptionencryptionoptionalSrtPasswordEncryptionencryptionoptionalSrtPasswordEncryptionEncryptionoptionalSrtPasswordEncryptionEncryptionoptionalSrtPasswordEncryption#SRT password encryption for this output.
Default: no encryption
minLatencyoptionalDurationmin_latencyoptionalDurationminLatencyoptionalDurationMinLatencyoptionalDurationMinLatencyoptionalDuration#The minimum latency in milliseconds for SRT-based streams.
Default: no minimum latency
notes
In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.
The port to use when content is distributed to this output.
streamIdoptionalstringstream_idoptionalstrstreamIdoptionalStringStreamIdoptionalstringStreamIdoptional*string#The stream ID that you want to use for this transport.
Default: no stream ID
vpcInterfaceAttachmentNameoptionalstringvpc_interface_attachment_nameoptionalstrvpcInterfaceAttachmentNameoptionalStringVpcInterfaceAttachmentNameoptionalstringVpcInterfaceAttachmentNameoptional*string#The name of the VPC interface attachment to use for this output.
Default: no VPC interface attachment