CfnInputProps
- class aws_cdk.aws_medialive.CfnInputProps(*, destinations=None, input_devices=None, input_network_location=None, input_security_groups=None, media_connect_flows=None, multicast_settings=None, name=None, role_arn=None, sources=None, srt_settings=None, tags=None, type=None, vpc=None)
Bases:
object
Properties for defining a
CfnInput
.- Parameters:
destinations (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,InputDestinationRequestProperty
,Dict
[str
,Any
]]],None
]) – Settings that apply only if the input is a push type of input.input_devices (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,InputDeviceSettingsProperty
,Dict
[str
,Any
]]],None
]) – Settings that apply only if the input is an Elemental Link input.input_network_location (
Optional
[str
]) –input_security_groups (
Optional
[Sequence
[str
]]) – The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.media_connect_flows (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,MediaConnectFlowRequestProperty
,Dict
[str
,Any
]]],None
]) – Settings that apply only if the input is a MediaConnect input.multicast_settings (
Union
[IResolvable
,MulticastSettingsCreateRequestProperty
,Dict
[str
,Any
],None
]) –name (
Optional
[str
]) – A name for the input.role_arn (
Optional
[str
]) – 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 (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,InputSourceRequestProperty
,Dict
[str
,Any
]]],None
]) – Settings that apply only if the input is a pull type of input.srt_settings (
Union
[IResolvable
,SrtSettingsRequestProperty
,Dict
[str
,Any
],None
]) –tags (
Any
) – A collection of tags for this input. Each tag is a key-value pair.type (
Optional
[str
]) – The type for this input.vpc (
Union
[IResolvable
,InputVpcRequestProperty
,Dict
[str
,Any
],None
]) – Settings that apply only if the input is an push input where the source is on Amazon VPC.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_medialive as medialive # tags: Any cfn_input_props = medialive.CfnInputProps( destinations=[medialive.CfnInput.InputDestinationRequestProperty( network="network", network_routes=[medialive.CfnInput.InputRequestDestinationRouteProperty( cidr="cidr", gateway="gateway" )], static_ip_address="staticIpAddress", stream_name="streamName" )], input_devices=[medialive.CfnInput.InputDeviceSettingsProperty( id="id" )], input_network_location="inputNetworkLocation", input_security_groups=["inputSecurityGroups"], media_connect_flows=[medialive.CfnInput.MediaConnectFlowRequestProperty( flow_arn="flowArn" )], multicast_settings=medialive.CfnInput.MulticastSettingsCreateRequestProperty( sources=[medialive.CfnInput.MulticastSourceCreateRequestProperty( source_ip="sourceIp", url="url" )] ), name="name", role_arn="roleArn", sources=[medialive.CfnInput.InputSourceRequestProperty( password_param="passwordParam", url="url", username="username" )], srt_settings=medialive.CfnInput.SrtSettingsRequestProperty( srt_caller_sources=[medialive.CfnInput.SrtCallerSourceRequestProperty( decryption=medialive.CfnInput.SrtCallerDecryptionRequestProperty( algorithm="algorithm", passphrase_secret_arn="passphraseSecretArn" ), minimum_latency=123, srt_listener_address="srtListenerAddress", srt_listener_port="srtListenerPort", stream_id="streamId" )] ), tags=tags, type="type", vpc=medialive.CfnInput.InputVpcRequestProperty( security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"] ) )
Attributes
- destinations
Settings that apply only if the input is a push type of input.
- input_devices
Settings that apply only if the input is an Elemental Link input.
- input_network_location
-
- Type:
see
- input_security_groups
The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.
- media_connect_flows
Settings that apply only if the input is a MediaConnect input.
- multicast_settings
-
- Type:
see
- name
A name for the input.
- role_arn
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
Settings that apply only if the input is a pull type of input.
- srt_settings
-
- Type:
see
- tags
A collection of tags for this input.
Each tag is a key-value pair.
- 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.