com.pulumi.aws.mediaconvert.kotlin.QueueArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.mediaconvert.kotlin
import com.pulumi.aws.mediaconvert.QueueArgs.builder
import com.pulumi.aws.mediaconvert.kotlin.inputs.QueueReservationPlanSettingsArgs
import com.pulumi.aws.mediaconvert.kotlin.inputs.QueueReservationPlanSettingsArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Provides an AWS Elemental MediaConvert Queue.
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
* const test = new aws.mediaconvert.Queue("test", {name: "tf-test-queue"});
* ```
* ```python
* import pulumi
* import pulumi_aws as aws
* test = aws.mediaconvert.Queue("test", name="tf-test-queue")
* ```
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using Aws = Pulumi.Aws;
* return await Deployment.RunAsync(() =>
* {
* var test = new Aws.MediaConvert.Queue("test", new()
* {
* Name = "tf-test-queue",
* });
* });
* ```
* ```go
* package main
* import (
* "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mediaconvert"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := mediaconvert.NewQueue(ctx, "test", &mediaconvert.QueueArgs{
* Name: pulumi.String("tf-test-queue"),
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.aws.mediaconvert.Queue;
* import com.pulumi.aws.mediaconvert.QueueArgs;
* 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 test = new Queue("test", QueueArgs.builder()
* .name("tf-test-queue")
* .build());
* }
* }
* ```
* ```yaml
* resources:
* test:
* type: aws:mediaconvert:Queue
* properties:
* name: tf-test-queue
* ```
*
* ## Import
* Using `pulumi import`, import Media Convert Queue using the queue name. For example:
* ```sh
* $ pulumi import aws:mediaconvert/queue:Queue test tf-test-queue
* ```
* @property description A description of the queue
* @property name A unique identifier describing the queue
* @property pricingPlan Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values are `ON_DEMAND` or `RESERVED`. Default to `ON_DEMAND`.
* @property reservationPlanSettings A detail pricing plan of the reserved queue. See below.
* @property status A status of the queue. Valid values are `ACTIVE` or `RESERVED`. Default to `PAUSED`.
* @property tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*/
public data class QueueArgs(
public val description: Output? = null,
public val name: Output? = null,
public val pricingPlan: Output? = null,
public val reservationPlanSettings: Output? = null,
public val status: Output? = null,
public val tags: Output
© 2015 - 2024 Weber Informatics LLC | Privacy Policy