# CfnInputProps

Properties for defining a `CfnInput`.

Extends: CfnInputProps
Used as props by: CfnInput

- Source: Generated code
- Type last changed: v2.230.0 · 26 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';

declare const tags: any;
const cfnInputProps: medialive.CfnInputProps = {
  destinations: [{
    network: 'network',
    networkRoutes: [{
      cidr: 'cidr',
      gateway: 'gateway',
    }],
    staticIpAddress: 'staticIpAddress',
    streamName: 'streamName',
  }],
  inputDevices: [{
    id: 'id',
  }],
  inputNetworkLocation: 'inputNetworkLocation',
  inputSecurityGroups: ['inputSecurityGroups'],
  mediaConnectFlows: [{
    flowArn: 'flowArn',
  }],
  multicastSettings: {
    sources: [{
      sourceIp: 'sourceIp',
      url: 'url',
    }],
  },
  name: 'name',
  roleArn: 'roleArn',
  routerSettings: {
    destinations: [{
      availabilityZoneName: 'availabilityZoneName',
    }],
    encryptionType: 'encryptionType',
    secretArn: 'secretArn',
  },
  sdiSources: ['sdiSources'],
  smpte2110ReceiverGroupSettings: {
    smpte2110ReceiverGroups: [{
      sdpSettings: {
        ancillarySdps: [{
          mediaIndex: 123,
          sdpUrl: 'sdpUrl',
        }],
        audioSdps: [{
          mediaIndex: 123,
          sdpUrl: 'sdpUrl',
        }],
        videoSdp: {
          mediaIndex: 123,
          sdpUrl: 'sdpUrl',
        },
      },
    }],
  },
  sources: [{
    passwordParam: 'passwordParam',
    url: 'url',
    username: 'username',
  }],
  srtSettings: {
    srtCallerSources: [{
      decryption: {
        algorithm: 'algorithm',
        passphraseSecretArn: 'passphraseSecretArn',
      },
      minimumLatency: 123,
      srtListenerAddress: 'srtListenerAddress',
      srtListenerPort: 'srtListenerPort',
      streamId: 'streamId',
    }],
    srtListenerSettings: {
      decryption: {
        algorithm: 'algorithm',
        passphraseSecretArn: 'passphraseSecretArn',
      },
      minimumLatency: 123,
      streamId: 'streamId',
    },
  },
  tags: tags,
  type: 'type',
  vpc: {
    securityGroupIds: ['securityGroupIds'],
    subnetIds: ['subnetIds'],
  },
};
```

## Properties

- `destinations`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.InputDestinationRequestProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.InputDestinationRequestProperty.html)[] — Settings that apply only if the input is a push type of input.

- `inputDevices`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.InputDeviceSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.InputDeviceSettingsProperty.html)[] — Settings that apply only if the input is an Elemental Link input.

- `inputNetworkLocation`: string

- `inputSecurityGroups`: string[] — The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.

- `mediaConnectFlows`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.MediaConnectFlowRequestProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.MediaConnectFlowRequestProperty.html)[] — Settings that apply only if the input is a MediaConnect input.

- `multicastSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.MulticastSettingsCreateRequestProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.MulticastSettingsCreateRequestProperty.html)

- `name`: string — A name for the input.

- `roleArn`: string — The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input.

  This doesn't apply to other types of inputs. The role is identified by its ARN.

- `routerSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.RouterSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.RouterSettingsProperty.html)

- `sdiSources`: string[]

- `smpte2110ReceiverGroupSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.Smpte2110ReceiverGroupSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.Smpte2110ReceiverGroupSettingsProperty.html)

- `sources`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.InputSourceRequestProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.InputSourceRequestProperty.html)[] — Settings that apply only if the input is a pull type of input.

- `srtSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.SrtSettingsRequestProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.SrtSettingsRequestProperty.html)

- `tags`: any — A collection of tags for this input.

  Each tag is a key-value pair.

- `type`: string — The type for this input.

- `vpc`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.InputVpcRequestProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.InputVpcRequestProperty.html) — Settings that apply only if the input is an push input where the source is on Amazon VPC.
