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

Configuration options for Zixi Pull outputs.

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

- 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#L139)

## 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 zixiPullOutputConfig: mediaconnect_alpha.ZixiPullOutputConfig = {
  cidrAllowList: ['cidrAllowList'],
  maxLatency: cdk.Duration.minutes(30),
  remoteId: 'remoteId',
  streamId: 'streamId',

  // the properties below are optional
  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_pull_output_config = mediaconnect_alpha.ZixiPullOutputConfig(
    cidr_allow_list=["cidrAllowList"],
    max_latency=cdk.Duration.minutes(30),
    remote_id="remoteId",
    stream_id="streamId",

    # the properties below are optional
    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;

ZixiPullOutputConfig zixiPullOutputConfig = ZixiPullOutputConfig.builder()
        .cidrAllowList(List.of("cidrAllowList"))
        .maxLatency(Duration.minutes(30))
        .remoteId("remoteId")
        .streamId("streamId")

        // the properties below are optional
        .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 zixiPullOutputConfig = new ZixiPullOutputConfig {
    CidrAllowList = new [] { "cidrAllowList" },
    MaxLatency = Duration.Minutes(30),
    RemoteId = "remoteId",
    StreamId = "streamId",

    // the properties below are optional
    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

zixiPullOutputConfig := &ZixiPullOutputConfig{
	CidrAllowList: []*string{
		jsii.String("cidrAllowList"),
	},
	MaxLatency: cdk.Duration_Minutes(jsii.Number(30)),
	RemoteId: jsii.String("remoteId"),
	StreamId: jsii.String("streamId"),

	// the properties below are optional
	Encryption: &StaticKeyEncryption{
		Algorithm: encryptionAlgorithm,
		Secret: secret,

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

## Properties

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

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

  Required by the MediaConnect service for Zixi Pull outputs.

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

- `remoteId`: string (required) — The remote ID for the Zixi-pull stream.

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