Skip to content
v2.276.0

StandardSourceEndpointProtocolConfigurationProperty Struct Added in v2.276.0 ​

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 standardSourceEndpointProtocolConfigurationProperty: mediaconnect.CfnSourceEndpoint.StandardSourceEndpointProtocolConfigurationProperty = {
  rist: {
    destinationIngestPort: 123,
    recoveryLatencyMilliseconds: 123,
  },
  rtp: {
    destinationIngestPort: 123,
    forwardErrorCorrectionState: 'forwardErrorCorrectionState',
  },
  srtCaller: {
    destinationIngestPort: 123,
    minimumLatencyMilliseconds: 123,

    // the properties below are optional
    encryptionPassphrase: {
      secretArn: 'secretArn',
    },
  },
  srtListener: {
    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

standard_source_endpoint_protocol_configuration_property = mediaconnect.CfnSourceEndpoint.StandardSourceEndpointProtocolConfigurationProperty(
    rist=mediaconnect.CfnSourceEndpoint.RistStandardSourceEndpointConfigurationProperty(
        destination_ingest_port=123,
        recovery_latency_milliseconds=123
    ),
    rtp=mediaconnect.CfnSourceEndpoint.RtpStandardSourceEndpointConfigurationProperty(
        destination_ingest_port=123,
        forward_error_correction_state="forwardErrorCorrectionState"
    ),
    srt_caller=mediaconnect.CfnSourceEndpoint.SrtCallerStandardSourceEndpointConfigurationProperty(
        destination_ingest_port=123,
        minimum_latency_milliseconds=123,

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

StandardSourceEndpointProtocolConfigurationProperty standardSourceEndpointProtocolConfigurationProperty = StandardSourceEndpointProtocolConfigurationProperty.builder()
        .rist(RistStandardSourceEndpointConfigurationProperty.builder()
                .destinationIngestPort(123)
                .recoveryLatencyMilliseconds(123)
                .build())
        .rtp(RtpStandardSourceEndpointConfigurationProperty.builder()
                .destinationIngestPort(123)
                .forwardErrorCorrectionState("forwardErrorCorrectionState")
                .build())
        .srtCaller(SrtCallerStandardSourceEndpointConfigurationProperty.builder()
                .destinationIngestPort(123)
                .minimumLatencyMilliseconds(123)

                // the properties below are optional
                .encryptionPassphrase(EndpointEncryptionSecretConfigurationProperty.builder()
                        .secretArn("secretArn")
                        .build())
                .build())
        .srtListener(SrtListenerStandardSourceEndpointConfigurationProperty.builder()
                .minimumLatencyMilliseconds(123)
                .sourceAddress("sourceAddress")
                .sourceListenerPort(123)

                // the properties below are optional
                .encryptionPassphrase(EndpointEncryptionSecretConfigurationProperty.builder()
                        .secretArn("secretArn")
                        .build())
                .streamId("streamId")
                .build())
        .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 standardSourceEndpointProtocolConfigurationProperty = new StandardSourceEndpointProtocolConfigurationProperty {
    Rist = new RistStandardSourceEndpointConfigurationProperty {
        DestinationIngestPort = 123,
        RecoveryLatencyMilliseconds = 123
    },
    Rtp = new RtpStandardSourceEndpointConfigurationProperty {
        DestinationIngestPort = 123,
        ForwardErrorCorrectionState = "forwardErrorCorrectionState"
    },
    SrtCaller = new SrtCallerStandardSourceEndpointConfigurationProperty {
        DestinationIngestPort = 123,
        MinimumLatencyMilliseconds = 123,

        // the properties below are optional
        EncryptionPassphrase = new EndpointEncryptionSecretConfigurationProperty {
            SecretArn = "secretArn"
        }
    },
    SrtListener = 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"

standardSourceEndpointProtocolConfigurationProperty := &StandardSourceEndpointProtocolConfigurationProperty{
	Rist: &RistStandardSourceEndpointConfigurationProperty{
		DestinationIngestPort: jsii.Number(123),
		RecoveryLatencyMilliseconds: jsii.Number(123),
	},
	Rtp: &RtpStandardSourceEndpointConfigurationProperty{
		DestinationIngestPort: jsii.Number(123),
		ForwardErrorCorrectionState: jsii.String("forwardErrorCorrectionState"),
	},
	SrtCaller: &SrtCallerStandardSourceEndpointConfigurationProperty{
		DestinationIngestPort: jsii.Number(123),
		MinimumLatencyMilliseconds: jsii.Number(123),

		// the properties below are optional
		EncryptionPassphrase: &EndpointEncryptionSecretConfigurationProperty{
			SecretArn: jsii.String("secretArn"),
		},
	},
	SrtListener: &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 ​

The configuration settings for a source endpoint that uses the RIST protocol.
The configuration settings for a source endpoint that uses the RTP protocol.
srtCalleroptionalIResolvable | CfnSourceEndpoint.SrtCallerStandardSourceEndpointConfigurationPropertysrt_calleroptionaltyping.Union[IResolvable, SrtCallerStandardSourceEndpointConfigurationProperty]srtCalleroptionalIResolvableSrtCalleroptionalIResolvableSrtCalleroptionalinterface{}#
The configuration settings for a source endpoint that uses SRT in caller mode.
srtListeneroptionalIResolvable | CfnSourceEndpoint.SrtListenerStandardSourceEndpointConfigurationPropertysrt_listeneroptionaltyping.Union[IResolvable, SrtListenerStandardSourceEndpointConfigurationProperty]srtListeneroptionalIResolvableSrtListeneroptionalIResolvableSrtListeneroptionalinterface{}#
The configuration settings for a source endpoint that uses SRT in listener mode.