1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. medialive
  6. Input
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.55.0
published on Friday, Nov 13, 2026 by Pulumi

    Resource for managing an AWS MediaLive Input.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.medialive.InputSecurityGroup("example", {
        whitelistRules: [{
            cidr: "10.0.0.8/32",
        }],
        tags: {
            ENVIRONMENT: "prod",
        },
    });
    const exampleInput = new aws.medialive.Input("example", {
        name: "example-input",
        inputSecurityGroups: [example.id],
        type: "UDP_PUSH",
        tags: {
            ENVIRONMENT: "prod",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.medialive.InputSecurityGroup("example",
        whitelist_rules=[{
            "cidr": "10.0.0.8/32",
        }],
        tags={
            "ENVIRONMENT": "prod",
        })
    example_input = aws.medialive.Input("example",
        name="example-input",
        input_security_groups=[example.id],
        type="UDP_PUSH",
        tags={
            "ENVIRONMENT": "prod",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/medialive"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := medialive.NewInputSecurityGroup(ctx, "example", &medialive.InputSecurityGroupArgs{
    			WhitelistRules: medialive.InputSecurityGroupWhitelistRuleArray{
    				&medialive.InputSecurityGroupWhitelistRuleArgs{
    					Cidr: pulumi.String("10.0.0.8/32"),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"ENVIRONMENT": pulumi.String("prod"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = medialive.NewInput(ctx, "example", &medialive.InputArgs{
    			Name: pulumi.String("example-input"),
    			InputSecurityGroups: pulumi.StringArray{
    				example.ID(),
    			},
    			Type: pulumi.String("UDP_PUSH"),
    			Tags: pulumi.StringMap{
    				"ENVIRONMENT": pulumi.String("prod"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.MediaLive.InputSecurityGroup("example", new()
        {
            WhitelistRules = new[]
            {
                new Aws.MediaLive.Inputs.InputSecurityGroupWhitelistRuleArgs
                {
                    Cidr = "10.0.0.8/32",
                },
            },
            Tags = 
            {
                { "ENVIRONMENT", "prod" },
            },
        });
    
        var exampleInput = new Aws.MediaLive.Input("example", new()
        {
            Name = "example-input",
            InputSecurityGroups = new[]
            {
                example.Id,
            },
            Type = "UDP_PUSH",
            Tags = 
            {
                { "ENVIRONMENT", "prod" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.medialive.InputSecurityGroup;
    import com.pulumi.aws.medialive.InputSecurityGroupArgs;
    import com.pulumi.aws.medialive.inputs.InputSecurityGroupWhitelistRuleArgs;
    import com.pulumi.aws.medialive.Input;
    import com.pulumi.aws.medialive.InputArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new InputSecurityGroup("example", InputSecurityGroupArgs.builder()
                .whitelistRules(InputSecurityGroupWhitelistRuleArgs.builder()
                    .cidr("10.0.0.8/32")
                    .build())
                .tags(Map.of("ENVIRONMENT", "prod"))
                .build());
    
            var exampleInput = new Input("exampleInput", InputArgs.builder()
                .name("example-input")
                .inputSecurityGroups(example.id())
                .type("UDP_PUSH")
                .tags(Map.of("ENVIRONMENT", "prod"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:medialive:InputSecurityGroup
        properties:
          whitelistRules:
            - cidr: 10.0.0.8/32
          tags:
            ENVIRONMENT: prod
      exampleInput:
        type: aws:medialive:Input
        name: example
        properties:
          name: example-input
          inputSecurityGroups:
            - ${example.id}
          type: UDP_PUSH
          tags:
            ENVIRONMENT: prod
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_medialive_input_security_group" "example" {
      lifecycle {
        create_before_destroy = true
      }
      whitelist_rules {
        cidr = "10.0.0.8/32"
      }
      tags = {
        "ENVIRONMENT" = "prod"
      }
    }
    resource "aws_medialive_input" "example" {
      lifecycle {
        create_before_destroy = true
      }
      name                  = "example-input"
      input_security_groups = [aws_medialive_input_security_group.example.id]
      type                  = "UDP_PUSH"
      tags = {
        "ENVIRONMENT" = "prod"
      }
    }
    

    Create Input Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Input(name: string, args: InputArgs, opts?: CustomResourceOptions);
    @overload
    def Input(resource_name: str,
              args: InputArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Input(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              type: Optional[str] = None,
              destinations: Optional[Sequence[InputDestinationArgs]] = None,
              input_devices: Optional[Sequence[InputInputDeviceArgs]] = None,
              input_security_groups: Optional[Sequence[str]] = None,
              media_connect_flows: Optional[Sequence[InputMediaConnectFlowArgs]] = None,
              name: Optional[str] = None,
              region: Optional[str] = None,
              role_arn: Optional[str] = None,
              sources: Optional[Sequence[InputSourceArgs]] = None,
              tags: Optional[Mapping[str, str]] = None,
              vpc: Optional[InputVpcArgs] = None)
    func NewInput(ctx *Context, name string, args InputArgs, opts ...ResourceOption) (*Input, error)
    public Input(string name, InputArgs args, CustomResourceOptions? opts = null)
    public Input(String name, InputArgs args)
    public Input(String name, InputArgs args, CustomResourceOptions options)
    
    type: aws:medialive:Input
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_medialive_input" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args InputArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InputArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InputArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InputArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InputArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var inputResource = new Aws.MediaLive.Input("inputResource", new()
    {
        Type = "string",
        Destinations = new[]
        {
            new Aws.MediaLive.Inputs.InputDestinationArgs
            {
                StreamName = "string",
            },
        },
        InputDevices = new[]
        {
            new Aws.MediaLive.Inputs.InputInputDeviceArgs
            {
                Id = "string",
            },
        },
        InputSecurityGroups = new[]
        {
            "string",
        },
        MediaConnectFlows = new[]
        {
            new Aws.MediaLive.Inputs.InputMediaConnectFlowArgs
            {
                FlowArn = "string",
            },
        },
        Name = "string",
        Region = "string",
        RoleArn = "string",
        Sources = new[]
        {
            new Aws.MediaLive.Inputs.InputSourceArgs
            {
                PasswordParam = "string",
                Url = "string",
                Username = "string",
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
        Vpc = new Aws.MediaLive.Inputs.InputVpcArgs
        {
            SubnetIds = new[]
            {
                "string",
            },
            SecurityGroupIds = new[]
            {
                "string",
            },
        },
    });
    
    example, err := medialive.NewInput(ctx, "inputResource", &medialive.InputArgs{
    	Type: pulumi.String("string"),
    	Destinations: medialive.InputDestinationArray{
    		&medialive.InputDestinationArgs{
    			StreamName: pulumi.String("string"),
    		},
    	},
    	InputDevices: medialive.InputInputDeviceArray{
    		&medialive.InputInputDeviceArgs{
    			Id: pulumi.String("string"),
    		},
    	},
    	InputSecurityGroups: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	MediaConnectFlows: medialive.InputMediaConnectFlowArray{
    		&medialive.InputMediaConnectFlowArgs{
    			FlowArn: pulumi.String("string"),
    		},
    	},
    	Name:    pulumi.String("string"),
    	Region:  pulumi.String("string"),
    	RoleArn: pulumi.String("string"),
    	Sources: medialive.InputSourceArray{
    		&medialive.InputSourceArgs{
    			PasswordParam: pulumi.String("string"),
    			Url:           pulumi.String("string"),
    			Username:      pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Vpc: &medialive.InputVpcArgs{
    		SubnetIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SecurityGroupIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    })
    
    resource "aws_medialive_input" "inputResource" {
      lifecycle {
        create_before_destroy = true
      }
      type = "string"
      destinations {
        stream_name = "string"
      }
      input_devices {
        id = "string"
      }
      input_security_groups = ["string"]
      media_connect_flows {
        flow_arn = "string"
      }
      name     = "string"
      region   = "string"
      role_arn = "string"
      sources {
        password_param = "string"
        url            = "string"
        username       = "string"
      }
      tags = {
        "string" = "string"
      }
      vpc = {
        subnet_ids         = ["string"]
        security_group_ids = ["string"]
      }
    }
    
    var inputResource = new Input("inputResource", InputArgs.builder()
        .type("string")
        .destinations(InputDestinationArgs.builder()
            .streamName("string")
            .build())
        .inputDevices(InputInputDeviceArgs.builder()
            .id("string")
            .build())
        .inputSecurityGroups("string")
        .mediaConnectFlows(InputMediaConnectFlowArgs.builder()
            .flowArn("string")
            .build())
        .name("string")
        .region("string")
        .roleArn("string")
        .sources(InputSourceArgs.builder()
            .passwordParam("string")
            .url("string")
            .username("string")
            .build())
        .tags(Map.of("string", "string"))
        .vpc(InputVpcArgs.builder()
            .subnetIds("string")
            .securityGroupIds("string")
            .build())
        .build());
    
    input_resource = aws.medialive.Input("inputResource",
        type="string",
        destinations=[{
            "stream_name": "string",
        }],
        input_devices=[{
            "id": "string",
        }],
        input_security_groups=["string"],
        media_connect_flows=[{
            "flow_arn": "string",
        }],
        name="string",
        region="string",
        role_arn="string",
        sources=[{
            "password_param": "string",
            "url": "string",
            "username": "string",
        }],
        tags={
            "string": "string",
        },
        vpc={
            "subnet_ids": ["string"],
            "security_group_ids": ["string"],
        })
    
    const inputResource = new aws.medialive.Input("inputResource", {
        type: "string",
        destinations: [{
            streamName: "string",
        }],
        inputDevices: [{
            id: "string",
        }],
        inputSecurityGroups: ["string"],
        mediaConnectFlows: [{
            flowArn: "string",
        }],
        name: "string",
        region: "string",
        roleArn: "string",
        sources: [{
            passwordParam: "string",
            url: "string",
            username: "string",
        }],
        tags: {
            string: "string",
        },
        vpc: {
            subnetIds: ["string"],
            securityGroupIds: ["string"],
        },
    });
    
    type: aws:medialive:Input
    properties:
        destinations:
            - streamName: string
        inputDevices:
            - id: string
        inputSecurityGroups:
            - string
        mediaConnectFlows:
            - flowArn: string
        name: string
        region: string
        roleArn: string
        sources:
            - passwordParam: string
              url: string
              username: string
        tags:
            string: string
        type: string
        vpc:
            securityGroupIds:
                - string
            subnetIds:
                - string
    

    Input Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Input resource accepts the following input properties:

    Type string

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    Destinations List<InputDestination>
    Destination settings for PUSH type inputs. See destinations Block for more details.
    InputDevices List<InputInputDevice>
    Settings for the devices. See inputDevices Block for more details.
    InputSecurityGroups List<string>
    List of input security groups.
    MediaConnectFlows List<InputMediaConnectFlow>
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    Name string
    Name of the input.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RoleArn string
    ARN of the role this input assumes during and after creation.
    Sources List<InputSource>
    Source URLs for a PULL-type input. See sources Block for more details.
    Tags Dictionary<string, string>
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Vpc InputVpc
    Settings for a private VPC Input. See vpc Block for more details.
    Type string

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    Destinations []InputDestinationArgs
    Destination settings for PUSH type inputs. See destinations Block for more details.
    InputDevices []InputInputDeviceArgs
    Settings for the devices. See inputDevices Block for more details.
    InputSecurityGroups []string
    List of input security groups.
    MediaConnectFlows []InputMediaConnectFlowArgs
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    Name string
    Name of the input.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RoleArn string
    ARN of the role this input assumes during and after creation.
    Sources []InputSourceArgs
    Source URLs for a PULL-type input. See sources Block for more details.
    Tags map[string]string
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Vpc InputVpcArgs
    Settings for a private VPC Input. See vpc Block for more details.
    type string

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    destinations list(object)
    Destination settings for PUSH type inputs. See destinations Block for more details.
    input_devices list(object)
    Settings for the devices. See inputDevices Block for more details.
    input_security_groups list(string)
    List of input security groups.
    media_connect_flows list(object)
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    name string
    Name of the input.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    role_arn string
    ARN of the role this input assumes during and after creation.
    sources list(object)
    Source URLs for a PULL-type input. See sources Block for more details.
    tags map(string)
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    vpc object
    Settings for a private VPC Input. See vpc Block for more details.
    type String

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    destinations List<InputDestination>
    Destination settings for PUSH type inputs. See destinations Block for more details.
    inputDevices List<InputInputDevice>
    Settings for the devices. See inputDevices Block for more details.
    inputSecurityGroups List<String>
    List of input security groups.
    mediaConnectFlows List<InputMediaConnectFlow>
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    name String
    Name of the input.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    roleArn String
    ARN of the role this input assumes during and after creation.
    sources List<InputSource>
    Source URLs for a PULL-type input. See sources Block for more details.
    tags Map<String,String>
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    vpc InputVpc
    Settings for a private VPC Input. See vpc Block for more details.
    type string

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    destinations InputDestination[]
    Destination settings for PUSH type inputs. See destinations Block for more details.
    inputDevices InputInputDevice[]
    Settings for the devices. See inputDevices Block for more details.
    inputSecurityGroups string[]
    List of input security groups.
    mediaConnectFlows InputMediaConnectFlow[]
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    name string
    Name of the input.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    roleArn string
    ARN of the role this input assumes during and after creation.
    sources InputSource[]
    Source URLs for a PULL-type input. See sources Block for more details.
    tags {[key: string]: string}
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    vpc InputVpc
    Settings for a private VPC Input. See vpc Block for more details.
    type str

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    destinations Sequence[InputDestinationArgs]
    Destination settings for PUSH type inputs. See destinations Block for more details.
    input_devices Sequence[InputInputDeviceArgs]
    Settings for the devices. See inputDevices Block for more details.
    input_security_groups Sequence[str]
    List of input security groups.
    media_connect_flows Sequence[InputMediaConnectFlowArgs]
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    name str
    Name of the input.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    role_arn str
    ARN of the role this input assumes during and after creation.
    sources Sequence[InputSourceArgs]
    Source URLs for a PULL-type input. See sources Block for more details.
    tags Mapping[str, str]
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    vpc InputVpcArgs
    Settings for a private VPC Input. See vpc Block for more details.
    type String

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    destinations List<Property Map>
    Destination settings for PUSH type inputs. See destinations Block for more details.
    inputDevices List<Property Map>
    Settings for the devices. See inputDevices Block for more details.
    inputSecurityGroups List<String>
    List of input security groups.
    mediaConnectFlows List<Property Map>
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    name String
    Name of the input.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    roleArn String
    ARN of the role this input assumes during and after creation.
    sources List<Property Map>
    Source URLs for a PULL-type input. See sources Block for more details.
    tags Map<String>
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    vpc Property Map
    Settings for a private VPC Input. See vpc Block for more details.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Input resource produces the following output properties:

    Arn string
    ARN of the Input.
    AttachedChannels List<string>
    Channels attached to Input.
    Id string
    The provider-assigned unique ID for this managed resource.
    InputClass string
    Input class.
    InputPartnerIds List<string>
    IDs for all Inputs which are partners of this one.
    InputSourceType string
    Source type of the input.
    TagsAll Dictionary<string, string>
    Arn string
    ARN of the Input.
    AttachedChannels []string
    Channels attached to Input.
    Id string
    The provider-assigned unique ID for this managed resource.
    InputClass string
    Input class.
    InputPartnerIds []string
    IDs for all Inputs which are partners of this one.
    InputSourceType string
    Source type of the input.
    TagsAll map[string]string
    arn string
    ARN of the Input.
    attached_channels list(string)
    Channels attached to Input.
    id string
    The provider-assigned unique ID for this managed resource.
    input_class string
    Input class.
    input_partner_ids list(string)
    IDs for all Inputs which are partners of this one.
    input_source_type string
    Source type of the input.
    tags_all map(string)
    arn String
    ARN of the Input.
    attachedChannels List<String>
    Channels attached to Input.
    id String
    The provider-assigned unique ID for this managed resource.
    inputClass String
    Input class.
    inputPartnerIds List<String>
    IDs for all Inputs which are partners of this one.
    inputSourceType String
    Source type of the input.
    tagsAll Map<String,String>
    arn string
    ARN of the Input.
    attachedChannels string[]
    Channels attached to Input.
    id string
    The provider-assigned unique ID for this managed resource.
    inputClass string
    Input class.
    inputPartnerIds string[]
    IDs for all Inputs which are partners of this one.
    inputSourceType string
    Source type of the input.
    tagsAll {[key: string]: string}
    arn str
    ARN of the Input.
    attached_channels Sequence[str]
    Channels attached to Input.
    id str
    The provider-assigned unique ID for this managed resource.
    input_class str
    Input class.
    input_partner_ids Sequence[str]
    IDs for all Inputs which are partners of this one.
    input_source_type str
    Source type of the input.
    tags_all Mapping[str, str]
    arn String
    ARN of the Input.
    attachedChannels List<String>
    Channels attached to Input.
    id String
    The provider-assigned unique ID for this managed resource.
    inputClass String
    Input class.
    inputPartnerIds List<String>
    IDs for all Inputs which are partners of this one.
    inputSourceType String
    Source type of the input.
    tagsAll Map<String>

    Look up Existing Input Resource

    Get an existing Input resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InputState, opts?: CustomResourceOptions): Input
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            attached_channels: Optional[Sequence[str]] = None,
            destinations: Optional[Sequence[InputDestinationArgs]] = None,
            input_class: Optional[str] = None,
            input_devices: Optional[Sequence[InputInputDeviceArgs]] = None,
            input_partner_ids: Optional[Sequence[str]] = None,
            input_security_groups: Optional[Sequence[str]] = None,
            input_source_type: Optional[str] = None,
            media_connect_flows: Optional[Sequence[InputMediaConnectFlowArgs]] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            role_arn: Optional[str] = None,
            sources: Optional[Sequence[InputSourceArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            type: Optional[str] = None,
            vpc: Optional[InputVpcArgs] = None) -> Input
    func GetInput(ctx *Context, name string, id IDInput, state *InputState, opts ...ResourceOption) (*Input, error)
    public static Input Get(string name, Input<string> id, InputState? state, CustomResourceOptions? opts = null)
    public static Input get(String name, Output<String> id, InputState state, CustomResourceOptions options)
    resources:  existingInput:    type: aws:medialive:Input    get:      id: ${id}
    import {
      to = aws_medialive_input.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state InputState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state InputState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state InputState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state InputState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the Input.
    AttachedChannels List<string>
    Channels attached to Input.
    Destinations List<InputDestination>
    Destination settings for PUSH type inputs. See destinations Block for more details.
    InputClass string
    Input class.
    InputDevices List<InputInputDevice>
    Settings for the devices. See inputDevices Block for more details.
    InputPartnerIds List<string>
    IDs for all Inputs which are partners of this one.
    InputSecurityGroups List<string>
    List of input security groups.
    InputSourceType string
    Source type of the input.
    MediaConnectFlows List<InputMediaConnectFlow>
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    Name string
    Name of the input.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RoleArn string
    ARN of the role this input assumes during and after creation.
    Sources List<InputSource>
    Source URLs for a PULL-type input. See sources Block for more details.
    Tags Dictionary<string, string>
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Type string

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    Vpc InputVpc
    Settings for a private VPC Input. See vpc Block for more details.
    Arn string
    ARN of the Input.
    AttachedChannels []string
    Channels attached to Input.
    Destinations []InputDestinationArgs
    Destination settings for PUSH type inputs. See destinations Block for more details.
    InputClass string
    Input class.
    InputDevices []InputInputDeviceArgs
    Settings for the devices. See inputDevices Block for more details.
    InputPartnerIds []string
    IDs for all Inputs which are partners of this one.
    InputSecurityGroups []string
    List of input security groups.
    InputSourceType string
    Source type of the input.
    MediaConnectFlows []InputMediaConnectFlowArgs
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    Name string
    Name of the input.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RoleArn string
    ARN of the role this input assumes during and after creation.
    Sources []InputSourceArgs
    Source URLs for a PULL-type input. See sources Block for more details.
    Tags map[string]string
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Type string

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    Vpc InputVpcArgs
    Settings for a private VPC Input. See vpc Block for more details.
    arn string
    ARN of the Input.
    attached_channels list(string)
    Channels attached to Input.
    destinations list(object)
    Destination settings for PUSH type inputs. See destinations Block for more details.
    input_class string
    Input class.
    input_devices list(object)
    Settings for the devices. See inputDevices Block for more details.
    input_partner_ids list(string)
    IDs for all Inputs which are partners of this one.
    input_security_groups list(string)
    List of input security groups.
    input_source_type string
    Source type of the input.
    media_connect_flows list(object)
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    name string
    Name of the input.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    role_arn string
    ARN of the role this input assumes during and after creation.
    sources list(object)
    Source URLs for a PULL-type input. See sources Block for more details.
    tags map(string)
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    type string

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    vpc object
    Settings for a private VPC Input. See vpc Block for more details.
    arn String
    ARN of the Input.
    attachedChannels List<String>
    Channels attached to Input.
    destinations List<InputDestination>
    Destination settings for PUSH type inputs. See destinations Block for more details.
    inputClass String
    Input class.
    inputDevices List<InputInputDevice>
    Settings for the devices. See inputDevices Block for more details.
    inputPartnerIds List<String>
    IDs for all Inputs which are partners of this one.
    inputSecurityGroups List<String>
    List of input security groups.
    inputSourceType String
    Source type of the input.
    mediaConnectFlows List<InputMediaConnectFlow>
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    name String
    Name of the input.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    roleArn String
    ARN of the role this input assumes during and after creation.
    sources List<InputSource>
    Source URLs for a PULL-type input. See sources Block for more details.
    tags Map<String,String>
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    type String

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    vpc InputVpc
    Settings for a private VPC Input. See vpc Block for more details.
    arn string
    ARN of the Input.
    attachedChannels string[]
    Channels attached to Input.
    destinations InputDestination[]
    Destination settings for PUSH type inputs. See destinations Block for more details.
    inputClass string
    Input class.
    inputDevices InputInputDevice[]
    Settings for the devices. See inputDevices Block for more details.
    inputPartnerIds string[]
    IDs for all Inputs which are partners of this one.
    inputSecurityGroups string[]
    List of input security groups.
    inputSourceType string
    Source type of the input.
    mediaConnectFlows InputMediaConnectFlow[]
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    name string
    Name of the input.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    roleArn string
    ARN of the role this input assumes during and after creation.
    sources InputSource[]
    Source URLs for a PULL-type input. See sources Block for more details.
    tags {[key: string]: string}
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    type string

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    vpc InputVpc
    Settings for a private VPC Input. See vpc Block for more details.
    arn str
    ARN of the Input.
    attached_channels Sequence[str]
    Channels attached to Input.
    destinations Sequence[InputDestinationArgs]
    Destination settings for PUSH type inputs. See destinations Block for more details.
    input_class str
    Input class.
    input_devices Sequence[InputInputDeviceArgs]
    Settings for the devices. See inputDevices Block for more details.
    input_partner_ids Sequence[str]
    IDs for all Inputs which are partners of this one.
    input_security_groups Sequence[str]
    List of input security groups.
    input_source_type str
    Source type of the input.
    media_connect_flows Sequence[InputMediaConnectFlowArgs]
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    name str
    Name of the input.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    role_arn str
    ARN of the role this input assumes during and after creation.
    sources Sequence[InputSourceArgs]
    Source URLs for a PULL-type input. See sources Block for more details.
    tags Mapping[str, str]
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    type str

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    vpc InputVpcArgs
    Settings for a private VPC Input. See vpc Block for more details.
    arn String
    ARN of the Input.
    attachedChannels List<String>
    Channels attached to Input.
    destinations List<Property Map>
    Destination settings for PUSH type inputs. See destinations Block for more details.
    inputClass String
    Input class.
    inputDevices List<Property Map>
    Settings for the devices. See inputDevices Block for more details.
    inputPartnerIds List<String>
    IDs for all Inputs which are partners of this one.
    inputSecurityGroups List<String>
    List of input security groups.
    inputSourceType String
    Source type of the input.
    mediaConnectFlows List<Property Map>
    MediaConnect Flows. See mediaConnectFlows Block for more details.
    name String
    Name of the input.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    roleArn String
    ARN of the role this input assumes during and after creation.
    sources List<Property Map>
    Source URLs for a PULL-type input. See sources Block for more details.
    tags Map<String>
    Map of tags to assign to the Input. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    type String

    Type of input that AWS Elemental MediaLive supports.

    The following arguments are optional:

    vpc Property Map
    Settings for a private VPC Input. See vpc Block for more details.

    Supporting Types

    InputDestination, InputDestinationArgs

    StreamName string
    Unique name for the location the RTMP stream is being pushed to.
    StreamName string
    Unique name for the location the RTMP stream is being pushed to.
    stream_name string
    Unique name for the location the RTMP stream is being pushed to.
    streamName String
    Unique name for the location the RTMP stream is being pushed to.
    streamName string
    Unique name for the location the RTMP stream is being pushed to.
    stream_name str
    Unique name for the location the RTMP stream is being pushed to.
    streamName String
    Unique name for the location the RTMP stream is being pushed to.

    InputInputDevice, InputInputDeviceArgs

    Id string
    Unique ID for the device.
    Id string
    Unique ID for the device.
    id string
    Unique ID for the device.
    id String
    Unique ID for the device.
    id string
    Unique ID for the device.
    id str
    Unique ID for the device.
    id String
    Unique ID for the device.

    InputMediaConnectFlow, InputMediaConnectFlowArgs

    FlowArn string
    ARN of the MediaConnect Flow.
    FlowArn string
    ARN of the MediaConnect Flow.
    flow_arn string
    ARN of the MediaConnect Flow.
    flowArn String
    ARN of the MediaConnect Flow.
    flowArn string
    ARN of the MediaConnect Flow.
    flow_arn str
    ARN of the MediaConnect Flow.
    flowArn String
    ARN of the MediaConnect Flow.

    InputSource, InputSourceArgs

    PasswordParam string
    Key used to extract the password from EC2 Parameter store.
    Url string
    URL where the stream is pulled from.
    Username string
    Username for the input source.
    PasswordParam string
    Key used to extract the password from EC2 Parameter store.
    Url string
    URL where the stream is pulled from.
    Username string
    Username for the input source.
    password_param string
    Key used to extract the password from EC2 Parameter store.
    url string
    URL where the stream is pulled from.
    username string
    Username for the input source.
    passwordParam String
    Key used to extract the password from EC2 Parameter store.
    url String
    URL where the stream is pulled from.
    username String
    Username for the input source.
    passwordParam string
    Key used to extract the password from EC2 Parameter store.
    url string
    URL where the stream is pulled from.
    username string
    Username for the input source.
    password_param str
    Key used to extract the password from EC2 Parameter store.
    url str
    URL where the stream is pulled from.
    username str
    Username for the input source.
    passwordParam String
    Key used to extract the password from EC2 Parameter store.
    url String
    URL where the stream is pulled from.
    username String
    Username for the input source.

    InputVpc, InputVpcArgs

    SubnetIds List<string>
    List of 2 VPC subnet IDs from the same VPC.
    SecurityGroupIds List<string>
    List of up to 5 EC2 VPC security group IDs to attach to the Input.
    SubnetIds []string
    List of 2 VPC subnet IDs from the same VPC.
    SecurityGroupIds []string
    List of up to 5 EC2 VPC security group IDs to attach to the Input.
    subnet_ids list(string)
    List of 2 VPC subnet IDs from the same VPC.
    security_group_ids list(string)
    List of up to 5 EC2 VPC security group IDs to attach to the Input.
    subnetIds List<String>
    List of 2 VPC subnet IDs from the same VPC.
    securityGroupIds List<String>
    List of up to 5 EC2 VPC security group IDs to attach to the Input.
    subnetIds string[]
    List of 2 VPC subnet IDs from the same VPC.
    securityGroupIds string[]
    List of up to 5 EC2 VPC security group IDs to attach to the Input.
    subnet_ids Sequence[str]
    List of 2 VPC subnet IDs from the same VPC.
    security_group_ids Sequence[str]
    List of up to 5 EC2 VPC security group IDs to attach to the Input.
    subnetIds List<String>
    List of 2 VPC subnet IDs from the same VPC.
    securityGroupIds List<String>
    List of up to 5 EC2 VPC security group IDs to attach to the Input.

    Import

    Identity Schema

    Required

    • id (String) ID of the MediaLive Input.

    Optional

    • accountId (String) AWS Account where this resource is managed.
    • region (String) Region where this resource is managed.

    Using pulumi import, import MediaLive Input using the id. For example:

    $ pulumi import aws:medialive/input:Input example 12345678
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.55.0
    published on Friday, Nov 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial