AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The TestRole
action lets you determine whether the IAM role you are using
has sufficient permissions to let Elastic Transcoder perform tasks associated with
the transcoding process. The action attempts to assume the specified IAM role, checks
read access to the input and output buckets, and tries to send a test notification
to Amazon SNS topics that you specify.
Namespace: Amazon.ElasticTranscoder.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class TestRoleRequest : AmazonElasticTranscoderRequest IRequestEvents
The TestRoleRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
TestRoleRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
InputBucket | System.String |
Gets and sets the property InputBucket.
The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket. |
![]() |
OutputBucket | System.String |
Gets and sets the property OutputBucket.
The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket. |
![]() |
Role | System.String |
Gets and sets the property Role.
The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test. |
![]() |
Topics | System.Collections.Generic.List<System.String> |
Gets and sets the property Topics.
The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1