> **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.
# ZixiPushOutputConfig

Configuration options for Zixi Push outputs.

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

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

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
import * as cdk from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
import { aws_secretsmanager as secretsmanager } from 'aws-cdk-lib';

declare const encryptionAlgorithm: mediaconnect_alpha.EncryptionAlgorithm;
declare const role: iam.Role;
declare const secret: secretsmanager.Secret;
const zixiPushOutputConfig: mediaconnect_alpha.ZixiPushOutputConfig = {
  destination: 'destination',
  maxLatency: cdk.Duration.minutes(30),
  port: 123,
  streamId: 'streamId',

  // the properties below are optional
  cidrAllowList: ['cidrAllowList'],
  encryption: {
    algorithm: encryptionAlgorithm,
    secret: secret,

    // the properties below are optional
    role: role,
  },
  vpcInterfaceAttachmentName: 'vpcInterfaceAttachmentName',
};
```

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_mediaconnect_alpha as mediaconnect_alpha
import aws_cdk as cdk
from aws_cdk import aws_iam as iam
from aws_cdk import aws_secretsmanager as secretsmanager

# encryption_algorithm: mediaconnect_alpha.EncryptionAlgorithm
# role: iam.Role
# secret: secretsmanager.Secret

zixi_push_output_config = mediaconnect_alpha.ZixiPushOutputConfig(
    destination="destination",
    max_latency=cdk.Duration.minutes(30),
    port=123,
    stream_id="streamId",

    # the properties below are optional
    cidr_allow_list=["cidrAllowList"],
    encryption=mediaconnect_alpha.StaticKeyEncryption(
        algorithm=encryption_algorithm,
        secret=secret,

        # the properties below are optional
        role=role
    ),
    vpc_interface_attachment_name="vpcInterfaceAttachmentName"
)
```

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.mediaconnect.alpha.*;
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.secretsmanager.*;

EncryptionAlgorithm encryptionAlgorithm;
Role role;
Secret secret;

ZixiPushOutputConfig zixiPushOutputConfig = ZixiPushOutputConfig.builder()
        .destination("destination")
        .maxLatency(Duration.minutes(30))
        .port(123)
        .streamId("streamId")

        // the properties below are optional
        .cidrAllowList(List.of("cidrAllowList"))
        .encryption(StaticKeyEncryption.builder()
                .algorithm(encryptionAlgorithm)
                .secret(secret)

                // the properties below are optional
                .role(role)
                .build())
        .vpcInterfaceAttachmentName("vpcInterfaceAttachmentName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;
using Amazon.CDK;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.SecretsManager;

EncryptionAlgorithm encryptionAlgorithm;
Role role;
Secret secret;

var zixiPushOutputConfig = new ZixiPushOutputConfig {
    Destination = "destination",
    MaxLatency = Duration.Minutes(30),
    Port = 123,
    StreamId = "streamId",

    // the properties below are optional
    CidrAllowList = new [] { "cidrAllowList" },
    Encryption = new StaticKeyEncryption {
        Algorithm = encryptionAlgorithm,
        Secret = secret,

        // the properties below are optional
        Role = role
    },
    VpcInterfaceAttachmentName = "vpcInterfaceAttachmentName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"
import cdk "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"

var encryptionAlgorithm EncryptionAlgorithm
var role Role
var secret Secret

zixiPushOutputConfig := &ZixiPushOutputConfig{
	Destination: jsii.String("destination"),
	MaxLatency: cdk.Duration_Minutes(jsii.Number(30)),
	Port: jsii.Number(123),
	StreamId: jsii.String("streamId"),

	// the properties below are optional
	CidrAllowList: []*string{
		jsii.String("cidrAllowList"),
	},
	Encryption: &StaticKeyEncryption{
		Algorithm: encryptionAlgorithm,
		Secret: secret,

		// the properties below are optional
		Role: role,
	},
	VpcInterfaceAttachmentName: jsii.String("vpcInterfaceAttachmentName"),
}
```

## Properties

- `cidrAllowList`: string[] — The range of IP addresses that should be allowed to initiate output requests to this flow.

  **Default:** no CIDR allow list

  These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

- `destination`: string (required) — The IP address where you want to send the output.

- `encryption`: [StaticKeyEncryption](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.StaticKeyEncryption.html) — Static key encryption for this output.

  **Default:** no encryption

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

- `port`: number (required) — The port to use when content is distributed to this output.

- `streamId`: string (required) — The stream ID that you want to use for this transport.

- `vpcInterfaceAttachmentName`: string — The name of the VPC interface attachment to use for this output.

  **Default:** no VPC interface attachment
