Skip to content
v2.276.0

Experimental

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

MulticastInputProps Struct ​

Properties for a multicast input.

Requires anywhereSettings on the channel.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';

declare const multicastProtocol: medialive_alpha.MulticastProtocol;
const multicastInputProps: medialive_alpha.MulticastInputProps = {
  sources: [{
    address: 'address',
    port: 123,

    // the properties below are optional
    protocol: multicastProtocol,
    sourceIp: 'sourceIp',
  }],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

# multicast_protocol: medialive_alpha.MulticastProtocol

multicast_input_props = medialive_alpha.MulticastInputProps(
    sources=[medialive_alpha.MulticastInputSource(
        address="address",
        port=123,

        # the properties below are optional
        protocol=multicast_protocol,
        source_ip="sourceIp"
    )]
)
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.medialive.alpha.*;

MulticastProtocol multicastProtocol;

MulticastInputProps multicastInputProps = MulticastInputProps.builder()
        .sources(List.of(MulticastInputSource.builder()
                .address("address")
                .port(123)

                // the properties below are optional
                .protocol(multicastProtocol)
                .sourceIp("sourceIp")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

MulticastProtocol multicastProtocol;

var multicastInputProps = new MulticastInputProps {
    Sources = new [] { new MulticastInputSource {
        Address = "address",
        Port = 123,

        // the properties below are optional
        Protocol = multicastProtocol,
        SourceIp = "sourceIp"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

var multicastProtocol MulticastProtocol

multicastInputProps := &MulticastInputProps{
	Sources: []MulticastInputSource{
		&MulticastInputSource{
			Address: jsii.String("address"),
			Port: jsii.Number(123),

			// the properties below are optional
			Protocol: multicastProtocol,
			SourceIp: jsii.String("sourceIp"),
		},
	},
}

Properties ​

sourcesMulticastInputSource[]sourcestyping.List[MulticastInputSource]sourcesList<MulticastInputSource>SourcesMulticastInputSource[]Sources*[]MulticastInputSourcerequired#
The multicast sources.

Provide two for a STANDARD (redundant-pipeline) channel.