aws-cdk-lib.aws_medialive.CfnInputProps

interface CfnInputProps

LanguageType name
.NETAmazon.CDK.AWS.MediaLive.CfnInputProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmedialive#CfnInputProps
Javasoftware.amazon.awscdk.services.medialive.CfnInputProps
Pythonaws_cdk.aws_medialive.CfnInputProps
TypeScript aws-cdk-lib » aws_medialive » CfnInputProps

Properties for defining a CfnInput.

Example

// 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: [{
    streamName: 'streamName',
  }],
  inputDevices: [{
    id: 'id',
  }],
  inputSecurityGroups: ['inputSecurityGroups'],
  mediaConnectFlows: [{
    flowArn: 'flowArn',
  }],
  name: 'name',
  roleArn: 'roleArn',
  sources: [{
    passwordParam: 'passwordParam',
    url: 'url',
    username: 'username',
  }],
  tags: tags,
  type: 'type',
  vpc: {
    securityGroupIds: ['securityGroupIds'],
    subnetIds: ['subnetIds'],
  },
};

Properties

NameTypeDescription
destinations?IResolvable | IResolvable | InputDestinationRequestProperty[]Settings that apply only if the input is a push type of input.
inputDevices?IResolvable | IResolvable | InputDeviceSettingsProperty[]Settings that apply only if the input is an Elemental Link input.
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 | IResolvable | MediaConnectFlowRequestProperty[]Settings that apply only if the input is a MediaConnect input.
name?stringA name for the input.
roleArn?stringThe IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input.
sources?IResolvable | IResolvable | InputSourceRequestProperty[]Settings that apply only if the input is a pull type of input.
tags?anyA collection of tags for this input.
type?stringThe type for this input.
vpc?IResolvable | InputVpcRequestPropertySettings that apply only if the input is an push input where the source is on Amazon VPC.

destinations?

Type: IResolvable | IResolvable | InputDestinationRequestProperty[] (optional)

Settings that apply only if the input is a push type of input.


inputDevices?

Type: IResolvable | IResolvable | InputDeviceSettingsProperty[] (optional)

Settings that apply only if the input is an Elemental Link input.


inputSecurityGroups?

Type: string[] (optional)

The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.


mediaConnectFlows?

Type: IResolvable | IResolvable | MediaConnectFlowRequestProperty[] (optional)

Settings that apply only if the input is a MediaConnect input.


name?

Type: string (optional)

A name for the input.


roleArn?

Type: string (optional)

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.


sources?

Type: IResolvable | IResolvable | InputSourceRequestProperty[] (optional)

Settings that apply only if the input is a pull type of input.


tags?

Type: any (optional)

A collection of tags for this input.

Each tag is a key-value pair.


type?

Type: string (optional)

The type for this input.


vpc?

Type: IResolvable | InputVpcRequestProperty (optional)

Settings that apply only if the input is an push input where the source is on Amazon VPC.