com.pulumi.aws.medialive.Input Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.medialive;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.medialive.InputArgs;
import com.pulumi.aws.medialive.inputs.InputState;
import com.pulumi.aws.medialive.outputs.InputDestination;
import com.pulumi.aws.medialive.outputs.InputInputDevice;
import com.pulumi.aws.medialive.outputs.InputMediaConnectFlow;
import com.pulumi.aws.medialive.outputs.InputSource;
import com.pulumi.aws.medialive.outputs.InputVpc;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Resource for managing an AWS MediaLive Input.
*
* ## Example Usage
*
* ### Basic Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* 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());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Using `pulumi import`, import MediaLive Input using the `id`. For example:
*
* ```sh
* $ pulumi import aws:medialive/input:Input example 12345678
* ```
*
*/
@ResourceType(type="aws:medialive/input:Input")
public class Input extends com.pulumi.resources.CustomResource {
/**
* ARN of the Input.
*
*/
@Export(name="arn", refs={String.class}, tree="[0]")
private Output arn;
/**
* @return ARN of the Input.
*
*/
public Output arn() {
return this.arn;
}
/**
* Channels attached to Input.
*
*/
@Export(name="attachedChannels", refs={List.class,String.class}, tree="[0,1]")
private Output> attachedChannels;
/**
* @return Channels attached to Input.
*
*/
public Output> attachedChannels() {
return this.attachedChannels;
}
/**
* Destination settings for PUSH type inputs. See Destinations for more details.
*
*/
@Export(name="destinations", refs={List.class,InputDestination.class}, tree="[0,1]")
private Output* @Nullable */ List> destinations;
/**
* @return Destination settings for PUSH type inputs. See Destinations for more details.
*
*/
public Output>> destinations() {
return Codegen.optional(this.destinations);
}
/**
* The input class.
*
*/
@Export(name="inputClass", refs={String.class}, tree="[0]")
private Output inputClass;
/**
* @return The input class.
*
*/
public Output inputClass() {
return this.inputClass;
}
/**
* Settings for the devices. See Input Devices for more details.
*
*/
@Export(name="inputDevices", refs={List.class,InputInputDevice.class}, tree="[0,1]")
private Output> inputDevices;
/**
* @return Settings for the devices. See Input Devices for more details.
*
*/
public Output> inputDevices() {
return this.inputDevices;
}
/**
* A list of IDs for all Inputs which are partners of this one.
*
*/
@Export(name="inputPartnerIds", refs={List.class,String.class}, tree="[0,1]")
private Output> inputPartnerIds;
/**
* @return A list of IDs for all Inputs which are partners of this one.
*
*/
public Output> inputPartnerIds() {
return this.inputPartnerIds;
}
/**
* List of input security groups.
*
*/
@Export(name="inputSecurityGroups", refs={List.class,String.class}, tree="[0,1]")
private Output* @Nullable */ List> inputSecurityGroups;
/**
* @return List of input security groups.
*
*/
public Output>> inputSecurityGroups() {
return Codegen.optional(this.inputSecurityGroups);
}
/**
* Source type of the input.
*
*/
@Export(name="inputSourceType", refs={String.class}, tree="[0]")
private Output inputSourceType;
/**
* @return Source type of the input.
*
*/
public Output inputSourceType() {
return this.inputSourceType;
}
/**
* A list of the MediaConnect Flows. See Media Connect Flows for more details.
*
*/
@Export(name="mediaConnectFlows", refs={List.class,InputMediaConnectFlow.class}, tree="[0,1]")
private Output> mediaConnectFlows;
/**
* @return A list of the MediaConnect Flows. See Media Connect Flows for more details.
*
*/
public Output> mediaConnectFlows() {
return this.mediaConnectFlows;
}
/**
* Name of the input.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return Name of the input.
*
*/
public Output name() {
return this.name;
}
/**
* The ARN of the role this input assumes during and after creation.
*
*/
@Export(name="roleArn", refs={String.class}, tree="[0]")
private Output roleArn;
/**
* @return The ARN of the role this input assumes during and after creation.
*
*/
public Output roleArn() {
return this.roleArn;
}
/**
* The source URLs for a PULL-type input. See Sources for more details.
*
*/
@Export(name="sources", refs={List.class,InputSource.class}, tree="[0,1]")
private Output> sources;
/**
* @return The source URLs for a PULL-type input. See Sources for more details.
*
*/
public Output> sources() {
return this.sources;
}
/**
* 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.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return 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.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
@Export(name="tagsAll", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy