Class 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",
},
});
}
}
Inherited Members
Namespace: Pulumi.Aws.ElasticTranscoder
Assembly: Pulumi.Aws.dll
Syntax
public class Pipeline : CustomResource
Constructors
View SourcePipeline(String, PipelineArgs, CustomResourceOptions)
Create a Pipeline resource with the given unique name, arguments, and options.
Declaration
public Pipeline(string name, PipelineArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| PipelineArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AwsKmsKeyArn
The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.
Declaration
public Output<string> AwsKmsKeyArn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ContentConfig
The ContentConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. (documented below)
Declaration
public Output<PipelineContentConfig> ContentConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<PipelineContentConfig> |
ContentConfigPermissions
The permissions for the content_config object. (documented below)
Declaration
public Output<ImmutableArray<PipelineContentConfigPermission>> ContentConfigPermissions { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<PipelineContentConfigPermission>> |
InputBucket
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.
Declaration
public Output<string> InputBucket { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the pipeline. Maximum 40 characters
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Notifications
The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. (documented below)
Declaration
public Output<PipelineNotifications> Notifications { get; }
Property Value
| Type | Description |
|---|---|
| Output<PipelineNotifications> |
OutputBucket
The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.
Declaration
public Output<string> OutputBucket { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Role
The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to transcode jobs for this pipeline.
Declaration
public Output<string> Role { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ThumbnailConfig
The ThumbnailConfig object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. (documented below)
Declaration
public Output<PipelineThumbnailConfig> ThumbnailConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<PipelineThumbnailConfig> |
ThumbnailConfigPermissions
The permissions for the thumbnail_config object. (documented below)
Declaration
public Output<ImmutableArray<PipelineThumbnailConfigPermission>> ThumbnailConfigPermissions { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<PipelineThumbnailConfigPermission>> |
Methods
View SourceGet(String, Input<String>, PipelineState, CustomResourceOptions)
Get an existing Pipeline resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Pipeline Get(string name, Input<string> id, PipelineState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| PipelineState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Pipeline |