Skip to content
v2.276.0

SrtListenerStandardSourceEndpointConfigurationProperty Struct Added in v2.276.0 ​

The configuration settings for a source endpoint that uses SRT in listener mode.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const srtListenerStandardSourceEndpointConfigurationProperty: mediaconnect.CfnSourceEndpoint.SrtListenerStandardSourceEndpointConfigurationProperty = {
  minimumLatencyMilliseconds: 123,
  sourceAddress: 'sourceAddress',
  sourceListenerPort: 123,

  // the properties below are optional
  encryptionPassphrase: {
    secretArn: 'secretArn',
  },
  streamId: 'streamId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconnect as mediaconnect

srt_listener_standard_source_endpoint_configuration_property = mediaconnect.CfnSourceEndpoint.SrtListenerStandardSourceEndpointConfigurationProperty(
    minimum_latency_milliseconds=123,
    source_address="sourceAddress",
    source_listener_port=123,

    # the properties below are optional
    encryption_passphrase=mediaconnect.CfnSourceEndpoint.EndpointEncryptionSecretConfigurationProperty(
        secret_arn="secretArn"
    ),
    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.*;

SrtListenerStandardSourceEndpointConfigurationProperty srtListenerStandardSourceEndpointConfigurationProperty = SrtListenerStandardSourceEndpointConfigurationProperty.builder()
        .minimumLatencyMilliseconds(123)
        .sourceAddress("sourceAddress")
        .sourceListenerPort(123)

        // the properties below are optional
        .encryptionPassphrase(EndpointEncryptionSecretConfigurationProperty.builder()
                .secretArn("secretArn")
                .build())
        .streamId("streamId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;

var srtListenerStandardSourceEndpointConfigurationProperty = new SrtListenerStandardSourceEndpointConfigurationProperty {
    MinimumLatencyMilliseconds = 123,
    SourceAddress = "sourceAddress",
    SourceListenerPort = 123,

    // the properties below are optional
    EncryptionPassphrase = new EndpointEncryptionSecretConfigurationProperty {
        SecretArn = "secretArn"
    },
    StreamId = "streamId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

srtListenerStandardSourceEndpointConfigurationProperty := &SrtListenerStandardSourceEndpointConfigurationProperty{
	MinimumLatencyMilliseconds: jsii.Number(123),
	SourceAddress: jsii.String("sourceAddress"),
	SourceListenerPort: jsii.Number(123),

	// the properties below are optional
	EncryptionPassphrase: &EndpointEncryptionSecretConfigurationProperty{
		SecretArn: jsii.String("secretArn"),
	},
	StreamId: jsii.String("streamId"),
}

Properties ​

encryptionPassphraseoptionalIResolvable | CfnSourceEndpoint.EndpointEncryptionSecretConfigurationPropertyencryption_passphraseoptionaltyping.Union[IResolvable, EndpointEncryptionSecretConfigurationProperty]encryptionPassphraseoptionalIResolvableEncryptionPassphraseoptionalIResolvableEncryptionPassphraseoptionalinterface{}#
The configuration for the Secrets Manager secret that holds the key or passphrase used to encrypt an endpoint connection.
minimumLatencyMillisecondsnumberminimum_latency_millisecondsint | floatminimumLatencyMillisecondsNumberMinimumLatencyMillisecondsdoubleMinimumLatencyMilliseconds*float64required#
The minimum latency, in milliseconds, for the SRT connection.

The valid range is 10 to 10000.

sourceAddressstringsource_addressstrsourceAddressStringSourceAddressstringSourceAddress*stringrequired#
The IP address that the source endpoint listens on for incoming connections.
sourceListenerPortnumbersource_listener_portint | floatsourceListenerPortNumberSourceListenerPortdoubleSourceListenerPort*float64required#
The port that the source endpoint listens on for incoming connections.

The valid range is 1024 to 65535.

streamIdoptionalstringstream_idoptionalstrstreamIdoptionalStringStreamIdoptionalstringStreamIdoptional*string#
The stream ID that identifies the content for the SRT connection.