MediaConnectInputProps

class aws_cdk.aws_medialive_alpha.MediaConnectInputProps(*, flows, role=None)

Bases: object

(experimental) Properties for a MediaConnect input.

Parameters:
  • flows (Sequence[IFlowRef]) – (experimental) The MediaConnect flows to use as sources (one, or two for pipeline redundancy).

  • role (Optional[IRole]) – (experimental) The IAM role MediaLive uses to manage the output it adds to the flow for this input. When omitted, a role is created and granted the required permissions. When you provide a role, no permissions are added — you own all the permissions it needs. Default: - a role is created with the medialive.amazonaws.com service principal [disable-awslint:prefer-ref-interface]

Stability:

experimental

ExampleMetadata:

infused

Example:

# role: iam.IRole
# flow: mediaconnect.IFlowRef


InputConfiguration.media_connect(
    flows=[flow],
    role=role
)

Attributes

flows

(experimental) The MediaConnect flows to use as sources (one, or two for pipeline redundancy).

Stability:

experimental

role

(experimental) The IAM role MediaLive uses to manage the output it adds to the flow for this input.

When omitted, a role is created and granted the required permissions. When you provide a role, no permissions are added — you own all the permissions it needs.

Default:

  • a role is created with the medialive.amazonaws.com service principal

[disable-awslint:prefer-ref-interface]

Stability:

experimental