Class CfnInput
The AWS::MediaLive::Input resource is a MediaLive resource type that creates an input.
Inherited Members
Namespace: Amazon.CDK.AWS.MediaLive
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInput : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnInput
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html
CloudformationResource: AWS::MediaLive::Input
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;
var tags;
var cfnInput = new CfnInput(this, "MyCfnInput", new CfnInputProps {
Destinations = new [] { new InputDestinationRequestProperty {
Network = "network",
NetworkRoutes = new [] { new InputRequestDestinationRouteProperty {
Cidr = "cidr",
Gateway = "gateway"
} },
StaticIpAddress = "staticIpAddress",
StreamName = "streamName"
} },
InputDevices = new [] { new InputDeviceSettingsProperty {
Id = "id"
} },
InputNetworkLocation = "inputNetworkLocation",
InputSecurityGroups = new [] { "inputSecurityGroups" },
MediaConnectFlows = new [] { new MediaConnectFlowRequestProperty {
FlowArn = "flowArn"
} },
MulticastSettings = new MulticastSettingsCreateRequestProperty {
Sources = new [] { new MulticastSourceCreateRequestProperty {
SourceIp = "sourceIp",
Url = "url"
} }
},
Name = "name",
RoleArn = "roleArn",
Sources = new [] { new InputSourceRequestProperty {
PasswordParam = "passwordParam",
Url = "url",
Username = "username"
} },
SrtSettings = new SrtSettingsRequestProperty {
SrtCallerSources = new [] { new SrtCallerSourceRequestProperty {
Decryption = new SrtCallerDecryptionRequestProperty {
Algorithm = "algorithm",
PassphraseSecretArn = "passphraseSecretArn"
},
MinimumLatency = 123,
SrtListenerAddress = "srtListenerAddress",
SrtListenerPort = "srtListenerPort",
StreamId = "streamId"
} }
},
Tags = tags,
Type = "type",
Vpc = new InputVpcRequestProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" }
}
});
Synopsis
Constructors
CfnInput(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnInput(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnInput(Construct, String, ICfnInputProps) |
Properties
AttrArn | The ARN of the MediaLive input. |
AttrDestinations | For a push input, the the destination or destinations for the input. |
AttrId | The unique ID for the device. |
AttrSources | For a pull input, the source or sources for the input. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Destinations | Settings that apply only if the input is a push type of input. |
InputDevices | Settings that apply only if the input is an Elemental Link input. |
InputNetworkLocation | |
InputSecurityGroups | The list of input security groups (referenced by IDs) to attach to the input if the input is a push type. |
MediaConnectFlows | Settings that apply only if the input is a MediaConnect input. |
MulticastSettings | |
Name | A name for the input. |
RoleArn | The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input. |
Sources | Settings that apply only if the input is a pull type of input. |
SrtSettings | |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | A collection of tags for this input. |
Type | The type for this input. |
Vpc | Settings that apply only if the input is an push input where the source is on Amazon VPC. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnInput(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnInput(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnInput(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnInput(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnInput(Construct, String, ICfnInputProps)
public CfnInput(Construct scope, string id, ICfnInputProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnInputProps
Resource properties.
Properties
AttrArn
The ARN of the MediaLive input.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
For example: arn:aws:medialive:us-west-1:111122223333:medialive:input:1234567. MediaLive creates this ARN when it creates the input.
CloudformationAttribute: Arn
AttrDestinations
For a push input, the the destination or destinations for the input.
public virtual string[] AttrDestinations { get; }
Property Value
System.String[]
Remarks
The destinations are the URLs of locations on MediaLive where the upstream system pushes the content to, for this input. MediaLive creates these addresses when it creates the input.
CloudformationAttribute: Destinations
AttrId
The unique ID for the device.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrSources
For a pull input, the source or sources for the input.
public virtual string[] AttrSources { get; }
Property Value
System.String[]
Remarks
The sources are the URLs of locations on the upstream system where MediaLive pulls the content from, for this input. You included these URLs in the create request.
CloudformationAttribute: Sources
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Destinations
Settings that apply only if the input is a push type of input.
public virtual object Destinations { get; set; }
Property Value
System.Object
InputDevices
Settings that apply only if the input is an Elemental Link input.
public virtual object InputDevices { get; set; }
Property Value
System.Object
InputNetworkLocation
public virtual string InputNetworkLocation { get; set; }
Property Value
System.String
InputSecurityGroups
The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.
public virtual string[] InputSecurityGroups { get; set; }
Property Value
System.String[]
MediaConnectFlows
Settings that apply only if the input is a MediaConnect input.
public virtual object MediaConnectFlows { get; set; }
Property Value
System.Object
MulticastSettings
public virtual object MulticastSettings { get; set; }
Property Value
System.Object
Name
A name for the input.
public virtual string Name { get; set; }
Property Value
System.String
RoleArn
The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input.
public virtual string RoleArn { get; set; }
Property Value
System.String
Sources
Settings that apply only if the input is a pull type of input.
public virtual object Sources { get; set; }
Property Value
System.Object
SrtSettings
public virtual object SrtSettings { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
A collection of tags for this input.
public virtual object TagsRaw { get; set; }
Property Value
System.Object
Type
The type for this input.
public virtual string Type { get; set; }
Property Value
System.String
Vpc
Settings that apply only if the input is an push input where the source is on Amazon VPC.
public virtual object Vpc { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>