interface CfnInputProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MediaLive.CfnInputProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmedialive#CfnInputProps |
Java | software.amazon.awscdk.services.medialive.CfnInputProps |
Python | aws_cdk.aws_medialive.CfnInputProps |
TypeScript | aws-cdk-lib » aws_medialive » CfnInputProps |
Properties for defining a CfnInput
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html
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',
}],
srtSettings: {
srtCallerSources: [{
decryption: {
algorithm: 'algorithm',
passphraseSecretArn: 'passphraseSecretArn',
},
minimumLatency: 123,
srtListenerAddress: 'srtListenerAddress',
srtListenerPort: 'srtListenerPort',
streamId: 'streamId',
}],
},
tags: tags,
type: 'type',
vpc: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
};
Properties
Name | Type | Description |
---|---|---|
destinations? | IResolvable | IResolvable | Input [] | Settings that apply only if the input is a push type of input. |
input | IResolvable | IResolvable | Input [] | Settings that apply only if the input is an Elemental Link input. |
input | string[] | The list of input security groups (referenced by IDs) to attach to the input if the input is a push type. |
media | IResolvable | IResolvable | Media [] | Settings that apply only if the input is a MediaConnect input. |
name? | string | A name for the input. |
role | string | The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input. |
sources? | IResolvable | IResolvable | Input [] | Settings that apply only if the input is a pull type of input. |
srt | IResolvable | Srt | |
tags? | any | A collection of tags for this input. |
type? | string | The type for this input. |
vpc? | IResolvable | Input | Settings that apply only if the input is an push input where the source is on Amazon VPC. |
destinations?
Type:
IResolvable
|
IResolvable
|
Input
[]
(optional)
Settings that apply only if the input is a push type of input.
inputDevices?
Type:
IResolvable
|
IResolvable
|
Input
[]
(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
|
Media
[]
(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
|
Input
[]
(optional)
Settings that apply only if the input is a pull type of input.
srtSettings?
Type:
IResolvable
|
Srt
(optional)
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
|
Input
(optional)
Settings that apply only if the input is an push input where the source is on Amazon VPC.