> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# MulticastInputProps

Properties for a multicast input.

Requires `anywhereSettings` on the channel.

Used as argument in: [InputConfiguration.multicast](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.InputConfiguration.html#multicast)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/input.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/input.ts#L407)

## Example

TypeScript:

```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 multicastInputProps: medialive_alpha.MulticastInputProps = {
  sources: [{
    address: 'address',
    port: 123,

    // the properties below are optional
    protocol: multicastProtocol,
    sourceIp: 'sourceIp',
  }],
};
```

Python:

```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_props = medialive_alpha.MulticastInputProps(
    sources=[medialive_alpha.MulticastInputSource(
        address="address",
        port=123,

        # the properties below are optional
        protocol=multicast_protocol,
        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.alpha.*;

MulticastProtocol multicastProtocol;

MulticastInputProps multicastInputProps = MulticastInputProps.builder()
        .sources(List.of(MulticastInputSource.builder()
                .address("address")
                .port(123)

                // the properties below are optional
                .protocol(multicastProtocol)
                .sourceIp("sourceIp")
                .build()))
        .build();
```

C# / .NET:

```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 multicastInputProps = new MulticastInputProps {
    Sources = new [] { new MulticastInputSource {
        Address = "address",
        Port = 123,

        // the properties below are optional
        Protocol = multicastProtocol,
        SourceIp = "sourceIp"
    } }
};
```

Golang:

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

multicastInputProps := &MulticastInputProps{
	Sources: []MulticastInputSource{
		&MulticastInputSource{
			Address: jsii.String("address"),
			Port: jsii.Number(123),

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

## Properties

- `sources`: [MulticastInputSource](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.MulticastInputSource.html)[] (required) — The multicast sources.

  Provide two for a STANDARD (redundant-pipeline) channel.
