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

Configuration for RIST.

Extends: SourceRist
Extends: SourceBase

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/flow-source-configuration.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0-alpha.0/packages/@aws-cdk/aws-mediaconnect-alpha/lib/flow-source-configuration.ts#L168)

## Example

```ts
declare const stack: Stack;
declare const securityGroup: ec2.ISecurityGroup;
declare const subnet: ec2.ISubnet;
declare const role: iam.IRole;

const vpcInterface = VpcInterface.define({
  vpcInterfaceName: 'my-vpc-interface',
  role: role,
  securityGroups: [securityGroup],
  subnet: subnet,
});

const flow = new Flow(stack, 'MyFlow', {
  source: SourceConfiguration.rist({
    flowSourceName: 'vpc-source',
    description: 'VPC-based source',
    port: 5000,
    maxLatency: Duration.millis(2000),
    network: NetworkConfiguration.vpc(vpcInterface),
  }),
  vpcInterfaces: [vpcInterface],
});
```

## Properties

- `description`: string — A description of the source.

  **Default:** no description

  This description appears only on the MediaConnect console and will not be seen by the end user.

- `flowSourceName`: string — The name of the source.

  **Default:** a name is generated automatically

- `maxBitrate`: [Bitrate](/cdk/api/v2/docs/aws-cdk-lib.Bitrate.html) — The maximum bitrate for RIST, RTP, and RTP-FEC streams.

  **Default:** no maximum bitrate

- `maxLatency`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) — The maximum latency in milliseconds for a RIST or Zixi-based source.

  **Default:** undefined; when omitted, MediaConnect applies its service default maximum latency

- `network`: [NetworkConfiguration](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.NetworkConfiguration.html) (required) — Defines networking configuration.

- `port`: number (required) — The port that the flow will be listening on for incoming content.
