MulticastSettingsProperty Struct
Settings for a Multicast input.
Contains a list of multicast Urls and optional source ip addresses.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const multicastSettingsProperty: medialive.CfnInput.MulticastSettingsProperty = {
sources: [{
url: 'url',
// the properties below are optional
sourceIp: 'sourceIp',
}],
};
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_medialive as medialive
multicast_settings_property = medialive.CfnInput.MulticastSettingsProperty(
sources=[medialive.CfnInput.MulticastSourceProperty(
url="url",
# the properties below are optional
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.*;
MulticastSettingsProperty multicastSettingsProperty = MulticastSettingsProperty.builder()
.sources(List.of(MulticastSourceProperty.builder()
.url("url")
// the properties below are optional
.sourceIp("sourceIp")
.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.MediaLive;
var multicastSettingsProperty = new MulticastSettingsProperty {
Sources = new [] { new MulticastSourceProperty {
Url = "url",
// the properties below are optional
SourceIp = "sourceIp"
} }
};
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"
multicastSettingsProperty := &MulticastSettingsProperty{
Sources: []interface{}{
&MulticastSourceProperty{
Url: jsii.String("url"),
// the properties below are optional
SourceIp: jsii.String("sourceIp"),
},
},
}
Properties
sourcesoptionalIResolvable | IResolvable | CfnInput.MulticastSourceProperty[]sourcesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MulticastSourceProperty]]]sourcesoptionalIResolvableSourcesoptionalIResolvableSourcesoptionalinterface{} #Placeholder documentation for __listOfMulticastSource.