Class Pipeline


  • public class Pipeline
    extends com.pulumi.resources.CustomResource
    Provides an Elastic Transcoder pipeline resource. > **Warning:** This resource is deprecated. Use [AWS Elemental MediaConvert](https://aws.amazon.com/blogs/media/migrating-workflows-from-amazon-elastic-transcoder-to-aws-elemental-mediaconvert/) instead. AWS will [discontinue support for Amazon Elastic Transcoder](https://aws.amazon.com/blogs/media/support-for-amazon-elastic-transcoder-ending-soon/), effective November 13, 2025. ## 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.ArrayList;
     import java.util.Arrays;
     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()
                 .contentConfig(PipelineContentConfigArgs.builder()
                     .bucket(contentBucket.id())
                     .storageClass("Standard")
                     .build())
                 .thumbnailConfig(PipelineThumbnailConfigArgs.builder()
                     .bucket(thumbBucket.id())
                     .storageClass("Standard")
                     .build())
                 .inputBucket(inputBucket.id())
                 .name("aws_elastictranscoder_pipeline_my_test_")
                 .role(testRole.arn())
                 .build());
     
         }
     }
     
     
    ## Import Using `pulumi import`, import Elastic Transcoder pipelines using the `id`. For example: ```sh $ pulumi import aws:elastictranscoder/pipeline:Pipeline basic_pipeline 1407981661351-cttk8b ```
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Constructor Summary

      Constructors 
      Constructor Description
      Pipeline​(java.lang.String name)  
      Pipeline​(java.lang.String name, PipelineArgs args)  
      Pipeline​(java.lang.String name, PipelineArgs args, com.pulumi.resources.CustomResourceOptions options)  
    • Constructor Detail

      • Pipeline

        public Pipeline​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • Pipeline

        public Pipeline​(java.lang.String name,
                        PipelineArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • Pipeline

        public Pipeline​(java.lang.String name,
                        PipelineArgs args,
                        @Nullable
                        com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • arn

        public com.pulumi.core.Output<java.lang.String> arn()
        Returns:
        The ARN of the Elastictranscoder pipeline.
      • awsKmsKeyArn

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> awsKmsKeyArn()
        Returns:
        KMS key that you want to use with this pipeline.
      • contentConfig

        public com.pulumi.core.Output<PipelineContentConfig> contentConfig()
        Returns:
        The ContentConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. (documented below)
      • contentConfigPermissions

        public com.pulumi.core.Output<java.util.Optional<java.util.List<PipelineContentConfigPermission>>> contentConfigPermissions()
        Returns:
        The permissions for the `contentConfig` object. (documented below)
      • inputBucket

        public com.pulumi.core.Output<java.lang.String> inputBucket()
        Returns:
        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.
      • name

        public com.pulumi.core.Output<java.lang.String> name()
        Returns:
        The name of the pipeline. Maximum 40 characters
      • notifications

        public com.pulumi.core.Output<java.util.Optional<PipelineNotifications>> notifications()
        Returns:
        The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. (documented below)
      • outputBucket

        public com.pulumi.core.Output<java.lang.String> outputBucket()
        Returns:
        The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.
      • region

        public com.pulumi.core.Output<java.lang.String> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • role

        public com.pulumi.core.Output<java.lang.String> role()
        Returns:
        IAM ARN for the role that you want Elastic Transcoder to use to transcode jobs for this pipeline.
      • thumbnailConfig

        public com.pulumi.core.Output<PipelineThumbnailConfig> thumbnailConfig()
        Returns:
        The ThumbnailConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. (documented below)
      • thumbnailConfigPermissions

        public com.pulumi.core.Output<java.util.Optional<java.util.List<PipelineThumbnailConfigPermission>>> thumbnailConfigPermissions()
        Returns:
        The permissions for the `thumbnailConfig` object. (documented below) See ["Create Pipeline"](http://docs.aws.amazon.com/elastictranscoder/latest/developerguide/create-pipeline.html) in the AWS docs for reference. The `contentConfig` 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 `contentConfig`, you must also specify values for `thumbnailConfig`. If you specify values for `contentConfig` and `thumbnailConfig`, omit the `outputBucket` object.
      • get

        public static Pipeline get​(java.lang.String name,
                                   com.pulumi.core.Output<java.lang.String> id,
                                   @Nullable
                                   PipelineState state,
                                   @Nullable
                                   com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        state -
        options - Optional settings to control the behavior of the CustomResource.