Skip to content
v2.276.0

StandardSourceEndpointConfigurationProperty Struct Added in v2.276.0 ​

The configuration settings for a standard source endpoint.

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 standardSourceEndpointConfigurationProperty: mediaconnect.CfnSourceEndpoint.StandardSourceEndpointConfigurationProperty = {
  name: 'name',
  protocolConfiguration: {
    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',
    },
  },
  sourceNetworkingConfiguration: {
    public: {
      sourceAllowRules: [{
        cidr: 'cidr',
      }],
    },
    vpc: {
      securityGroupIds: ['securityGroupIds'],
      subnetId: 'subnetId',
    },
  },

  // the properties below are optional
  protocol: 'protocol',
  sourceNetworkingType: 'sourceNetworkingType',
};
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_configuration_property = mediaconnect.CfnSourceEndpoint.StandardSourceEndpointConfigurationProperty(
    name="name",
    protocol_configuration=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"
        )
    ),
    source_networking_configuration=mediaconnect.CfnSourceEndpoint.StandardSourceEndpointNetworkingConfigurationProperty(
        public=mediaconnect.CfnSourceEndpoint.PublicSourceEndpointNetworkingConfigurationProperty(
            source_allow_rules=[mediaconnect.CfnSourceEndpoint.PublicSourceEndpointNetworkingConfigurationAllowRuleProperty(
                cidr="cidr"
            )]
        ),
        vpc=mediaconnect.CfnSourceEndpoint.VpcSourceEndpointNetworkingConfigurationProperty(
            security_group_ids=["securityGroupIds"],
            subnet_id="subnetId"
        )
    ),

    # the properties below are optional
    protocol="protocol",
    source_networking_type="sourceNetworkingType"
)
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.*;

StandardSourceEndpointConfigurationProperty standardSourceEndpointConfigurationProperty = StandardSourceEndpointConfigurationProperty.builder()
        .name("name")
        .protocolConfiguration(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())
        .sourceNetworkingConfiguration(StandardSourceEndpointNetworkingConfigurationProperty.builder()
                .public(PublicSourceEndpointNetworkingConfigurationProperty.builder()
                        .sourceAllowRules(List.of(PublicSourceEndpointNetworkingConfigurationAllowRuleProperty.builder()
                                .cidr("cidr")
                                .build()))
                        .build())
                .vpc(VpcSourceEndpointNetworkingConfigurationProperty.builder()
                        .securityGroupIds(List.of("securityGroupIds"))
                        .subnetId("subnetId")
                        .build())
                .build())

        // the properties below are optional
        .protocol("protocol")
        .sourceNetworkingType("sourceNetworkingType")
        .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 standardSourceEndpointConfigurationProperty = new StandardSourceEndpointConfigurationProperty {
    Name = "name",
    ProtocolConfiguration = 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"
        }
    },
    SourceNetworkingConfiguration = new StandardSourceEndpointNetworkingConfigurationProperty {
        Public = new PublicSourceEndpointNetworkingConfigurationProperty {
            SourceAllowRules = new [] { new PublicSourceEndpointNetworkingConfigurationAllowRuleProperty {
                Cidr = "cidr"
            } }
        },
        Vpc = new VpcSourceEndpointNetworkingConfigurationProperty {
            SecurityGroupIds = new [] { "securityGroupIds" },
            SubnetId = "subnetId"
        }
    },

    // the properties below are optional
    Protocol = "protocol",
    SourceNetworkingType = "sourceNetworkingType"
};
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"

standardSourceEndpointConfigurationProperty := &StandardSourceEndpointConfigurationProperty{
	Name: jsii.String("name"),
	ProtocolConfiguration: &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"),
		},
	},
	SourceNetworkingConfiguration: &StandardSourceEndpointNetworkingConfigurationProperty{
		Public: &PublicSourceEndpointNetworkingConfigurationProperty{
			SourceAllowRules: []interface{}{
				&PublicSourceEndpointNetworkingConfigurationAllowRuleProperty{
					Cidr: jsii.String("cidr"),
				},
			},
		},
		Vpc: &VpcSourceEndpointNetworkingConfigurationProperty{
			SecurityGroupIds: []*string{
				jsii.String("securityGroupIds"),
			},
			SubnetId: jsii.String("subnetId"),
		},
	},

	// the properties below are optional
	Protocol: jsii.String("protocol"),
	SourceNetworkingType: jsii.String("sourceNetworkingType"),
}

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
The name of the source endpoint.
protocoloptionalstringprotocoloptionalstrprotocoloptionalStringProtocoloptionalstringProtocoloptional*string#
protocolConfigurationIResolvable | CfnSourceEndpoint.StandardSourceEndpointProtocolConfigurationPropertyprotocol_configurationtyping.Union[IResolvable, StandardSourceEndpointProtocolConfigurationProperty]protocolConfigurationIResolvableProtocolConfigurationIResolvableProtocolConfigurationinterface{}required#
The protocol configuration for a standard source endpoint.

This is a union type, so exactly one of its members is set, depending on the protocol that the source endpoint uses.

sourceNetworkingConfigurationIResolvable | CfnSourceEndpoint.StandardSourceEndpointNetworkingConfigurationPropertysource_networking_configurationtyping.Union[IResolvable, StandardSourceEndpointNetworkingConfigurationProperty]sourceNetworkingConfigurationIResolvableSourceNetworkingConfigurationIResolvableSourceNetworkingConfigurationinterface{}required#
The networking configuration for a standard source endpoint.

This is a union type, so exactly one of its members is set: public for a publicly accessible endpoint, or vpc for an endpoint in a virtual private cloud (VPC).

sourceNetworkingTypeoptionalstringsource_networking_typeoptionalstrsourceNetworkingTypeoptionalStringSourceNetworkingTypeoptionalstringSourceNetworkingTypeoptional*string#