Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
MulticastInputSource Struct
A source for a multicast input.
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 multicastInputSource: medialive_alpha.MulticastInputSource = {
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_source = 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;
MulticastInputSource multicastInputSource = MulticastInputSource.builder()
.address("address")
.port(123)
// the properties below are optional
.protocol(multicastProtocol)
.sourceIp("sourceIp")
.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 multicastInputSource = 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
multicastInputSource := &MulticastInputSource{
Address: jsii.String("address"),
Port: jsii.Number(123),
// the properties below are optional
Protocol: multicastProtocol,
SourceIp: jsii.String("sourceIp"),
}
Properties
The multicast group address.
The multicast port.
protocoloptionalMulticastProtocolprotocoloptionalMulticastProtocolprotocoloptionalMulticastProtocolProtocoloptionalMulticastProtocolProtocoloptionalMulticastProtocol= MulticastProtocol.UDP#The transport protocol.
sourceIpoptionalstringsource_ipoptionalstrsourceIpoptionalStringSourceIpoptionalstringSourceIpoptional*string#Filter to a specific source IP (source-specific multicast).
Default: accept any source