InputArgs

data class InputArgs(val destinations: Output<List<InputDestinationArgs>>? = null, val inputDevices: Output<List<InputInputDeviceArgs>>? = null, val inputSecurityGroups: Output<List<String>>? = null, val mediaConnectFlows: Output<List<InputMediaConnectFlowArgs>>? = null, val name: Output<String>? = null, val roleArn: Output<String>? = null, val sources: Output<List<InputSourceArgs>>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<String>? = null, val vpc: Output<InputVpcArgs>? = null) : ConvertibleToJava<InputArgs>

Resource for managing an AWS MediaLive Input.

Example Usage

Basic Usage

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 exampleInputSecurityGroup = new InputSecurityGroup("exampleInputSecurityGroup", 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()
.inputSecurityGroups(exampleInputSecurityGroup.id())
.type("UDP_PUSH")
.tags(Map.of("ENVIRONMENT", "prod"))
.build());
}
}

Import

MediaLive Input can be imported using the id, e.g.,

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

Constructors

Link copied to clipboard
constructor(destinations: Output<List<InputDestinationArgs>>? = null, inputDevices: Output<List<InputInputDeviceArgs>>? = null, inputSecurityGroups: Output<List<String>>? = null, mediaConnectFlows: Output<List<InputMediaConnectFlowArgs>>? = null, name: Output<String>? = null, roleArn: Output<String>? = null, sources: Output<List<InputSourceArgs>>? = null, tags: Output<Map<String, String>>? = null, type: Output<String>? = null, vpc: Output<InputVpcArgs>? = null)

Properties

Link copied to clipboard
val destinations: Output<List<InputDestinationArgs>>? = null

Destination settings for PUSH type inputs. See Destinations for more details.

Link copied to clipboard
val inputDevices: Output<List<InputInputDeviceArgs>>? = null

Settings for the devices. See Input Devices for more details.

Link copied to clipboard
val inputSecurityGroups: Output<List<String>>? = null

List of input security groups.

Link copied to clipboard

A list of the MediaConnect Flows. See Media Connect Flows for more details.

Link copied to clipboard
val name: Output<String>? = null

Name of the input.

Link copied to clipboard
val roleArn: Output<String>? = null

The ARN of the role this input assumes during and after creation.

Link copied to clipboard
val sources: Output<List<InputSourceArgs>>? = null

The source URLs for a PULL-type input. See Sources for more details.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val type: Output<String>? = null

The different types of inputs that AWS Elemental MediaLive supports. The following arguments are optional:

Link copied to clipboard
val vpc: Output<InputVpcArgs>? = null

Settings for a private VPC Input. See VPC for more details.

Functions

Link copied to clipboard
open override fun toJava(): InputArgs