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

Properties for a MediaConnect input.

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

## Example

```ts
   declare const role: iam.IRole;
   declare const flow: mediaconnect.IFlowRef;

   InputConfiguration.mediaConnect({
     flows: [flow],
     role,
   });
```

## Properties

- `flows`: [IFlowRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_mediaconnect.IFlowRef.html)[] (required) — The MediaConnect flows to use as sources (one, or two for pipeline redundancy).

- `role`: [IRole](/cdk/api/v2/docs/aws-cdk-lib.aws_iam.IRole.html) — The IAM role MediaLive uses to manage the output it adds to the flow for this input.

  **Default:** a role is created with the medialive.amazonaws.com service principal [disable-awslint:prefer-ref-interface]

  When omitted, a role is created and granted the required permissions.
  When you provide a role, no permissions are added — you own all the permissions it needs.
