AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi
aws.medialive.getInput
Explore with Pulumi AI
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/v6/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.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) {
final var example = MedialiveFunctions.getInput(GetInputArgs.builder()
.id(exampleAwsMedialiveInput.id())
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:medialive:getInput
Arguments:
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?: InvokeOptions): Output<GetInputResult>
def get_input(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInputResult
def get_input_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = 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 CompletableFuture<GetInputResult> getInput(GetInputArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:medialive/getInput:getInput
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The ID of the Input.
- Id string
- The ID of the Input.
- id String
- The ID of the Input.
- id string
- The ID of the Input.
- id str
- The ID of the Input.
- id String
- The ID of the Input.
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> - Id string
- Input
Class string - The input class.
- Input
Devices List<GetInput Input Device> - Settings for the devices.
- Input
Partner List<string>Ids - A list of 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> - A list of the MediaConnect Flows.
- Name string
- Name of the input.
- Role
Arn string - The 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> - The source URLs for a PULL-type input.
- State string
- The state of the input.
- Dictionary<string, string>
- A map of tags assigned to the Input.
- Type string
- The type of the input.
- Arn string
- ARN of the Input.
- Attached
Channels []string - Channels attached to Input.
- Destinations
[]Get
Input Destination - Id string
- Input
Class string - The input class.
- Input
Devices []GetInput Input Device - Settings for the devices.
- Input
Partner []stringIds - A list of 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 - A list of the MediaConnect Flows.
- Name string
- Name of the input.
- Role
Arn string - The ARN of the role this input assumes during and after creation.
- Security
Groups []string - List of input security groups.
- Sources
[]Get
Input Source - The source URLs for a PULL-type input.
- State string
- The state of the input.
- map[string]string
- A map of tags assigned to the Input.
- Type string
- The type of the input.
- arn String
- ARN of the Input.
- attached
Channels List<String> - Channels attached to Input.
- destinations
List<Get
Input Destination> - id String
- input
Class String - The input class.
- input
Devices List<GetInput Input Device> - Settings for the devices.
- input
Partner List<String>Ids - A list of 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> - A list of the MediaConnect Flows.
- name String
- Name of the input.
- role
Arn String - The 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> - The source URLs for a PULL-type input.
- state String
- The state of the input.
- Map<String,String>
- A map of tags assigned to the Input.
- type String
- The type of the input.
- arn string
- ARN of the Input.
- attached
Channels string[] - Channels attached to Input.
- destinations
Get
Input Destination[] - id string
- input
Class string - The input class.
- input
Devices GetInput Input Device[] - Settings for the devices.
- input
Partner string[]Ids - A list of 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[] - A list of the MediaConnect Flows.
- name string
- Name of the input.
- role
Arn string - The ARN of the role this input assumes during and after creation.
- security
Groups string[] - List of input security groups.
- sources
Get
Input Source[] - The source URLs for a PULL-type input.
- state string
- The state of the input.
- {[key: string]: string}
- A map of tags assigned to the Input.
- type string
- The type of the input.
- arn str
- ARN of the Input.
- attached_
channels Sequence[str] - Channels attached to Input.
- destinations
Sequence[Get
Input Destination] - id str
- input_
class str - The input class.
- input_
devices Sequence[GetInput Input Device] - Settings for the devices.
- 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.
- media_
connect_ Sequence[Getflows Input Media Connect Flow] - A list of the MediaConnect Flows.
- name str
- Name of the input.
- role_
arn str - The 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] - The source URLs for a PULL-type input.
- state str
- The state of the input.
- Mapping[str, str]
- A map of tags assigned to the Input.
- type str
- The type of the input.
- arn String
- ARN of the Input.
- attached
Channels List<String> - Channels attached to Input.
- destinations List<Property Map>
- id String
- input
Class String - The input class.
- input
Devices List<Property Map> - Settings for the devices.
- input
Partner List<String>Ids - A list of IDs for all Inputs which are partners of this one.
- input
Source StringType - Source type of the input.
- media
Connect List<Property Map>Flows - A list of the MediaConnect Flows.
- name String
- Name of the input.
- role
Arn String - The ARN of the role this input assumes during and after creation.
- security
Groups List<String> - List of input security groups.
- sources List<Property Map>
- The source URLs for a PULL-type input.
- state String
- The state of the input.
- Map<String>
- A map of tags assigned to the Input.
- type String
- The type of the input.
Supporting Types
GetInputDestination
- Ip string
- Port string
- Url string
- Vpcs
List<Get
Input Destination Vpc>
- Ip string
- Port string
- Url string
- Vpcs
[]Get
Input Destination Vpc
- ip String
- port String
- url String
- vpcs
List<Get
Input Destination Vpc>
- ip string
- port string
- url string
- vpcs
Get
Input Destination Vpc[]
- ip str
- port str
- url str
- vpcs
Sequence[Get
Input Destination Vpc]
- ip String
- port String
- url String
- vpcs List<Property Map>
GetInputDestinationVpc
- Availability
Zone string - Network
Interface stringId
- Availability
Zone string - Network
Interface stringId
- availability
Zone String - network
Interface StringId
- availability
Zone string - network
Interface stringId
- availability
Zone String - network
Interface StringId
GetInputInputDevice
- Id string
- The ID of the Input.
- Id string
- The ID of the Input.
- id String
- The ID of the Input.
- id string
- The ID of the Input.
- id str
- The ID of the Input.
- id String
- The ID of the Input.
GetInputMediaConnectFlow
- Flow
Arn string
- Flow
Arn string
- flow
Arn String
- flow
Arn string
- flow_
arn str
- flow
Arn String
GetInputSource
- Password
Param string - Url string
- Username string
- Password
Param string - Url string
- Username string
- password
Param String - url String
- username String
- password
Param string - url string
- username string
- password_
param str - url str
- username str
- password
Param String - url String
- username String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.