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<Input
Destination> - Destination settings for PUSH type inputs. See Destinations for more details.
- Input
Devices List<InputInput Device> - Settings for the devices. See Input Devices for more details.
- Input
Security List<string>Groups - List of input security groups.
- Media
Connect List<InputFlows Media Connect Flow> - A list of the MediaConnect Flows. See Media Connect Flows for more details.
- Name string
- Name of the input.
- Role
Arn string - The ARN of the role this input assumes during and after creation.
- Sources
List<Input
Source> - 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Vpc
Input
Vpc - 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
[]Input
Destination Args - Destination settings for PUSH type inputs. See Destinations for more details.
- Input
Devices []InputInput Device Args - Settings for the devices. See Input Devices for more details.
- Input
Security []stringGroups - List of input security groups.
- Media
Connect []InputFlows Media Connect Flow Args - A list of the MediaConnect Flows. See Media Connect Flows for more details.
- Name string
- Name of the input.
- Role
Arn string - The ARN of the role this input assumes during and after creation.
- Sources
[]Input
Source 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Vpc
Input
Vpc 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<Input
Destination> - Destination settings for PUSH type inputs. See Destinations for more details.
- input
Devices List<InputInput Device> - Settings for the devices. See Input Devices for more details.
- input
Security List<String>Groups - List of input security groups.
- media
Connect List<InputFlows Media Connect Flow> - A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name String
- Name of the input.
- role
Arn String - The ARN of the role this input assumes during and after creation.
- sources
List<Input
Source> - 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - vpc
Input
Vpc - 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
Input
Destination[] - Destination settings for PUSH type inputs. See Destinations for more details.
- input
Devices InputInput Device[] - Settings for the devices. See Input Devices for more details.
- input
Security string[]Groups - List of input security groups.
- media
Connect InputFlows Media Connect Flow[] - A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name string
- Name of the input.
- role
Arn string - The ARN of the role this input assumes during and after creation.
- sources
Input
Source[] - 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - vpc
Input
Vpc - 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[Input
Destination 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[Input
Source 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - vpc
Input
Vpc 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.
- input
Devices List<Property Map> - Settings for the devices. See Input Devices for more details.
- input
Security List<String>Groups - List of input security groups.
- media
Connect List<Property Map>Flows - A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name String
- Name of the input.
- role
Arn 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_tags
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 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.
- Attached
Channels List<string> - Channels attached to Input.
- Id string
- The provider-assigned unique ID for this managed resource.
- Input
Class string - The input class.
- 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.
- Dictionary<string, string>
- Arn string
- ARN of the Input.
- Attached
Channels []string - Channels attached to Input.
- Id string
- The provider-assigned unique ID for this managed resource.
- Input
Class string - The input class.
- Input
Partner []stringIds - A list of IDs for all Inputs which are partners of this one.
- Input
Source stringType - Source type of the input.
- 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 - The input class.
- 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.
- Map<String,String>
- arn string
- ARN of the Input.
- attached
Channels string[] - Channels attached to Input.
- id string
- The provider-assigned unique ID for this managed resource.
- input
Class string - The input class.
- 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.
- {[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.
- attached
Channels List<String> - Channels attached to Input.
- id String
- The provider-assigned unique ID for this managed resource.
- input
Class String - The input class.
- 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.
- 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) -> 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)
Resource lookup is not supported in YAML
- 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.
- Attached
Channels List<string> - Channels attached to Input.
- Destinations
List<Input
Destination> - Destination settings for PUSH type inputs. See Destinations for more details.
- Input
Class string - The input class.
- Input
Devices List<InputInput Device> - Settings for the devices. See Input Devices for more details.
- Input
Partner List<string>Ids - A list of IDs for all Inputs which are partners of this one.
- Input
Security List<string>Groups - List of input security groups.
- Input
Source stringType - Source type of the input.
- Media
Connect List<InputFlows Media Connect Flow> - A list of the MediaConnect Flows. See Media Connect Flows for more details.
- Name string
- Name of the input.
- Role
Arn string - The ARN of the role this input assumes during and after creation.
- Sources
List<Input
Source> - 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_tags
configuration 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
Input
Vpc - Settings for a private VPC Input. See VPC for more details.
- Arn string
- ARN of the Input.
- Attached
Channels []string - Channels attached to Input.
- Destinations
[]Input
Destination Args - Destination settings for PUSH type inputs. See Destinations for more details.
- Input
Class string - The input class.
- Input
Devices []InputInput Device Args - Settings for the devices. See Input Devices for more details.
- Input
Partner []stringIds - A list of IDs for all Inputs which are partners of this one.
- Input
Security []stringGroups - List of input security groups.
- Input
Source stringType - Source type of the input.
- Media
Connect []InputFlows Media Connect Flow Args - A list of the MediaConnect Flows. See Media Connect Flows for more details.
- Name string
- Name of the input.
- Role
Arn string - The ARN of the role this input assumes during and after creation.
- Sources
[]Input
Source 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_tags
configuration 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
Input
Vpc Args - Settings for a private VPC Input. See VPC for more details.
- arn String
- ARN of the Input.
- attached
Channels List<String> - Channels attached to Input.
- destinations
List<Input
Destination> - Destination settings for PUSH type inputs. See Destinations for more details.
- input
Class String - The input class.
- input
Devices List<InputInput Device> - Settings for the devices. See Input Devices for more details.
- input
Partner List<String>Ids - A list of IDs for all Inputs which are partners of this one.
- input
Security List<String>Groups - List of input security groups.
- input
Source StringType - Source type of the input.
- media
Connect List<InputFlows Media Connect Flow> - A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name String
- Name of the input.
- role
Arn String - The ARN of the role this input assumes during and after creation.
- sources
List<Input
Source> - 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_tags
configuration 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
Input
Vpc - Settings for a private VPC Input. See VPC for more details.
- arn string
- ARN of the Input.
- attached
Channels string[] - Channels attached to Input.
- destinations
Input
Destination[] - Destination settings for PUSH type inputs. See Destinations for more details.
- input
Class string - The input class.
- input
Devices InputInput Device[] - Settings for the devices. See Input Devices for more details.
- input
Partner string[]Ids - A list of IDs for all Inputs which are partners of this one.
- input
Security string[]Groups - List of input security groups.
- input
Source stringType - Source type of the input.
- media
Connect InputFlows Media Connect Flow[] - A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name string
- Name of the input.
- role
Arn string - The ARN of the role this input assumes during and after creation.
- sources
Input
Source[] - 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_tags
configuration 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
Input
Vpc - 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[Input
Destination 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[Input
Source 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_tags
configuration 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
Input
Vpc Args - Settings for a private VPC Input. See VPC for more details.
- 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 Destinations for more details.
- input
Class String - The input class.
- input
Devices List<Property Map> - Settings for the devices. See Input Devices for more details.
- input
Partner List<String>Ids - A list of IDs for all Inputs which are partners of this one.
- input
Security List<String>Groups - List of input security groups.
- input
Source StringType - Source type of the input.
- media
Connect List<Property Map>Flows - A list of the MediaConnect Flows. See Media Connect Flows for more details.
- name String
- Name of the input.
- role
Arn 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_tags
configuration 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
- Stream
Name string - A unique name for the location the RTMP stream is being pushed to.
- Stream
Name string - A unique name for the location the RTMP stream is being pushed to.
- stream
Name String - A unique name for the location the RTMP stream is being pushed to.
- stream
Name 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.
- stream
Name 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
- Flow
Arn string - The ARN of the MediaConnect Flow
- Flow
Arn string - The ARN of the MediaConnect Flow
- flow
Arn String - The ARN of the MediaConnect Flow
- flow
Arn string - The ARN of the MediaConnect Flow
- flow_
arn str - The ARN of the MediaConnect Flow
- flow
Arn String - The ARN of the MediaConnect Flow
InputSource, InputSourceArgs
- Password
Param 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 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 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 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.
- password
Param 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
- Subnet
Ids List<string> - A list of 2 VPC subnet IDs from the same VPC.
- Security
Group List<string>Ids - A list of up to 5 EC2 VPC security group IDs to attach to the Input.
- Subnet
Ids []string - A list of 2 VPC subnet IDs from the same VPC.
- Security
Group []stringIds - A list of up to 5 EC2 VPC security group IDs to attach to the Input.
- subnet
Ids List<String> - A list of 2 VPC subnet IDs from the same VPC.
- security
Group List<String>Ids - A list of up to 5 EC2 VPC security group IDs to attach to the Input.
- subnet
Ids string[] - A list of 2 VPC subnet IDs from the same VPC.
- security
Group 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.
- subnet
Ids List<String> - A list of 2 VPC subnet IDs from the same VPC.
- security
Group 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
aws
Terraform Provider.