

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::MediaConnect::Flow NdiConfig
<a name="aws-properties-mediaconnect-flow-ndiconfig"></a>

Specifies the configuration settings for NDI sources and outputs. 

## Syntax
<a name="aws-properties-mediaconnect-flow-ndiconfig-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-mediaconnect-flow-ndiconfig-syntax.json"></a>

```
{
  "[MachineName](#cfn-mediaconnect-flow-ndiconfig-machinename)" : {{String}},
  "[NdiDiscoveryServers](#cfn-mediaconnect-flow-ndiconfig-ndidiscoveryservers)" : {{[ NdiDiscoveryServerConfig, ... ]}},
  "[NdiState](#cfn-mediaconnect-flow-ndiconfig-ndistate)" : {{String}}
}
```

### YAML
<a name="aws-properties-mediaconnect-flow-ndiconfig-syntax.yaml"></a>

```
  [MachineName](#cfn-mediaconnect-flow-ndiconfig-machinename): {{String}}
  [NdiDiscoveryServers](#cfn-mediaconnect-flow-ndiconfig-ndidiscoveryservers): {{
    - NdiDiscoveryServerConfig}}
  [NdiState](#cfn-mediaconnect-flow-ndiconfig-ndistate): {{String}}
```

## Properties
<a name="aws-properties-mediaconnect-flow-ndiconfig-properties"></a>

`MachineName`  <a name="cfn-mediaconnect-flow-ndiconfig-machinename"></a>
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.   
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NdiDiscoveryServers`  <a name="cfn-mediaconnect-flow-ndiconfig-ndidiscoveryservers"></a>
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.   
*Required*: No  
*Type*: Array of [NdiDiscoveryServerConfig](aws-properties-mediaconnect-flow-ndidiscoveryserverconfig.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NdiState`  <a name="cfn-mediaconnect-flow-ndiconfig-ndistate"></a>
A setting that controls whether NDI® sources or outputs can be used in the flow.   
 The default value is `DISABLED`. This value must be set as `ENABLED` for your flow to support NDI sources or outputs.   
*Required*: No  
*Type*: String  
*Allowed values*: `ENABLED | DISABLED`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)