CfnInputProps Struct
Properties for defining a CfnInput.
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
destinationsIResolvable | IResolvable | CfnInput.InputDestinationRequestProperty[]destinationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, InputDestinationRequestProperty]]]destinationsIResolvableDestinationsIResolvableDestinationsinterface{}#Settings that apply only if the input is a push type of input.
inputDevicesIResolvable | IResolvable | CfnInput.InputDeviceSettingsProperty[]input_devicestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, InputDeviceSettingsProperty]]]inputDevicesIResolvableInputDevicesIResolvableInputDevicesinterface{}#Settings that apply only if the input is an Elemental Link input.
inputNetworkLocationstringinput_network_locationstrinputNetworkLocationStringInputNetworkLocationstringInputNetworkLocation*string#inputSecurityGroupsstring[]input_security_groupstyping.List[str]inputSecurityGroupsList<String>InputSecurityGroupsstring[]InputSecurityGroups*[]*string#The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.
mediaConnectFlowsIResolvable | IResolvable | CfnInput.MediaConnectFlowRequestProperty[]media_connect_flowstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MediaConnectFlowRequestProperty]]]mediaConnectFlowsIResolvableMediaConnectFlowsIResolvableMediaConnectFlowsinterface{}#Settings that apply only if the input is a MediaConnect input.
multicastSettingsIResolvable | CfnInput.MulticastSettingsCreateRequestPropertymulticast_settingstyping.Union[IResolvable, MulticastSettingsCreateRequestProperty]multicastSettingsIResolvableMulticastSettingsIResolvableMulticastSettingsinterface{}#A name for the input.
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.
routerSettingsIResolvable | CfnInput.RouterSettingsPropertyrouter_settingstyping.Union[IResolvable, RouterSettingsProperty]routerSettingsIResolvableRouterSettingsIResolvableRouterSettingsinterface{}#sdiSourcesstring[]sdi_sourcestyping.List[str]sdiSourcesList<String>SdiSourcesstring[]SdiSources*[]*string#smpte2110ReceiverGroupSettingsIResolvable | CfnInput.Smpte2110ReceiverGroupSettingsPropertysmpte2110_receiver_group_settingstyping.Union[IResolvable, Smpte2110ReceiverGroupSettingsProperty]smpte2110ReceiverGroupSettingsIResolvableSmpte2110ReceiverGroupSettingsIResolvableSmpte2110ReceiverGroupSettingsinterface{}#sourcesIResolvable | IResolvable | CfnInput.InputSourceRequestProperty[]sourcestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, InputSourceRequestProperty]]]sourcesIResolvableSourcesIResolvableSourcesinterface{}#Settings that apply only if the input is a pull type of input.
srtSettingsIResolvable | CfnInput.SrtSettingsRequestPropertysrt_settingstyping.Union[IResolvable, SrtSettingsRequestProperty]srtSettingsIResolvableSrtSettingsIResolvableSrtSettingsinterface{}#A collection of tags for this input.
Each tag is a key-value pair.
The type for this input.
vpcIResolvable | CfnInput.InputVpcRequestPropertyvpctyping.Union[IResolvable, InputVpcRequestProperty]vpcIResolvableVpcIResolvableVpcinterface{}#Settings that apply only if the input is an push input where the source is on Amazon VPC.