NdiConfigProperty Struct
Specifies the configuration settings for NDI outputs.
Required when the flow includes NDI outputs.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const ndiConfigProperty: mediaconnect.CfnFlow.NdiConfigProperty = {
machineName: 'machineName',
ndiDiscoveryServers: [{
discoveryServerAddress: 'discoveryServerAddress',
vpcInterfaceAdapter: 'vpcInterfaceAdapter',
// the properties below are optional
discoveryServerPort: 123,
}],
ndiState: 'ndiState',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconnect as mediaconnect
ndi_config_property = mediaconnect.CfnFlow.NdiConfigProperty(
machine_name="machineName",
ndi_discovery_servers=[mediaconnect.CfnFlow.NdiDiscoveryServerConfigProperty(
discovery_server_address="discoveryServerAddress",
vpc_interface_adapter="vpcInterfaceAdapter",
# the properties below are optional
discovery_server_port=123
)],
ndi_state="ndiState"
)
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.*;
NdiConfigProperty ndiConfigProperty = NdiConfigProperty.builder()
.machineName("machineName")
.ndiDiscoveryServers(List.of(NdiDiscoveryServerConfigProperty.builder()
.discoveryServerAddress("discoveryServerAddress")
.vpcInterfaceAdapter("vpcInterfaceAdapter")
// the properties below are optional
.discoveryServerPort(123)
.build()))
.ndiState("ndiState")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;
var ndiConfigProperty = new NdiConfigProperty {
MachineName = "machineName",
NdiDiscoveryServers = new [] { new NdiDiscoveryServerConfigProperty {
DiscoveryServerAddress = "discoveryServerAddress",
VpcInterfaceAdapter = "vpcInterfaceAdapter",
// the properties below are optional
DiscoveryServerPort = 123
} },
NdiState = "ndiState"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
ndiConfigProperty := &NdiConfigProperty{
MachineName: jsii.String("machineName"),
NdiDiscoveryServers: []interface{}{
&NdiDiscoveryServerConfigProperty{
DiscoveryServerAddress: jsii.String("discoveryServerAddress"),
VpcInterfaceAdapter: jsii.String("vpcInterfaceAdapter"),
// the properties below are optional
DiscoveryServerPort: jsii.Number(123),
},
},
NdiState: jsii.String("ndiState"),
}
Properties
machineNameoptionalstringmachine_nameoptionalstrmachineNameoptionalStringMachineNameoptionalstringMachineNameoptional*string #A prefix for the names of the NDI sources that the flow creates.
If a custom name isn't specified, MediaConnect generates a unique 12-character ID as the prefix.
ndiDiscoveryServersoptionalIResolvable | IResolvable | CfnFlow.ndi_discovery_serversoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NdiDiscoveryServerConfigProperty]]]ndiDiscoveryServersoptionalIResolvableNdiDiscoveryServersoptionalIResolvableNdiDiscoveryServersoptionalinterface{} #A list of up to three NDI discovery server configurations.
While not required by the API, this configuration is necessary for NDI functionality to work properly.
ndiStateoptionalstringndi_stateoptionalstrndiStateoptionalStringNdiStateoptionalstringNdiStateoptional*string #A setting that controls whether NDI outputs can be used in the flow.
Must be ENABLED to add NDI outputs. Default is DISABLED.