Skip to content
v2.278.0

MulticastSettingsCreateRequestProperty Struct ​

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 multicastSettingsCreateRequestProperty: medialive.CfnInput.MulticastSettingsCreateRequestProperty = {
  sources: [{
    sourceIp: 'sourceIp',
    url: 'url',
  }],
};
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_create_request_property = medialive.CfnInput.MulticastSettingsCreateRequestProperty(
    sources=[medialive.CfnInput.MulticastSourceCreateRequestProperty(
        source_ip="sourceIp",
        url="url"
    )]
)
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.*;

MulticastSettingsCreateRequestProperty multicastSettingsCreateRequestProperty = MulticastSettingsCreateRequestProperty.builder()
        .sources(List.of(MulticastSourceCreateRequestProperty.builder()
                .sourceIp("sourceIp")
                .url("url")
                .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 multicastSettingsCreateRequestProperty = new MulticastSettingsCreateRequestProperty {
    Sources = new [] { new MulticastSourceCreateRequestProperty {
        SourceIp = "sourceIp",
        Url = "url"
    } }
};
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"

multicastSettingsCreateRequestProperty := &MulticastSettingsCreateRequestProperty{
	Sources: []interface{}{
		&MulticastSourceCreateRequestProperty{
			SourceIp: jsii.String("sourceIp"),
			Url: jsii.String("url"),
		},
	},
}

Properties ​

sourcesoptionalIResolvable | IResolvable | CfnInput.MulticastSourceCreateRequestProperty[]sourcesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MulticastSourceCreateRequestProperty]]]sourcesoptionalIResolvableSourcesoptionalIResolvableSourcesoptionalinterface{} #