Skip to content
v2.277.0

Experimental

@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

SrtCallerProtocolProps Struct ​

Properties for SRT Caller protocol configuration.

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';
import { aws_iam as iam } from 'aws-cdk-lib';
import { aws_secretsmanager as secretsmanager } from 'aws-cdk-lib';

declare const role: iam.Role;
declare const secret: secretsmanager.Secret;
const srtCallerProtocolProps: mediaconnect_alpha.SrtCallerProtocolProps = {
  minimumLatency: cdk.Duration.minutes(30),
  sourceAddress: 'sourceAddress',
  sourcePort: 123,

  // the properties below are optional
  decryptionConfiguration: {
    secret: secret,

    // the properties below are optional
    role: role,
  },
  streamId: 'streamId',
};
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
from aws_cdk import aws_iam as iam
from aws_cdk import aws_secretsmanager as secretsmanager

# role: iam.Role
# secret: secretsmanager.Secret

srt_caller_protocol_props = mediaconnect_alpha.SrtCallerProtocolProps(
    minimum_latency=cdk.Duration.minutes(30),
    source_address="sourceAddress",
    source_port=123,

    # the properties below are optional
    decryption_configuration=mediaconnect_alpha.RouterSrtEncryption(
        secret=secret,

        # the properties below are optional
        role=role
    ),
    stream_id="streamId"
)
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.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.secretsmanager.*;

Role role;
Secret secret;

SrtCallerProtocolProps srtCallerProtocolProps = SrtCallerProtocolProps.builder()
        .minimumLatency(Duration.minutes(30))
        .sourceAddress("sourceAddress")
        .sourcePort(123)

        // the properties below are optional
        .decryptionConfiguration(RouterSrtEncryption.builder()
                .secret(secret)

                // the properties below are optional
                .role(role)
                .build())
        .streamId("streamId")
        .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;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.SecretsManager;

Role role;
Secret secret;

var srtCallerProtocolProps = new SrtCallerProtocolProps {
    MinimumLatency = Duration.Minutes(30),
    SourceAddress = "sourceAddress",
    SourcePort = 123,

    // the properties below are optional
    DecryptionConfiguration = new RouterSrtEncryption {
        Secret = secret,

        // the properties below are optional
        Role = role
    },
    StreamId = "streamId"
};
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"
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"

var role Role
var secret Secret

srtCallerProtocolProps := &SrtCallerProtocolProps{
	MinimumLatency: cdk.Duration_Minutes(jsii.Number(30)),
	SourceAddress: jsii.String("sourceAddress"),
	SourcePort: jsii.Number(123),

	// the properties below are optional
	DecryptionConfiguration: &RouterSrtEncryption{
		Secret: secret,

		// the properties below are optional
		Role: role,
	},
	StreamId: jsii.String("streamId"),
}

Properties ​

decryptionConfigurationoptionalRouterSrtEncryptiondecryption_configurationoptionalRouterSrtEncryptiondecryptionConfigurationoptionalRouterSrtEncryptionDecryptionConfigurationoptionalRouterSrtEncryptionDecryptionConfigurationoptionalRouterSrtEncryption#
Optional decryption configuration for encrypted SRT streams.

Default: No decryption

minimumLatencyDurationminimum_latencyDurationminimumLatencyDurationMinimumLatencyDurationMinimumLatencyDurationrequired#
Minimum latency for SRT.
sourceAddressstringsource_addressstrsourceAddressStringSourceAddressstringSourceAddress*stringrequired#
Source IP address to connect to.
sourcePortnumbersource_portint | floatsourcePortNumberSourcePortdoubleSourcePort*float64required#
Source port to connect to.
streamIdoptionalstringstream_idoptionalstrstreamIdoptionalStringStreamIdoptionalstringStreamIdoptional*string#
Optional stream ID for SRT connection.

Default: No stream ID