Skip to content
v2.277.0

Experimental

@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ZixiPushOutputConfig Struct ​

Configuration options for Zixi Push outputs.

Example ​

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
# 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
// 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();
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"
};
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 ​

cidrAllowListoptionalstring[]cidr_allow_listoptionaltyping.List[str]cidrAllowListoptionalList<String>CidrAllowListoptionalstring[]CidrAllowListoptional*[]*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.

destinationstringdestinationstrdestinationStringDestinationstringDestination*stringrequired#
The IP address where you want to send the output.
encryptionoptionalStaticKeyEncryptionencryptionoptionalStaticKeyEncryptionencryptionoptionalStaticKeyEncryptionEncryptionoptionalStaticKeyEncryptionEncryptionoptionalStaticKeyEncryption#
Static key encryption for this output.

Default: no encryption

maxLatencyDurationmax_latencyDurationmaxLatencyDurationMaxLatencyDurationMaxLatencyDurationrequired#
The maximum latency for Zixi-based streams.
portnumberportint | floatportNumberPortdoublePort*float64required#
The port to use when content is distributed to this output.
streamIdstringstream_idstrstreamIdStringStreamIdstringStreamId*stringrequired#
The stream ID that you want to use for this transport.
vpcInterfaceAttachmentNameoptionalstringvpc_interface_attachment_nameoptionalstrvpcInterfaceAttachmentNameoptionalStringVpcInterfaceAttachmentNameoptionalstringVpcInterfaceAttachmentNameoptional*string#
The name of the VPC interface attachment to use for this output.

Default: no VPC interface attachment