Show / Hide Table of Contents

Class S3RoleBasedOutput

S3RoleBasedOutput

Inheritance
System.Object
BitmovinResponse
BitmovinResource
Output
S3RoleBasedOutput
Inherited Members
Output.Acl
BitmovinResource.Name
BitmovinResource.Description
BitmovinResource.CreatedAt
BitmovinResource.ModifiedAt
BitmovinResource.CustomData
BitmovinResponse.Id
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Models
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class S3RoleBasedOutput : Output

Properties

BucketName

Amazon S3 bucket name (required)

Declaration
public string BucketName { get; set; }
Property Value
Type Description
System.String

CloudRegion

CloudRegion

Declaration
public AwsCloudRegion? CloudRegion { get; set; }
Property Value
Type Description
System.Nullable<AwsCloudRegion>

ExternalId

External ID used together with the IAM role identified by roleArn to assume S3 access. This ID is provided by the API if externalIdMode is set to GLOBAL or GENERATED. If present, it has to be added to the trust policy of the IAM role roleArn configured above, otherwise the API won't be able to write to the S3 bucket. An appropriate trust policy would look like this: { \&quot;Effect\&quot;: \&quot;Allow\&quot;, \&quot;Principal\&quot;: { \&quot;AWS\&quot;: \&quot;arn:aws:iam::630681592166:user/bitmovinCustomerS3Access\&quot; }, \&quot;Action\&quot;: \&quot;sts:AssumeRole\&quot;, \&quot;Condition\&quot;: { \&quot;StringEquals\&quot;: { \&quot;sts:ExternalId\&quot;: \&quot;{{externalId}}\&quot; } } } where &quot;{{externalId}}&quot; is the generated ID. This property is optional but we recommend it as an additional security feature. We will use both the roleArn and the externalId to access your S3 data. If the Amazon IAM role has an external ID configured but it is not provided in the output configuration Bitmovin won't be able to write to the S3 bucket. Also if the external ID does not match the one configured for the IAM role on AWS side, Bitmovin won't be able to access the S3 bucket. If you need to change the external ID that is used by your IAM role, you need to create a new output, and use the external ID provided by the API to update your IAM role. For more information please visit https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html

Declaration
public string ExternalId { get; set; }
Property Value
Type Description
System.String

ExternalIdMode

ExternalIdMode

Declaration
public ExternalIdMode? ExternalIdMode { get; set; }
Property Value
Type Description
System.Nullable<ExternalIdMode>

Md5MetaTag

If set a user defined tag (x-amz-meta-) with that key will be used to store the MD5 hash of the file.

Declaration
public string Md5MetaTag { get; set; }
Property Value
Type Description
System.String

RoleArn

Amazon ARN of the IAM Role (Identity and Access Management Role) that will be assumed for S3 access. This role has to be created by the owner of the account with the S3 bucket (i.e., you as a customer). For Bitmovin to be able to assume this role, the following has to be added to the trust policy of the role: { \&quot;Effect\&quot;: \&quot;Allow\&quot;, \&quot;Principal\&quot;: { \&quot;AWS\&quot;: \&quot;arn:aws:iam::630681592166:user/bitmovinCustomerS3Access\&quot; }, \&quot;Action\&quot;: \&quot;sts:AssumeRole\&quot;, \&quot;Condition\&quot;: { \&quot;StringEquals\&quot;: { \&quot;sts:ExternalId\&quot;: \&quot;{{externalId}}\&quot; } } } where &quot;arn:aws:iam::630681592166:user/bitmovinCustomerS3Access&quot; is the Bitmovin user used for the access. The Condition is optional but we highly recommend it, see property externalId below for more information. This setup allows Bitmovin assume the provided IAM role and to write data to your S3 bucket. Please note that the IAM role has to have write access to S3. For more information about role creation please visit https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-service.html#roles-creatingrole-service-console (required)

Declaration
public string RoleArn { get; set; }
Property Value
Type Description
System.String

SignatureVersion

Specifies the method used for authentication

Declaration
public S3SignatureVersion? SignatureVersion { get; set; }
Property Value
Type Description
System.Nullable<S3SignatureVersion>
Back to top Generated by DocFX