CfnInputPropsMixin
- class aws_cdk.mixins_preview.aws_medialive.mixins.CfnInputPropsMixin(props, *, strategy=None)
Bases:
MixinThe 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:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html
- CloudformationResource:
AWS::MediaLive::Input
- Mixin:
true
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_medialive import mixins as medialive_mixins # tags: Any cfn_input_props_mixin = medialive_mixins.CfnInputPropsMixin(medialive_mixins.CfnInputMixinProps( destinations=[medialive_mixins.CfnInputPropsMixin.InputDestinationRequestProperty( network="network", network_routes=[medialive_mixins.CfnInputPropsMixin.InputRequestDestinationRouteProperty( cidr="cidr", gateway="gateway" )], static_ip_address="staticIpAddress", stream_name="streamName" )], input_devices=[medialive_mixins.CfnInputPropsMixin.InputDeviceSettingsProperty( id="id" )], input_network_location="inputNetworkLocation", input_security_groups=["inputSecurityGroups"], media_connect_flows=[medialive_mixins.CfnInputPropsMixin.MediaConnectFlowRequestProperty( flow_arn="flowArn" )], multicast_settings=medialive_mixins.CfnInputPropsMixin.MulticastSettingsCreateRequestProperty( sources=[medialive_mixins.CfnInputPropsMixin.MulticastSourceCreateRequestProperty( source_ip="sourceIp", url="url" )] ), name="name", role_arn="roleArn", router_settings=medialive_mixins.CfnInputPropsMixin.RouterSettingsProperty( destinations=[medialive_mixins.CfnInputPropsMixin.RouterDestinationSettingsProperty( availability_zone_name="availabilityZoneName" )], encryption_type="encryptionType", secret_arn="secretArn" ), sdi_sources=["sdiSources"], smpte2110_receiver_group_settings=medialive_mixins.CfnInputPropsMixin.Smpte2110ReceiverGroupSettingsProperty( smpte2110_receiver_groups=[medialive_mixins.CfnInputPropsMixin.Smpte2110ReceiverGroupProperty( sdp_settings=medialive_mixins.CfnInputPropsMixin.Smpte2110ReceiverGroupSdpSettingsProperty( ancillary_sdps=[medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" )], audio_sdps=[medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" )], video_sdp=medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" ) ) )] ), sources=[medialive_mixins.CfnInputPropsMixin.InputSourceRequestProperty( password_param="passwordParam", url="url", username="username" )], srt_settings=medialive_mixins.CfnInputPropsMixin.SrtSettingsRequestProperty( srt_caller_sources=[medialive_mixins.CfnInputPropsMixin.SrtCallerSourceRequestProperty( decryption=medialive_mixins.CfnInputPropsMixin.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_mixins.CfnInputPropsMixin.InputVpcRequestProperty( security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"] ) ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::MediaLive::Input.- Parameters:
props (
Union[CfnInputMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['destinations', 'inputDevices', 'inputNetworkLocation', 'inputSecurityGroups', 'mediaConnectFlows', 'multicastSettings', 'name', 'roleArn', 'routerSettings', 'sdiSources', 'smpte2110ReceiverGroupSettings', 'sources', 'srtSettings', 'tags', 'type', 'vpc']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
InputDestinationRequestProperty
- class CfnInputPropsMixin.InputDestinationRequestProperty(*, network=None, network_routes=None, static_ip_address=None, stream_name=None)
Bases:
objectSettings that apply only if the input is a push type of input.
The parent of this entity is Input.
- Parameters:
network (
Optional[str])network_routes (
Union[IResolvable,Sequence[Union[IResolvable,InputRequestDestinationRouteProperty,Dict[str,Any]]],None])static_ip_address (
Optional[str])stream_name (
Optional[str]) – The stream name (application name/application instance) for the location the RTMP source content will be pushed to in MediaLive.
- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins input_destination_request_property = medialive_mixins.CfnInputPropsMixin.InputDestinationRequestProperty( network="network", network_routes=[medialive_mixins.CfnInputPropsMixin.InputRequestDestinationRouteProperty( cidr="cidr", gateway="gateway" )], static_ip_address="staticIpAddress", stream_name="streamName" )
Attributes
- network
-
- Type:
see
- network_routes
-
- Type:
see
- static_ip_address
-
- Type:
see
- stream_name
The stream name (application name/application instance) for the location the RTMP source content will be pushed to in MediaLive.
InputDeviceSettingsProperty
- class CfnInputPropsMixin.InputDeviceSettingsProperty(*, id=None)
Bases:
objectSettings that apply only if the input is an Elemental Link input.
The parent of this entity is Input.
- Parameters:
id (
Optional[str]) – The unique ID for the device.- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins input_device_settings_property = medialive_mixins.CfnInputPropsMixin.InputDeviceSettingsProperty( id="id" )
Attributes
InputRequestDestinationRouteProperty
- class CfnInputPropsMixin.InputRequestDestinationRouteProperty(*, cidr=None, gateway=None)
Bases:
object- Parameters:
cidr (
Optional[str])gateway (
Optional[str])
- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins input_request_destination_route_property = medialive_mixins.CfnInputPropsMixin.InputRequestDestinationRouteProperty( cidr="cidr", gateway="gateway" )
Attributes
- cidr
-
- Type:
see
InputSdpLocationProperty
- class CfnInputPropsMixin.InputSdpLocationProperty(*, media_index=None, sdp_url=None)
Bases:
object- Parameters:
media_index (
Union[int,float,None])sdp_url (
Optional[str])
- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins input_sdp_location_property = medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" )
Attributes
- media_index
-
- Type:
see
InputSourceRequestProperty
- class CfnInputPropsMixin.InputSourceRequestProperty(*, password_param=None, url=None, username=None)
Bases:
objectSettings that apply only if the input is a pull type of input.
The parent of this entity is Input.
- Parameters:
password_param (
Optional[str]) – The password parameter that holds the password for accessing the upstream system. The password parameter applies only if the upstream system requires credentials.url (
Optional[str]) – For a pull input, the URL where MediaLive pulls the source content from.username (
Optional[str]) – The user name to connect to the upstream system. The user name applies only if the upstream system requires credentials.
- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins input_source_request_property = medialive_mixins.CfnInputPropsMixin.InputSourceRequestProperty( password_param="passwordParam", url="url", username="username" )
Attributes
- password_param
The password parameter that holds the password for accessing the upstream system.
The password parameter applies only if the upstream system requires credentials.
- url
For a pull input, the URL where MediaLive pulls the source content from.
- username
The user name to connect to the upstream system.
The user name applies only if the upstream system requires credentials.
InputVpcRequestProperty
- class CfnInputPropsMixin.InputVpcRequestProperty(*, security_group_ids=None, subnet_ids=None)
Bases:
objectSettings that apply only if the input is an push input where the source is on Amazon VPC.
The parent of this entity is Input.
- Parameters:
security_group_ids (
Optional[Sequence[str]]) – The list of up to five VPC security group IDs to attach to the input VPC network interfaces. The security groups require subnet IDs. If none are specified, MediaLive uses the VPC default security group.subnet_ids (
Optional[Sequence[str]]) – The list of two VPC subnet IDs from the same VPC. You must associate subnet IDs to two unique Availability Zones.
- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins input_vpc_request_property = medialive_mixins.CfnInputPropsMixin.InputVpcRequestProperty( security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"] )
Attributes
- security_group_ids
The list of up to five VPC security group IDs to attach to the input VPC network interfaces.
The security groups require subnet IDs. If none are specified, MediaLive uses the VPC default security group.
- subnet_ids
The list of two VPC subnet IDs from the same VPC.
You must associate subnet IDs to two unique Availability Zones.
MediaConnectFlowRequestProperty
- class CfnInputPropsMixin.MediaConnectFlowRequestProperty(*, flow_arn=None)
Bases:
objectSettings that apply only if the input is a MediaConnect input.
The parent of this entity is Input.
- Parameters:
flow_arn (
Optional[str]) – The ARN of one or two MediaConnect flows that are the sources for this MediaConnect input.- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins media_connect_flow_request_property = medialive_mixins.CfnInputPropsMixin.MediaConnectFlowRequestProperty( flow_arn="flowArn" )
Attributes
- flow_arn
The ARN of one or two MediaConnect flows that are the sources for this MediaConnect input.
MulticastSettingsCreateRequestProperty
- class CfnInputPropsMixin.MulticastSettingsCreateRequestProperty(*, sources=None)
Bases:
object- Parameters:
sources (
Union[IResolvable,Sequence[Union[IResolvable,MulticastSourceCreateRequestProperty,Dict[str,Any]]],None])- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins multicast_settings_create_request_property = medialive_mixins.CfnInputPropsMixin.MulticastSettingsCreateRequestProperty( sources=[medialive_mixins.CfnInputPropsMixin.MulticastSourceCreateRequestProperty( source_ip="sourceIp", url="url" )] )
Attributes
MulticastSourceCreateRequestProperty
- class CfnInputPropsMixin.MulticastSourceCreateRequestProperty(*, source_ip=None, url=None)
Bases:
object- Parameters:
source_ip (
Optional[str])url (
Optional[str])
- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins multicast_source_create_request_property = medialive_mixins.CfnInputPropsMixin.MulticastSourceCreateRequestProperty( source_ip="sourceIp", url="url" )
Attributes
- source_ip
-
- Type:
see
RouterDestinationSettingsProperty
- class CfnInputPropsMixin.RouterDestinationSettingsProperty(*, availability_zone_name=None)
Bases:
object- Parameters:
availability_zone_name (
Optional[str])- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins router_destination_settings_property = medialive_mixins.CfnInputPropsMixin.RouterDestinationSettingsProperty( availability_zone_name="availabilityZoneName" )
Attributes
RouterSettingsProperty
- class CfnInputPropsMixin.RouterSettingsProperty(*, destinations=None, encryption_type=None, secret_arn=None)
Bases:
object- Parameters:
destinations (
Union[IResolvable,Sequence[Union[IResolvable,RouterDestinationSettingsProperty,Dict[str,Any]]],None])encryption_type (
Optional[str])secret_arn (
Optional[str])
- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins router_settings_property = medialive_mixins.CfnInputPropsMixin.RouterSettingsProperty( destinations=[medialive_mixins.CfnInputPropsMixin.RouterDestinationSettingsProperty( availability_zone_name="availabilityZoneName" )], encryption_type="encryptionType", secret_arn="secretArn" )
Attributes
- destinations
-
- Type:
see
- encryption_type
-
- Type:
see
Smpte2110ReceiverGroupProperty
- class CfnInputPropsMixin.Smpte2110ReceiverGroupProperty(*, sdp_settings=None)
Bases:
object- Parameters:
sdp_settings (
Union[IResolvable,Smpte2110ReceiverGroupSdpSettingsProperty,Dict[str,Any],None])- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins smpte2110_receiver_group_property = medialive_mixins.CfnInputPropsMixin.Smpte2110ReceiverGroupProperty( sdp_settings=medialive_mixins.CfnInputPropsMixin.Smpte2110ReceiverGroupSdpSettingsProperty( ancillary_sdps=[medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" )], audio_sdps=[medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" )], video_sdp=medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" ) ) )
Attributes
Smpte2110ReceiverGroupSdpSettingsProperty
- class CfnInputPropsMixin.Smpte2110ReceiverGroupSdpSettingsProperty(*, ancillary_sdps=None, audio_sdps=None, video_sdp=None)
Bases:
object- Parameters:
ancillary_sdps (
Union[IResolvable,Sequence[Union[IResolvable,InputSdpLocationProperty,Dict[str,Any]]],None])audio_sdps (
Union[IResolvable,Sequence[Union[IResolvable,InputSdpLocationProperty,Dict[str,Any]]],None])video_sdp (
Union[IResolvable,InputSdpLocationProperty,Dict[str,Any],None])
- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins smpte2110_receiver_group_sdp_settings_property = medialive_mixins.CfnInputPropsMixin.Smpte2110ReceiverGroupSdpSettingsProperty( ancillary_sdps=[medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" )], audio_sdps=[medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" )], video_sdp=medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" ) )
Attributes
- ancillary_sdps
-
- Type:
see
- audio_sdps
-
- Type:
see
Smpte2110ReceiverGroupSettingsProperty
- class CfnInputPropsMixin.Smpte2110ReceiverGroupSettingsProperty(*, smpte2110_receiver_groups=None)
Bases:
object- Parameters:
smpte2110_receiver_groups (
Union[IResolvable,Sequence[Union[IResolvable,Smpte2110ReceiverGroupProperty,Dict[str,Any]]],None])- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins smpte2110_receiver_group_settings_property = medialive_mixins.CfnInputPropsMixin.Smpte2110ReceiverGroupSettingsProperty( smpte2110_receiver_groups=[medialive_mixins.CfnInputPropsMixin.Smpte2110ReceiverGroupProperty( sdp_settings=medialive_mixins.CfnInputPropsMixin.Smpte2110ReceiverGroupSdpSettingsProperty( ancillary_sdps=[medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" )], audio_sdps=[medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" )], video_sdp=medialive_mixins.CfnInputPropsMixin.InputSdpLocationProperty( media_index=123, sdp_url="sdpUrl" ) ) )] )
Attributes
SrtCallerDecryptionRequestProperty
- class CfnInputPropsMixin.SrtCallerDecryptionRequestProperty(*, algorithm=None, passphrase_secret_arn=None)
Bases:
object- Parameters:
algorithm (
Optional[str])passphrase_secret_arn (
Optional[str])
- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins srt_caller_decryption_request_property = medialive_mixins.CfnInputPropsMixin.SrtCallerDecryptionRequestProperty( algorithm="algorithm", passphrase_secret_arn="passphraseSecretArn" )
Attributes
- algorithm
-
- Type:
see
SrtCallerSourceRequestProperty
- class CfnInputPropsMixin.SrtCallerSourceRequestProperty(*, decryption=None, minimum_latency=None, srt_listener_address=None, srt_listener_port=None, stream_id=None)
Bases:
object- Parameters:
decryption (
Union[IResolvable,SrtCallerDecryptionRequestProperty,Dict[str,Any],None])minimum_latency (
Union[int,float,None])srt_listener_address (
Optional[str])srt_listener_port (
Optional[str])stream_id (
Optional[str])
- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins srt_caller_source_request_property = medialive_mixins.CfnInputPropsMixin.SrtCallerSourceRequestProperty( decryption=medialive_mixins.CfnInputPropsMixin.SrtCallerDecryptionRequestProperty( algorithm="algorithm", passphrase_secret_arn="passphraseSecretArn" ), minimum_latency=123, srt_listener_address="srtListenerAddress", srt_listener_port="srtListenerPort", stream_id="streamId" )
Attributes
- decryption
-
- Type:
see
- minimum_latency
-
- Type:
see
- srt_listener_address
-
- Type:
see
- srt_listener_port
-
- Type:
see
SrtSettingsRequestProperty
- class CfnInputPropsMixin.SrtSettingsRequestProperty(*, srt_caller_sources=None)
Bases:
object- Parameters:
srt_caller_sources (
Union[IResolvable,Sequence[Union[IResolvable,SrtCallerSourceRequestProperty,Dict[str,Any]]],None])- See:
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins srt_settings_request_property = medialive_mixins.CfnInputPropsMixin.SrtSettingsRequestProperty( srt_caller_sources=[medialive_mixins.CfnInputPropsMixin.SrtCallerSourceRequestProperty( decryption=medialive_mixins.CfnInputPropsMixin.SrtCallerDecryptionRequestProperty( algorithm="algorithm", passphrase_secret_arn="passphraseSecretArn" ), minimum_latency=123, srt_listener_address="srtListenerAddress", srt_listener_port="srtListenerPort", stream_id="streamId" )] )
Attributes