Pipeline

Provides an Elastic Transcoder pipeline resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var bar = new Aws.ElasticTranscoder.Pipeline("bar", new Aws.ElasticTranscoder.PipelineArgs
        {
            ContentConfig = new Aws.ElasticTranscoder.Inputs.PipelineContentConfigArgs
            {
                Bucket = aws_s3_bucket.Content_bucket.Bucket,
                StorageClass = "Standard",
            },
            InputBucket = aws_s3_bucket.Input_bucket.Bucket,
            Role = aws_iam_role.Test_role.Arn,
            ThumbnailConfig = new Aws.ElasticTranscoder.Inputs.PipelineThumbnailConfigArgs
            {
                Bucket = aws_s3_bucket.Thumb_bucket.Bucket,
                StorageClass = "Standard",
            },
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/elastictranscoder"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := elastictranscoder.NewPipeline(ctx, "bar", &elastictranscoder.PipelineArgs{
            ContentConfig: &elastictranscoder.PipelineContentConfigArgs{
                Bucket:       pulumi.String(aws_s3_bucket.Content_bucket.Bucket),
                StorageClass: pulumi.String("Standard"),
            },
            InputBucket: pulumi.String(aws_s3_bucket.Input_bucket.Bucket),
            Role:        pulumi.String(aws_iam_role.Test_role.Arn),
            ThumbnailConfig: &elastictranscoder.PipelineThumbnailConfigArgs{
                Bucket:       pulumi.String(aws_s3_bucket.Thumb_bucket.Bucket),
                StorageClass: pulumi.String("Standard"),
            },
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

bar = aws.elastictranscoder.Pipeline("bar",
    content_config={
        "bucket": aws_s3_bucket["content_bucket"]["bucket"],
        "storage_class": "Standard",
    },
    input_bucket=aws_s3_bucket["input_bucket"]["bucket"],
    role=aws_iam_role["test_role"]["arn"],
    thumbnail_config={
        "bucket": aws_s3_bucket["thumb_bucket"]["bucket"],
        "storage_class": "Standard",
    })
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const bar = new aws.elastictranscoder.Pipeline("bar", {
    contentConfig: {
        bucket: aws_s3_bucket_content_bucket.bucket,
        storageClass: "Standard",
    },
    inputBucket: aws_s3_bucket_input_bucket.bucket,
    role: aws_iam_role_test_role.arn,
    thumbnailConfig: {
        bucket: aws_s3_bucket_thumb_bucket.bucket,
        storageClass: "Standard",
    },
});

Create a Pipeline Resource

def Pipeline(resource_name, opts=None, aws_kms_key_arn=None, content_config=None, content_config_permissions=None, input_bucket=None, name=None, notifications=None, output_bucket=None, role=None, thumbnail_config=None, thumbnail_config_permissions=None, __props__=None);
func NewPipeline(ctx *Context, name string, args PipelineArgs, opts ...ResourceOption) (*Pipeline, error)
public Pipeline(string name, PipelineArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args PipelineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PipelineArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PipelineArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Pipeline Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Pipeline resource accepts the following input properties:

InputBucket 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.

Role string

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

AwsKmsKeyArn string

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

ContentConfig PipelineContentConfigArgs

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 List<PipelineContentConfigPermissionArgs>

The permissions for the content_config object. (documented below)

Name string

The name of the pipeline. Maximum 40 characters

Notifications PipelineNotificationsArgs

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

OutputBucket string

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

ThumbnailConfig PipelineThumbnailConfigArgs

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

ThumbnailConfigPermissions List<PipelineThumbnailConfigPermissionArgs>

The permissions for the thumbnail_config object. (documented below)

InputBucket 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.

Role string

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

AwsKmsKeyArn string

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

ContentConfig PipelineContentConfig

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 []PipelineContentConfigPermission

The permissions for the content_config object. (documented below)

Name string

The name of the pipeline. Maximum 40 characters

Notifications PipelineNotifications

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

OutputBucket string

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

ThumbnailConfig PipelineThumbnailConfig

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

ThumbnailConfigPermissions []PipelineThumbnailConfigPermission

The permissions for the thumbnail_config object. (documented below)

inputBucket 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.

role string

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

awsKmsKeyArn string

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

contentConfig PipelineContentConfig

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 PipelineContentConfigPermission[]

The permissions for the content_config object. (documented below)

name string

The name of the pipeline. Maximum 40 characters

notifications PipelineNotifications

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

outputBucket string

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

thumbnailConfig PipelineThumbnailConfig

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

thumbnailConfigPermissions PipelineThumbnailConfigPermission[]

The permissions for the thumbnail_config object. (documented below)

input_bucket str

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.

role str

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

aws_kms_key_arn str

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

content_config Dict[PipelineContentConfig]

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

content_config_permissions List[PipelineContentConfigPermission]

The permissions for the content_config object. (documented below)

name str

The name of the pipeline. Maximum 40 characters

notifications Dict[PipelineNotifications]

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

output_bucket str

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

thumbnail_config Dict[PipelineThumbnailConfig]

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

thumbnail_config_permissions List[PipelineThumbnailConfigPermission]

The permissions for the thumbnail_config object. (documented below)

Outputs

All input properties are implicitly available as output properties. Additionally, the Pipeline resource produces the following output properties:

Arn string
Id string
The provider-assigned unique ID for this managed resource.
Arn string
Id string
The provider-assigned unique ID for this managed resource.
arn string
id string
The provider-assigned unique ID for this managed resource.
arn str
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Pipeline Resource

Get an existing Pipeline 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?: PipelineState, opts?: CustomResourceOptions): Pipeline
static get(resource_name, id, opts=None, arn=None, aws_kms_key_arn=None, content_config=None, content_config_permissions=None, input_bucket=None, name=None, notifications=None, output_bucket=None, role=None, thumbnail_config=None, thumbnail_config_permissions=None, __props__=None);
func GetPipeline(ctx *Context, name string, id IDInput, state *PipelineState, opts ...ResourceOption) (*Pipeline, error)
public static Pipeline Get(string name, Input<string> id, PipelineState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Arn string
AwsKmsKeyArn string

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

ContentConfig PipelineContentConfigArgs

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 List<PipelineContentConfigPermissionArgs>

The permissions for the content_config object. (documented below)

InputBucket 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.

Name string

The name of the pipeline. Maximum 40 characters

Notifications PipelineNotificationsArgs

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

OutputBucket string

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

Role string

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

ThumbnailConfig PipelineThumbnailConfigArgs

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

ThumbnailConfigPermissions List<PipelineThumbnailConfigPermissionArgs>

The permissions for the thumbnail_config object. (documented below)

Arn string
AwsKmsKeyArn string

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

ContentConfig PipelineContentConfig

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 []PipelineContentConfigPermission

The permissions for the content_config object. (documented below)

InputBucket 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.

Name string

The name of the pipeline. Maximum 40 characters

Notifications PipelineNotifications

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

OutputBucket string

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

Role string

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

ThumbnailConfig PipelineThumbnailConfig

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

ThumbnailConfigPermissions []PipelineThumbnailConfigPermission

The permissions for the thumbnail_config object. (documented below)

arn string
awsKmsKeyArn string

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

contentConfig PipelineContentConfig

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 PipelineContentConfigPermission[]

The permissions for the content_config object. (documented below)

inputBucket 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.

name string

The name of the pipeline. Maximum 40 characters

notifications PipelineNotifications

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

outputBucket string

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

role string

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

thumbnailConfig PipelineThumbnailConfig

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

thumbnailConfigPermissions PipelineThumbnailConfigPermission[]

The permissions for the thumbnail_config object. (documented below)

arn str
aws_kms_key_arn str

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

content_config Dict[PipelineContentConfig]

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

content_config_permissions List[PipelineContentConfigPermission]

The permissions for the content_config object. (documented below)

input_bucket str

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 str

The name of the pipeline. Maximum 40 characters

notifications Dict[PipelineNotifications]

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

output_bucket str

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

role str

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

thumbnail_config Dict[PipelineThumbnailConfig]

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

thumbnail_config_permissions List[PipelineThumbnailConfigPermission]

The permissions for the thumbnail_config object. (documented below)

Supporting Types

PipelineContentConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Bucket string

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

StorageClass string

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the files and playlists that it stores in your Amazon S3 bucket.

Bucket string

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

StorageClass string

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the files and playlists that it stores in your Amazon S3 bucket.

bucket string

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

storageClass string

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the files and playlists that it stores in your Amazon S3 bucket.

bucket str

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

storage_class str

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the files and playlists that it stores in your Amazon S3 bucket.

PipelineContentConfigPermission

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Accesses List<string>

The permission that you want to give to the AWS user that you specified in content_config_permissions.grantee

Grantee string

The AWS user or group that you want to have access to transcoded files and playlists.

GranteeType string

Specify the type of value that appears in the content_config_permissions.grantee object. Valid values are Canonical, Email or Group.

Accesses []string

The permission that you want to give to the AWS user that you specified in content_config_permissions.grantee

Grantee string

The AWS user or group that you want to have access to transcoded files and playlists.

GranteeType string

Specify the type of value that appears in the content_config_permissions.grantee object. Valid values are Canonical, Email or Group.

accesses string[]

The permission that you want to give to the AWS user that you specified in content_config_permissions.grantee

grantee string

The AWS user or group that you want to have access to transcoded files and playlists.

granteeType string

Specify the type of value that appears in the content_config_permissions.grantee object. Valid values are Canonical, Email or Group.

accesses List[str]

The permission that you want to give to the AWS user that you specified in content_config_permissions.grantee

grantee str

The AWS user or group that you want to have access to transcoded files and playlists.

granteeType str

Specify the type of value that appears in the content_config_permissions.grantee object. Valid values are Canonical, Email or Group.

PipelineNotifications

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Completed string

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.

Error string

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.

Progressing string

The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline.

Warning string

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.

Completed string

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.

Error string

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.

Progressing string

The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline.

Warning string

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.

completed string

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.

error string

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.

progressing string

The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline.

warning string

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.

completed str

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline.

error str

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline.

progressing str

The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline.

warning str

The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline.

PipelineThumbnailConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Bucket string

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

StorageClass string

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.

Bucket string

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

StorageClass string

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.

bucket string

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

storageClass string

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.

bucket str

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

storage_class str

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.

PipelineThumbnailConfigPermission

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Accesses List<string>

The permission that you want to give to the AWS user that you specified in thumbnail_config_permissions.grantee.

Grantee string

The AWS user or group that you want to have access to thumbnail files.

GranteeType string

Specify the type of value that appears in the thumbnail_config_permissions.grantee object.

Accesses []string

The permission that you want to give to the AWS user that you specified in thumbnail_config_permissions.grantee.

Grantee string

The AWS user or group that you want to have access to thumbnail files.

GranteeType string

Specify the type of value that appears in the thumbnail_config_permissions.grantee object.

accesses string[]

The permission that you want to give to the AWS user that you specified in thumbnail_config_permissions.grantee.

grantee string

The AWS user or group that you want to have access to thumbnail files.

granteeType string

Specify the type of value that appears in the thumbnail_config_permissions.grantee object.

accesses List[str]

The permission that you want to give to the AWS user that you specified in thumbnail_config_permissions.grantee.

grantee str

The AWS user or group that you want to have access to thumbnail files.

granteeType str

Specify the type of value that appears in the thumbnail_config_permissions.grantee object.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.