# MulticastSourceProperty

Pair of multicast url and source ip address (optional) that make up a multicast source.

- 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 multicastSourceProperty: medialive.CfnInput.MulticastSourceProperty = {
  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_source_property = 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.*;

MulticastSourceProperty multicastSourceProperty = MulticastSourceProperty.builder()
        .url("url")

        // the properties below are optional
        .sourceIp("sourceIp")
        .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 multicastSourceProperty = 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"

multicastSourceProperty := &MulticastSourceProperty{
	Url: jsii.String("url"),

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

## Properties

- `sourceIp`: string — This represents the ip address of the device sending the multicast stream.

- `url`: string (required) — This represents the customer's source URL where multicast stream is pulled from.
