Package com.pulumi.aws.elastictranscoder
Class Pipeline
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.elastictranscoder.Pipeline
-
public class Pipeline extends com.pulumi.resources.CustomResource
Provides an Elastic Transcoder pipeline resource. ## Example Usage <!--Start PulumiCodeChooser --> ```java 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(inputBucket.id()) .name("aws_elastictranscoder_pipeline_my_test_") .role(testRole.arn()) .contentConfig(PipelineContentConfigArgs.builder() .bucket(contentBucket.id()) .storageClass("Standard") .build()) .thumbnailConfig(PipelineThumbnailConfigArgs.builder() .bucket(thumbBucket.id()) .storageClass("Standard") .build()) .build()); } } ``` <!--End PulumiCodeChooser --> ## Import Using `pulumi import`, import Elastic Transcoder pipelines using the `id`. For example: ```sh $ pulumi import aws:elastictranscoder/pipeline:Pipeline basic_pipeline 1407981661351-cttk8b ```
-
-
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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
arn()
com.pulumi.core.Output<java.util.Optional<java.lang.String>>
awsKmsKeyArn()
com.pulumi.core.Output<PipelineContentConfig>
contentConfig()
com.pulumi.core.Output<java.util.Optional<java.util.List<PipelineContentConfigPermission>>>
contentConfigPermissions()
static Pipeline
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, PipelineState state, 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.com.pulumi.core.Output<java.lang.String>
inputBucket()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.util.Optional<PipelineNotifications>>
notifications()
com.pulumi.core.Output<java.lang.String>
outputBucket()
com.pulumi.core.Output<java.lang.String>
role()
com.pulumi.core.Output<PipelineThumbnailConfig>
thumbnailConfig()
com.pulumi.core.Output<java.util.Optional<java.util.List<PipelineThumbnailConfigPermission>>>
thumbnailConfigPermissions()
-
-
-
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:
- The AWS Key Management Service (AWS 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 `content_config` 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.
-
role
public com.pulumi.core.Output<java.lang.String> role()
- Returns:
- The IAM Amazon Resource Name (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 `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.
-
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.
-
-