class CfnInputPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaLive.Mixins.CfnInputPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmedialive/mixins#CfnInputPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.medialive.mixins.CfnInputPropsMixin |
Python | aws_cdk.mixins_preview.aws_medialive.mixins.CfnInputPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_medialive » mixins » CfnInputPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::MediaLive::Input resource is a MediaLive resource type that creates an input.
A MediaLive input holds information that describes how the MediaLive channel is connected to the upstream system that is providing the source content that is to be transcoded.
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 { mixins } from '@aws-cdk/mixins-preview';
import { mixins as medialive_mixins } from '@aws-cdk/mixins-preview/aws-medialive';
declare const tags: any;
const cfnInputPropsMixin = new medialive_mixins.CfnInputPropsMixin({
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',
}],
},
tags: tags,
type: 'type',
vpc: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnInputPropsMixin(props: CfnInputMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Input Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::MediaLive::Input.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript