> **Experimental**
>
> `@aws-cdk/aws-mediaconnect-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.
# SourceZixiPush

Configuration for Zixi Push.

No port option is exposed: MediaConnect assigns the Zixi Push ingest port itself —
public sources are served on 2088, VPC sources are auto-assigned a port in 2090–2099.
The service rejects any user-supplied port value, so the L2 surface doesn't accept one.

Extends: [SourceBase](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.SourceBase.html)
Used as argument in: [SourceConfiguration.zixiPush](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.SourceConfiguration.html#zixipush)

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

## Example

TypeScript:

```ts
declare const stack: Stack;

const flow = new Flow(stack, 'MyFlow', {
  source: SourceConfiguration.zixiPush({
    flowSourceName: 'zixi-source',
    maxLatency: Duration.millis(2000),
    network: NetworkConfiguration.publicNetwork('203.0.113.0/24'),
  }),
});
```

Python:

```python
# stack: Stack

flow = Flow(stack, "MyFlow",
    source=SourceConfiguration.zixi_push(
        flow_source_name="zixi-source",
        max_latency=Duration.millis(2000),
        network=NetworkConfiguration.public_network("203.0.113.0/24")
    )
)
```

Java:

```java
Stack stack;

Flow flow = Flow.Builder.create(stack, "MyFlow")
        .source(SourceConfiguration.zixiPush(SourceZixiPush.builder()
                .flowSourceName("zixi-source")
                .maxLatency(Duration.millis(2000))
                .network(NetworkConfiguration.publicNetwork("203.0.113.0/24"))
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
Stack stack;

var flow = new Flow(stack, "MyFlow", new FlowProps {
    Source = SourceConfiguration.ZixiPush(new SourceZixiPush {
        FlowSourceName = "zixi-source",
        MaxLatency = Duration.Millis(2000),
        Network = NetworkConfiguration.PublicNetwork("203.0.113.0/24")
    })
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
var stack Stack

flow := awsmediaconnectalpha.NewFlow(stack, jsii.String("MyFlow"), &FlowProps{
	Source: awsmediaconnectalpha.SourceConfiguration_ZixiPush(&SourceZixiPush{
		FlowSourceName: jsii.String("zixi-source"),
		MaxLatency: awscdk.Duration_Millis(jsii.Number(2000)),
		Network: awsmediaconnectalpha.NetworkConfiguration_PublicNetwork(jsii.String("203.0.113.0/24")),
	}),
})
```

## Properties

- `decryption`: [StaticKeyEncryption](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.StaticKeyEncryption.html) — Decrypt source with static keys.

  **Default:** no decryption

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

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

  **Default:** chosen by MediaConnect

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

- `streamId`: string — The stream ID that you want to use for the transport.

  **Default:** no stream ID

  This parameter applies only to Zixi-based streams.
