Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
SourceZixiPush Struct
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.
Example
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
# 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
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();
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")
})
});
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
decryptionoptionalStaticKeyEncryptiondecryptionoptionalStaticKeyEncryptiondecryptionoptionalStaticKeyEncryptionDecryptionoptionalStaticKeyEncryptionDecryptionoptionalStaticKeyEncryption#Decrypt source with static keys.
Default: no decryption
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*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.
flowSourceNameoptionalstringflow_source_nameoptionalstrflowSourceNameoptionalStringFlowSourceNameoptionalstringFlowSourceNameoptional*string#The name of the source.
Default: a name is generated automatically
maxLatencyoptionalDurationmax_latencyoptionalDurationmaxLatencyoptionalDurationMaxLatencyoptionalDurationMaxLatencyoptionalDuration#The maximum latency in milliseconds for a Zixi-based source.
Default: chosen by MediaConnect
networkNetworkConfigurationnetworkNetworkConfigurationnetworkNetworkConfigurationNetworkNetworkConfigurationNetworkNetworkConfigurationrequired#Defines networking configuration.
streamIdoptionalstringstream_idoptionalstrstreamIdoptionalStringStreamIdoptionalstringStreamIdoptional*string#The stream ID that you want to use for the transport.
Default: no stream ID
This parameter applies only to Zixi-based streams.