CfnInputProps

class aws_cdk.aws_medialive.CfnInputProps(*, destinations=None, input_devices=None, input_security_groups=None, media_connect_flows=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_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.

  • 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(
        stream_name="streamName"
    )],
    input_devices=[medialive.CfnInput.InputDeviceSettingsProperty(
        id="id"
    )],
    input_security_groups=["inputSecurityGroups"],
    media_connect_flows=[medialive.CfnInput.MediaConnectFlowRequestProperty(
        flow_arn="flowArn"
    )],
    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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-destinations

input_devices

Settings that apply only if the input is an Elemental Link input.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-inputdevices

input_security_groups

The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-inputsecuritygroups

media_connect_flows

Settings that apply only if the input is a MediaConnect input.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-mediaconnectflows

name

A name for the input.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-name

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-rolearn

sources

Settings that apply only if the input is a pull type of input.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-sources

srt_settings

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-srtsettings

Type:

see

tags

A collection of tags for this input.

Each tag is a key-value pair.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-tags

type

The type for this input.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-type

vpc

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#cfn-medialive-input-vpc