aws.medialive.Input
Explore with Pulumi AI
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/v6/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.List;
import java.util.ArrayList;
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
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,
          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)type: aws:medialive:Input
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
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",
    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"),
	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"),
		},
	},
})
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")
    .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",
    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",
    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
    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
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- Destinations
List<InputDestination> 
- Destination settings for PUSH type inputs. See Destinations for more details.
- InputDevices List<InputInput Device> 
- Settings for the devices. See Input Devices for more details.
- InputSecurity List<string>Groups 
- List of input security groups.
- MediaConnect List<InputFlows Media Connect Flow> 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- Name string
- Name of the input.
- RoleArn string
- The ARN of the role this input assumes during and after creation.
- Sources
List<InputSource> 
- The source URLs for a PULL-type input. See Sources for more details.
- Dictionary<string, string>
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Vpc
InputVpc 
- Settings for a private VPC Input. See VPC for more details.
- Type string
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- Destinations
[]InputDestination Args 
- Destination settings for PUSH type inputs. See Destinations for more details.
- InputDevices []InputInput Device Args 
- Settings for the devices. See Input Devices for more details.
- InputSecurity []stringGroups 
- List of input security groups.
- MediaConnect []InputFlows Media Connect Flow Args 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- Name string
- Name of the input.
- RoleArn string
- The ARN of the role this input assumes during and after creation.
- Sources
[]InputSource Args 
- The source URLs for a PULL-type input. See Sources for more details.
- map[string]string
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Vpc
InputVpc Args 
- Settings for a private VPC Input. See VPC for more details.
- type String
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- destinations
List<InputDestination> 
- Destination settings for PUSH type inputs. See Destinations for more details.
- inputDevices List<InputInput Device> 
- Settings for the devices. See Input Devices for more details.
- inputSecurity List<String>Groups 
- List of input security groups.
- mediaConnect List<InputFlows Media Connect Flow> 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name String
- Name of the input.
- roleArn String
- The ARN of the role this input assumes during and after creation.
- sources
List<InputSource> 
- The source URLs for a PULL-type input. See Sources for more details.
- Map<String,String>
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vpc
InputVpc 
- Settings for a private VPC Input. See VPC for more details.
- type string
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- destinations
InputDestination[] 
- Destination settings for PUSH type inputs. See Destinations for more details.
- inputDevices InputInput Device[] 
- Settings for the devices. See Input Devices for more details.
- inputSecurity string[]Groups 
- List of input security groups.
- mediaConnect InputFlows Media Connect Flow[] 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name string
- Name of the input.
- roleArn string
- The ARN of the role this input assumes during and after creation.
- sources
InputSource[] 
- The source URLs for a PULL-type input. See Sources for more details.
- {[key: string]: string}
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vpc
InputVpc 
- Settings for a private VPC Input. See VPC for more details.
- type str
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- destinations
Sequence[InputDestination Args] 
- Destination settings for PUSH type inputs. See Destinations for more details.
- input_devices Sequence[InputInput Device Args] 
- Settings for the devices. See Input Devices for more details.
- input_security_ Sequence[str]groups 
- List of input security groups.
- media_connect_ Sequence[Inputflows Media Connect Flow Args] 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name str
- Name of the input.
- role_arn str
- The ARN of the role this input assumes during and after creation.
- sources
Sequence[InputSource Args] 
- The source URLs for a PULL-type input. See Sources for more details.
- Mapping[str, str]
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vpc
InputVpc Args 
- Settings for a private VPC Input. See VPC for more details.
- type String
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- destinations List<Property Map>
- Destination settings for PUSH type inputs. See Destinations for more details.
- inputDevices List<Property Map>
- Settings for the devices. See Input Devices for more details.
- inputSecurity List<String>Groups 
- List of input security groups.
- mediaConnect List<Property Map>Flows 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name String
- Name of the input.
- roleArn String
- The ARN of the role this input assumes during and after creation.
- sources List<Property Map>
- The source URLs for a PULL-type input. See Sources for more details.
- Map<String>
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration 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 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
- The input class.
- InputPartner List<string>Ids 
- A list of IDs for all Inputs which are partners of this one.
- InputSource stringType 
- Source type of the input.
- 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
- The input class.
- InputPartner []stringIds 
- A list of IDs for all Inputs which are partners of this one.
- InputSource stringType 
- Source type of the input.
- map[string]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
- The input class.
- inputPartner List<String>Ids 
- A list of IDs for all Inputs which are partners of this one.
- inputSource StringType 
- Source type of the input.
- 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
- The input class.
- inputPartner string[]Ids 
- A list of IDs for all Inputs which are partners of this one.
- inputSource stringType 
- Source type of the input.
- {[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
- The input class.
- input_partner_ Sequence[str]ids 
- A list of IDs for all Inputs which are partners of this one.
- input_source_ strtype 
- Source type of the input.
- 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
- The input class.
- inputPartner List<String>Ids 
- A list of IDs for all Inputs which are partners of this one.
- inputSource StringType 
- Source type of the input.
- 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,
        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) -> Inputfunc 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:  _:    type: aws:medialive:Input    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the Input.
- AttachedChannels List<string>
- Channels attached to Input.
- Destinations
List<InputDestination> 
- Destination settings for PUSH type inputs. See Destinations for more details.
- InputClass string
- The input class.
- InputDevices List<InputInput Device> 
- Settings for the devices. See Input Devices for more details.
- InputPartner List<string>Ids 
- A list of IDs for all Inputs which are partners of this one.
- InputSecurity List<string>Groups 
- List of input security groups.
- InputSource stringType 
- Source type of the input.
- MediaConnect List<InputFlows Media Connect Flow> 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- Name string
- Name of the input.
- RoleArn string
- The ARN of the role this input assumes during and after creation.
- Sources
List<InputSource> 
- The source URLs for a PULL-type input. See Sources for more details.
- Dictionary<string, string>
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- Type string
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- Vpc
InputVpc 
- Settings for a private VPC Input. See VPC for more details.
- Arn string
- ARN of the Input.
- AttachedChannels []string
- Channels attached to Input.
- Destinations
[]InputDestination Args 
- Destination settings for PUSH type inputs. See Destinations for more details.
- InputClass string
- The input class.
- InputDevices []InputInput Device Args 
- Settings for the devices. See Input Devices for more details.
- InputPartner []stringIds 
- A list of IDs for all Inputs which are partners of this one.
- InputSecurity []stringGroups 
- List of input security groups.
- InputSource stringType 
- Source type of the input.
- MediaConnect []InputFlows Media Connect Flow Args 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- Name string
- Name of the input.
- RoleArn string
- The ARN of the role this input assumes during and after creation.
- Sources
[]InputSource Args 
- The source URLs for a PULL-type input. See Sources for more details.
- map[string]string
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- Type string
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- Vpc
InputVpc Args 
- Settings for a private VPC Input. See VPC 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 for more details.
- inputClass String
- The input class.
- inputDevices List<InputInput Device> 
- Settings for the devices. See Input Devices for more details.
- inputPartner List<String>Ids 
- A list of IDs for all Inputs which are partners of this one.
- inputSecurity List<String>Groups 
- List of input security groups.
- inputSource StringType 
- Source type of the input.
- mediaConnect List<InputFlows Media Connect Flow> 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name String
- Name of the input.
- roleArn String
- The ARN of the role this input assumes during and after creation.
- sources
List<InputSource> 
- The source URLs for a PULL-type input. See Sources for more details.
- Map<String,String>
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- type String
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- vpc
InputVpc 
- Settings for a private VPC Input. See VPC 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 for more details.
- inputClass string
- The input class.
- inputDevices InputInput Device[] 
- Settings for the devices. See Input Devices for more details.
- inputPartner string[]Ids 
- A list of IDs for all Inputs which are partners of this one.
- inputSecurity string[]Groups 
- List of input security groups.
- inputSource stringType 
- Source type of the input.
- mediaConnect InputFlows Media Connect Flow[] 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name string
- Name of the input.
- roleArn string
- The ARN of the role this input assumes during and after creation.
- sources
InputSource[] 
- The source URLs for a PULL-type input. See Sources for more details.
- {[key: string]: string}
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- type string
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- vpc
InputVpc 
- Settings for a private VPC Input. See VPC for more details.
- arn str
- ARN of the Input.
- attached_channels Sequence[str]
- Channels attached to Input.
- destinations
Sequence[InputDestination Args] 
- Destination settings for PUSH type inputs. See Destinations for more details.
- input_class str
- The input class.
- input_devices Sequence[InputInput Device Args] 
- Settings for the devices. See Input Devices for more details.
- input_partner_ Sequence[str]ids 
- A list of IDs for all Inputs which are partners of this one.
- input_security_ Sequence[str]groups 
- List of input security groups.
- input_source_ strtype 
- Source type of the input.
- media_connect_ Sequence[Inputflows Media Connect Flow Args] 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name str
- Name of the input.
- role_arn str
- The ARN of the role this input assumes during and after creation.
- sources
Sequence[InputSource Args] 
- The source URLs for a PULL-type input. See Sources for more details.
- Mapping[str, str]
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- type str
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- vpc
InputVpc Args 
- Settings for a private VPC Input. See VPC 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 for more details.
- inputClass String
- The input class.
- inputDevices List<Property Map>
- Settings for the devices. See Input Devices for more details.
- inputPartner List<String>Ids 
- A list of IDs for all Inputs which are partners of this one.
- inputSecurity List<String>Groups 
- List of input security groups.
- inputSource StringType 
- Source type of the input.
- mediaConnect List<Property Map>Flows 
- A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name String
- Name of the input.
- roleArn String
- The ARN of the role this input assumes during and after creation.
- sources List<Property Map>
- The source URLs for a PULL-type input. See Sources for more details.
- Map<String>
- A map of tags to assign to the Input. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- type String
- The different types of inputs that AWS Elemental MediaLive supports. - The following arguments are optional: 
- vpc Property Map
- Settings for a private VPC Input. See VPC for more details.
Supporting Types
InputDestination, InputDestinationArgs    
- StreamName string
- A unique name for the location the RTMP stream is being pushed to.
- StreamName string
- A unique name for the location the RTMP stream is being pushed to.
- streamName String
- A unique name for the location the RTMP stream is being pushed to.
- streamName string
- A unique name for the location the RTMP stream is being pushed to.
- stream_name str
- A unique name for the location the RTMP stream is being pushed to.
- streamName String
- A unique name for the location the RTMP stream is being pushed to.
InputInputDevice, InputInputDeviceArgs      
- Id string
- The unique ID for the device.
- Id string
- The unique ID for the device.
- id String
- The unique ID for the device.
- id string
- The unique ID for the device.
- id str
- The unique ID for the device.
- id String
- The unique ID for the device.
InputMediaConnectFlow, InputMediaConnectFlowArgs        
- FlowArn string
- The ARN of the MediaConnect Flow
- FlowArn string
- The ARN of the MediaConnect Flow
- flowArn String
- The ARN of the MediaConnect Flow
- flowArn string
- The ARN of the MediaConnect Flow
- flow_arn str
- The ARN of the MediaConnect Flow
- flowArn String
- The ARN of the MediaConnect Flow
InputSource, InputSourceArgs    
- PasswordParam string
- The key used to extract the password from EC2 Parameter store.
- Url string
- The URL where the stream is pulled from.
- Username string
- The username for the input source.
- PasswordParam string
- The key used to extract the password from EC2 Parameter store.
- Url string
- The URL where the stream is pulled from.
- Username string
- The username for the input source.
- passwordParam String
- The key used to extract the password from EC2 Parameter store.
- url String
- The URL where the stream is pulled from.
- username String
- The username for the input source.
- passwordParam string
- The key used to extract the password from EC2 Parameter store.
- url string
- The URL where the stream is pulled from.
- username string
- The username for the input source.
- password_param str
- The key used to extract the password from EC2 Parameter store.
- url str
- The URL where the stream is pulled from.
- username str
- The username for the input source.
- passwordParam String
- The key used to extract the password from EC2 Parameter store.
- url String
- The URL where the stream is pulled from.
- username String
- The username for the input source.
InputVpc, InputVpcArgs    
- SubnetIds List<string>
- A list of 2 VPC subnet IDs from the same VPC.
- SecurityGroup List<string>Ids 
- A list of up to 5 EC2 VPC security group IDs to attach to the Input.
- SubnetIds []string
- A list of 2 VPC subnet IDs from the same VPC.
- SecurityGroup []stringIds 
- A list of up to 5 EC2 VPC security group IDs to attach to the Input.
- subnetIds List<String>
- A list of 2 VPC subnet IDs from the same VPC.
- securityGroup List<String>Ids 
- A list of up to 5 EC2 VPC security group IDs to attach to the Input.
- subnetIds string[]
- A list of 2 VPC subnet IDs from the same VPC.
- securityGroup string[]Ids 
- A list of up to 5 EC2 VPC security group IDs to attach to the Input.
- subnet_ids Sequence[str]
- A list of 2 VPC subnet IDs from the same VPC.
- security_group_ Sequence[str]ids 
- A list of up to 5 EC2 VPC security group IDs to attach to the Input.
- subnetIds List<String>
- A list of 2 VPC subnet IDs from the same VPC.
- securityGroup List<String>Ids 
- A list of up to 5 EC2 VPC security group IDs to attach to the Input.
Import
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 awsTerraform Provider.