1. Packages
  2. AWS Classic
  3. API Docs
  4. medialive
  5. Input

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.medialive.Input

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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)
    public Input(String name, InputArgs args)
    public Input(String name, InputArgs args, CustomResourceOptions options)
    
    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=[{
            "streamName": "string",
        }],
        input_devices=[{
            "id": "string",
        }],
        input_security_groups=["string"],
        media_connect_flows=[{
            "flowArn": "string",
        }],
        name="string",
        role_arn="string",
        sources=[{
            "passwordParam": "string",
            "url": "string",
            "username": "string",
        }],
        tags={
            "string": "string",
        },
        vpc={
            "subnetIds": ["string"],
            "securityGroupIds": ["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

    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<InputInputDevice>
    Settings for the devices. See Input Devices for more details.
    InputSecurityGroups List<string>
    List of input security groups.
    MediaConnectFlows List<InputMediaConnectFlow>
    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.
    Tags 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 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 []InputDestinationArgs
    Destination settings for PUSH type inputs. See Destinations for more details.
    InputDevices []InputInputDeviceArgs
    Settings for the devices. See Input Devices for more details.
    InputSecurityGroups []string
    List of input security groups.
    MediaConnectFlows []InputMediaConnectFlowArgs
    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 []InputSourceArgs
    The source URLs for a PULL-type input. See Sources for more details.
    Tags 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 InputVpcArgs
    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<InputInputDevice>
    Settings for the devices. See Input Devices for more details.
    inputSecurityGroups List<String>
    List of input security groups.
    mediaConnectFlows List<InputMediaConnectFlow>
    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.
    tags 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 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 InputInputDevice[]
    Settings for the devices. See Input Devices for more details.
    inputSecurityGroups string[]
    List of input security groups.
    mediaConnectFlows InputMediaConnectFlow[]
    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.
    tags {[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 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[InputDestinationArgs]
    Destination settings for PUSH type inputs. See Destinations for more details.
    input_devices Sequence[InputInputDeviceArgs]
    Settings for the devices. See Input Devices for more details.
    input_security_groups Sequence[str]
    List of input security groups.
    media_connect_flows Sequence[InputMediaConnectFlowArgs]
    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[InputSourceArgs]
    The source URLs for a PULL-type input. See Sources for more details.
    tags 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 InputVpcArgs
    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.
    inputSecurityGroups List<String>
    List of input security groups.
    mediaConnectFlows List<Property Map>
    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.
    tags 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.
    AttachedChannels List<string>
    Channels attached to Input.
    Id string
    The provider-assigned unique ID for this managed resource.
    InputClass string
    The input class.
    InputPartnerIds List<string>
    A list of IDs for all Inputs which are partners of this one.
    InputSourceType string
    Source type of the input.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    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.
    InputPartnerIds []string
    A list of IDs for all Inputs which are partners of this one.
    InputSourceType string
    Source type of the input.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    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.
    inputPartnerIds List<String>
    A list of IDs for all Inputs which are partners of this one.
    inputSourceType String
    Source type of the input.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    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.
    inputPartnerIds string[]
    A list of IDs for all Inputs which are partners of this one.
    inputSourceType string
    Source type of the input.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    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_ids Sequence[str]
    A list of IDs for all Inputs which are partners of this one.
    input_source_type str
    Source type of the input.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    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.
    inputPartnerIds List<String>
    A list of IDs for all Inputs which are partners of this one.
    inputSourceType String
    Source type of the input.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    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.
    The following state arguments are supported:
    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<InputInputDevice>
    Settings for the devices. See Input Devices for more details.
    InputPartnerIds List<string>
    A list of IDs for all Inputs which are partners of this one.
    InputSecurityGroups List<string>
    List of input security groups.
    InputSourceType string
    Source type of the input.
    MediaConnectFlows List<InputMediaConnectFlow>
    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.
    Tags 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.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    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 []InputDestinationArgs
    Destination settings for PUSH type inputs. See Destinations for more details.
    InputClass string
    The input class.
    InputDevices []InputInputDeviceArgs
    Settings for the devices. See Input Devices for more details.
    InputPartnerIds []string
    A list of IDs for all Inputs which are partners of this one.
    InputSecurityGroups []string
    List of input security groups.
    InputSourceType string
    Source type of the input.
    MediaConnectFlows []InputMediaConnectFlowArgs
    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 []InputSourceArgs
    The source URLs for a PULL-type input. See Sources for more details.
    Tags 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.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    Type string

    The different types of inputs that AWS Elemental MediaLive supports.

    The following arguments are optional:

    Vpc InputVpcArgs
    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<InputInputDevice>
    Settings for the devices. See Input Devices for more details.
    inputPartnerIds List<String>
    A list of IDs for all Inputs which are partners of this one.
    inputSecurityGroups List<String>
    List of input security groups.
    inputSourceType String
    Source type of the input.
    mediaConnectFlows List<InputMediaConnectFlow>
    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.
    tags 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.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    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 InputInputDevice[]
    Settings for the devices. See Input Devices for more details.
    inputPartnerIds string[]
    A list of IDs for all Inputs which are partners of this one.
    inputSecurityGroups string[]
    List of input security groups.
    inputSourceType string
    Source type of the input.
    mediaConnectFlows InputMediaConnectFlow[]
    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.
    tags {[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.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    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[InputDestinationArgs]
    Destination settings for PUSH type inputs. See Destinations for more details.
    input_class str
    The input class.
    input_devices Sequence[InputInputDeviceArgs]
    Settings for the devices. See Input Devices for more details.
    input_partner_ids Sequence[str]
    A list of IDs for all Inputs which are partners of this one.
    input_security_groups Sequence[str]
    List of input security groups.
    input_source_type str
    Source type of the input.
    media_connect_flows Sequence[InputMediaConnectFlowArgs]
    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[InputSourceArgs]
    The source URLs for a PULL-type input. See Sources for more details.
    tags 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.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    type str

    The different types of inputs that AWS Elemental MediaLive supports.

    The following arguments are optional:

    vpc InputVpcArgs
    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.
    inputPartnerIds List<String>
    A list of IDs for all Inputs which are partners of this one.
    inputSecurityGroups List<String>
    List of input security groups.
    inputSourceType String
    Source type of the input.
    mediaConnectFlows List<Property Map>
    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.
    tags 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.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    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.
    SecurityGroupIds List<string>
    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.
    SecurityGroupIds []string
    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.
    securityGroupIds List<String>
    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.
    securityGroupIds string[]
    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_ids Sequence[str]
    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.
    securityGroupIds List<String>
    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.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi