enum State
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.State |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#State |
Java | software.amazon.awscdk.services.mediaconnect.alpha.State |
Python | aws_cdk.aws_mediaconnect_alpha.State |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป State |
State configuration used across AWS Elemental MediaConnect.
Example
declare const stack: Stack;
declare const ndiVpcInterface: VpcInterfaceConfig;
declare const efaInterface: VpcInterfaceConfig;
declare const videoStream: MediaStream;
// NDI requires LARGE, an encoding profile, and at least one discovery server
new Flow(stack, 'NdiFlow', {
flowSize: FlowSize.LARGE,
ndiConfig: {
ndiState: State.ENABLED,
ndiDiscoveryServers: [{
discoveryServerAddress: '10.0.0.10',
vpcInterface: ndiVpcInterface,
}],
},
encodingConfig: {
encodingProfile: EncodingProfile.CONTRIBUTION_H264_DEFAULT,
},
source: SourceConfiguration.ndi({
flowSourceName: 'ndi-source',
}),
});
// CDI and JPEG XS require LARGE_4X
new Flow(stack, 'CdiFlow', {
flowSize: FlowSize.LARGE_4X,
vpcInterfaces: [efaInterface],
mediaStreams: [videoStream],
source: SourceConfiguration.cdi({
flowSourceName: 'cdi-source',
vpcInterface: efaInterface,
port: 5000,
maxSyncBuffer: 100,
mediaStreamSourceConfigurations: [{
encoding: Encoding.RAW,
mediaStream: videoStream,
}],
}),
});
Members
| Name | Description |
|---|---|
| ENABLED | Option for Enabled. |
| DISABLED | Option for Disabled. |
ENABLED
Option for Enabled.
DISABLED
Option for Disabled.

.NET
Go
Java
Python
TypeScript (