Viewing docs for AWS v7.54.0
published on Friday, Nov 6, 2026 by Pulumi
published on Friday, Nov 6, 2026 by Pulumi
Viewing docs for AWS v7.54.0
published on Friday, Nov 6, 2026 by Pulumi
published on Friday, Nov 6, 2026 by Pulumi
Data source for managing an AWS Elemental MediaLive Input.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.medialive.getInput({
id: exampleAwsMedialiveInput.id,
});
import pulumi
import pulumi_aws as aws
example = aws.medialive.get_input(id=example_aws_medialive_input["id"])
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 {
_, err := medialive.LookupInput(ctx, &medialive.LookupInputArgs{
Id: exampleAwsMedialiveInput.Id,
}, nil)
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 = Aws.MediaLive.GetInput.Invoke(new()
{
Id = exampleAwsMedialiveInput.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.medialive.MedialiveFunctions;
import com.pulumi.aws.medialive.inputs.GetInputArgs;
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) {
final var example = MedialiveFunctions.getInput(GetInputArgs.builder()
.id(exampleAwsMedialiveInput.get("id"))
.build());
}
}
variables:
example:
fn::invoke:
function: aws:medialive:getInput
arguments:
id: ${exampleAwsMedialiveInput.id}
terraform {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_medialive_input" "example" {
id = exampleAwsMedialiveInput.id
}
Using getInput
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInput(args: GetInputArgs, opts?: InvokeOptions): Promise<GetInputResult>
function getInputOutput(args: GetInputOutputArgs, opts?: InvokeOutputOptions): Output<GetInputResult>def get_input(id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInputResult
def get_input_output(id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetInputResult]func LookupInput(ctx *Context, args *LookupInputArgs, opts ...InvokeOption) (*LookupInputResult, error)
func LookupInputOutput(ctx *Context, args *LookupInputOutputArgs, opts ...InvokeOption) LookupInputResultOutput> Note: This function is named LookupInput in the Go SDK.
public static class GetInput
{
public static Task<GetInputResult> InvokeAsync(GetInputArgs args, InvokeOptions? opts = null)
public static Output<GetInputResult> Invoke(GetInputInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetInputResult> Invoke(GetInputInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetInputResult> getInput(GetInputArgs args, InvokeOptions options)
public static Output<GetInputResult> getInput(GetInputArgs args, InvokeOptions options)
public static Output<GetInputResult> getInput(GetInputArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws:medialive/getInput:getInput
arguments:
# arguments dictionarydata "aws_medialive_get_input" "name" {
# arguments
}The following arguments are supported:
getInput Result
The following output properties are available:
- Arn string
- ARN of the Input.
- Attached
Channels List<string> - Channels attached to Input.
- Destinations
List<Get
Input Destination> - Destination settings for PUSH type inputs. See
destinationsBlock for more details. - Id string
- ID of the device.
- Input
Class string - Input class.
- Input
Devices List<GetInput Input Device> - Settings for the devices. See
inputDevicesBlock for more details. - Input
Partner List<string>Ids - IDs for all Inputs which are partners of this one.
- Input
Source stringType - Source type of the input.
- Media
Connect List<GetFlows Input Media Connect Flow> - MediaConnect Flows. See
mediaConnectFlowsBlock for more details. - Name string
- Name of the input.
- Region string
- Role
Arn string - ARN of the role this input assumes during and after creation.
- Security
Groups List<string> - List of input security groups.
- Sources
List<Get
Input Source> - Source URLs for a PULL-type input. See
sourcesBlock for more details. - State string
- State of the input.
- Dictionary<string, string>
- Map of tags assigned to the Input.
- Type string
- Type of the input.
- Arn string
- ARN of the Input.
- Attached
Channels []string - Channels attached to Input.
- Destinations
[]Get
Input Destination - Destination settings for PUSH type inputs. See
destinationsBlock for more details. - Id string
- ID of the device.
- Input
Class string - Input class.
- Input
Devices []GetInput Input Device - Settings for the devices. See
inputDevicesBlock for more details. - Input
Partner []stringIds - IDs for all Inputs which are partners of this one.
- Input
Source stringType - Source type of the input.
- Media
Connect []GetFlows Input Media Connect Flow - MediaConnect Flows. See
mediaConnectFlowsBlock for more details. - Name string
- Name of the input.
- Region string
- Role
Arn string - ARN of the role this input assumes during and after creation.
- Security
Groups []string - List of input security groups.
- Sources
[]Get
Input Source - Source URLs for a PULL-type input. See
sourcesBlock for more details. - State string
- State of the input.
- map[string]string
- Map of tags assigned to the Input.
- Type string
- Type of the input.
- arn string
- ARN of the Input.
- attached_
channels list(string) - Channels attached to Input.
- destinations list(object)
- Destination settings for PUSH type inputs. See
destinationsBlock for more details. - id string
- ID of the device.
- input_
class string - Input class.
- input_
devices list(object) - Settings for the devices. See
inputDevicesBlock for more details. - input_
partner_ list(string)ids - IDs for all Inputs which are partners of this one.
- input_
source_ stringtype - Source type of the input.
- media_
connect_ list(object)flows - MediaConnect Flows. See
mediaConnectFlowsBlock for more details. - name string
- Name of the input.
- region string
- role_
arn string - ARN of the role this input assumes during and after creation.
- security_
groups list(string) - List of input security groups.
- sources list(object)
- Source URLs for a PULL-type input. See
sourcesBlock for more details. - state string
- State of the input.
- map(string)
- Map of tags assigned to the Input.
- type string
- Type of the input.
- arn String
- ARN of the Input.
- attached
Channels List<String> - Channels attached to Input.
- destinations
List<Get
Input Destination> - Destination settings for PUSH type inputs. See
destinationsBlock for more details. - id String
- ID of the device.
- input
Class String - Input class.
- input
Devices List<GetInput Input Device> - Settings for the devices. See
inputDevicesBlock for more details. - input
Partner List<String>Ids - IDs for all Inputs which are partners of this one.
- input
Source StringType - Source type of the input.
- media
Connect List<GetFlows Input Media Connect Flow> - MediaConnect Flows. See
mediaConnectFlowsBlock for more details. - name String
- Name of the input.
- region String
- role
Arn String - ARN of the role this input assumes during and after creation.
- security
Groups List<String> - List of input security groups.
- sources
List<Get
Input Source> - Source URLs for a PULL-type input. See
sourcesBlock for more details. - state String
- State of the input.
- Map<String,String>
- Map of tags assigned to the Input.
- type String
- Type of the input.
- arn string
- ARN of the Input.
- attached
Channels string[] - Channels attached to Input.
- destinations
Get
Input Destination[] - Destination settings for PUSH type inputs. See
destinationsBlock for more details. - id string
- ID of the device.
- input
Class string - Input class.
- input
Devices GetInput Input Device[] - Settings for the devices. See
inputDevicesBlock for more details. - input
Partner string[]Ids - IDs for all Inputs which are partners of this one.
- input
Source stringType - Source type of the input.
- media
Connect GetFlows Input Media Connect Flow[] - MediaConnect Flows. See
mediaConnectFlowsBlock for more details. - name string
- Name of the input.
- region string
- role
Arn string - ARN of the role this input assumes during and after creation.
- security
Groups string[] - List of input security groups.
- sources
Get
Input Source[] - Source URLs for a PULL-type input. See
sourcesBlock for more details. - state string
- State of the input.
- {[key: string]: string}
- Map of tags assigned to the Input.
- type string
- Type of the input.
- arn str
- ARN of the Input.
- attached_
channels Sequence[str] - Channels attached to Input.
- destinations
Sequence[Get
Input Destination] - Destination settings for PUSH type inputs. See
destinationsBlock for more details. - id str
- ID of the device.
- input_
class str - Input class.
- input_
devices Sequence[GetInput Input Device] - Settings for the devices. See
inputDevicesBlock for more details. - input_
partner_ Sequence[str]ids - IDs for all Inputs which are partners of this one.
- input_
source_ strtype - Source type of the input.
- media_
connect_ Sequence[Getflows Input Media Connect Flow] - MediaConnect Flows. See
mediaConnectFlowsBlock for more details. - name str
- Name of the input.
- region str
- role_
arn str - ARN of the role this input assumes during and after creation.
- security_
groups Sequence[str] - List of input security groups.
- sources
Sequence[Get
Input Source] - Source URLs for a PULL-type input. See
sourcesBlock for more details. - state str
- State of the input.
- Mapping[str, str]
- Map of tags assigned to the Input.
- type str
- Type of the input.
- arn String
- ARN of the Input.
- attached
Channels List<String> - Channels attached to Input.
- destinations List<Property Map>
- Destination settings for PUSH type inputs. See
destinationsBlock for more details. - id String
- ID of the device.
- input
Class String - Input class.
- input
Devices List<Property Map> - Settings for the devices. See
inputDevicesBlock for more details. - input
Partner List<String>Ids - IDs for all Inputs which are partners of this one.
- input
Source StringType - Source type of the input.
- media
Connect List<Property Map>Flows - MediaConnect Flows. See
mediaConnectFlowsBlock for more details. - name String
- Name of the input.
- region String
- role
Arn String - ARN of the role this input assumes during and after creation.
- security
Groups List<String> - List of input security groups.
- sources List<Property Map>
- Source URLs for a PULL-type input. See
sourcesBlock for more details. - state String
- State of the input.
- Map<String>
- Map of tags assigned to the Input.
- type String
- Type of the input.
Supporting Types
GetInputDestination
- Ip string
- IP address.
- Port string
- Port.
- Url string
- URL where the stream is pulled from.
- Vpcs
List<Get
Input Destination Vpc> - VPC settings. See
destinations.vpcBlock for more details.
- Ip string
- IP address.
- Port string
- Port.
- Url string
- URL where the stream is pulled from.
- Vpcs
[]Get
Input Destination Vpc - VPC settings. See
destinations.vpcBlock for more details.
- ip string
- IP address.
- port string
- Port.
- url string
- URL where the stream is pulled from.
- vpcs list(object)
- VPC settings. See
destinations.vpcBlock for more details.
- ip String
- IP address.
- port String
- Port.
- url String
- URL where the stream is pulled from.
- vpcs
List<Get
Input Destination Vpc> - VPC settings. See
destinations.vpcBlock for more details.
- ip string
- IP address.
- port string
- Port.
- url string
- URL where the stream is pulled from.
- vpcs
Get
Input Destination Vpc[] - VPC settings. See
destinations.vpcBlock for more details.
- ip str
- IP address.
- port str
- Port.
- url str
- URL where the stream is pulled from.
- vpcs
Sequence[Get
Input Destination Vpc] - VPC settings. See
destinations.vpcBlock for more details.
- ip String
- IP address.
- port String
- Port.
- url String
- URL where the stream is pulled from.
- vpcs List<Property Map>
- VPC settings. See
destinations.vpcBlock for more details.
GetInputDestinationVpc
- Availability
Zone string - Availability Zone.
- Network
Interface stringId - Network interface ID.
- Availability
Zone string - Availability Zone.
- Network
Interface stringId - Network interface ID.
- availability_
zone string - Availability Zone.
- network_
interface_ stringid - Network interface ID.
- availability
Zone String - Availability Zone.
- network
Interface StringId - Network interface ID.
- availability
Zone string - Availability Zone.
- network
Interface stringId - Network interface ID.
- availability_
zone str - Availability Zone.
- network_
interface_ strid - Network interface ID.
- availability
Zone String - Availability Zone.
- network
Interface StringId - Network interface ID.
GetInputInputDevice
- Id string
- ID of the Input.
- Id string
- ID of the Input.
- id string
- ID of the Input.
- id String
- ID of the Input.
- id string
- ID of the Input.
- id str
- ID of the Input.
- id String
- ID of the Input.
GetInputMediaConnectFlow
- Flow
Arn string - ARN of the MediaConnect Flow.
- Flow
Arn string - ARN of the MediaConnect Flow.
- flow_
arn string - ARN of the MediaConnect Flow.
- flow
Arn String - ARN of the MediaConnect Flow.
- flow
Arn string - ARN of the MediaConnect Flow.
- flow_
arn str - ARN of the MediaConnect Flow.
- flow
Arn String - ARN of the MediaConnect Flow.
GetInputSource
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.54.0
published on Friday, Nov 6, 2026 by Pulumi
published on Friday, Nov 6, 2026 by Pulumi