Pipeline

class Pipeline : KotlinCustomResource

Provides an Elastic Transcoder pipeline resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.elastictranscoder.Pipeline;
import com.pulumi.aws.elastictranscoder.PipelineArgs;
import com.pulumi.aws.elastictranscoder.inputs.PipelineContentConfigArgs;
import com.pulumi.aws.elastictranscoder.inputs.PipelineThumbnailConfigArgs;
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 bar = new Pipeline("bar", PipelineArgs.builder()
.inputBucket(aws_s3_bucket.input_bucket().id())
.role(aws_iam_role.test_role().arn())
.contentConfig(PipelineContentConfigArgs.builder()
.bucket(aws_s3_bucket.content_bucket().id())
.storageClass("Standard")
.build())
.thumbnailConfig(PipelineThumbnailConfigArgs.builder()
.bucket(aws_s3_bucket.thumb_bucket().id())
.storageClass("Standard")
.build())
.build());
}
}

Import

Elastic Transcoder pipelines can be imported using the id, e.g.,

$ pulumi import aws:elastictranscoder/pipeline:Pipeline basic_pipeline 1407981661351-cttk8b

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the Elastictranscoder pipeline.

Link copied to clipboard
val awsKmsKeyArn: Output<String>?

The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.

Link copied to clipboard

The ContentConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. (documented below)

Link copied to clipboard

The permissions for the content_config object. (documented below)

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val inputBucket: Output<String>

The Amazon S3 bucket in which you saved the media files that you want to transcode and the graphics that you want to use as watermarks.

Link copied to clipboard
val name: Output<String>

The name of the pipeline. Maximum 40 characters

Link copied to clipboard

The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. (documented below)

Link copied to clipboard
val outputBucket: Output<String>

The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val role: Output<String>

The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to transcode jobs for this pipeline.

Link copied to clipboard

The ThumbnailConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. (documented below)

Link copied to clipboard

The permissions for the thumbnail_config object. (documented below) The content_config object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists: which bucket to use, and the storage class that you want to assign to the files. If you specify values for content_config, you must also specify values for thumbnail_config. If you specify values for content_config and thumbnail_config, omit the output_bucket object.

Link copied to clipboard
val urn: Output<String>