# MulticastSettingsProperty

Settings for a Multicast input.

Contains a list of multicast Urls and optional source ip addresses.

- Source: Generated at build time
- Type last changed: v2.275.0 · 26 Oct 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    } }
};
```

Golang:

```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

- `sources`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.MulticastSourceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.MulticastSourceProperty.html)[] — Placeholder documentation for __listOfMulticastSource.
