Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ZixiPullOutputConfig Struct
Configuration options for Zixi Pull 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 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
# 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
// 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();
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"
};
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
cidrAllowListstring[]cidr_allow_listtyping.List[str]cidrAllowListList<String>CidrAllowListstring[]CidrAllowList*[]*stringrequired#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.
encryptionoptionalStaticKeyEncryptionencryptionoptionalStaticKeyEncryptionencryptionoptionalStaticKeyEncryptionEncryptionoptionalStaticKeyEncryptionEncryptionoptionalStaticKeyEncryption#Static key encryption for this output.
Default: no encryption
maxLatencyDurationmax_latencyDurationmaxLatencyDurationMaxLatencyDurationMaxLatencyDurationrequired#The maximum latency for Zixi-based streams.
The remote ID for the Zixi-pull stream.
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