Skip to content

Create Storage Configuration

ivsrealtime_create_storage_configuration R Documentation

Creates a new storage configuration, used to enable recording to Amazon S3

Description

Creates a new storage configuration, used to enable recording to Amazon S3. When a StorageConfiguration is created, IVS will modify the S3 bucketPolicy of the provided bucket. This will ensure that IVS has sufficient permissions to write content to the provided bucket.

Usage

ivsrealtime_create_storage_configuration(name, s3, tags)

Arguments

name

Storage configuration name. The value does not need to be unique.

s3

[required] A complex type that contains a storage configuration for where recorded video will be stored.

tags

Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints on tags beyond what is documented there.

Value

A list with the following syntax:

list(
  storageConfiguration = list(
    arn = "string",
    name = "string",
    s3 = list(
      bucketName = "string"
    ),
    tags = list(
      "string"
    )
  )
)

Request syntax

svc$create_storage_configuration(
  name = "string",
  s3 = list(
    bucketName = "string"
  ),
  tags = list(
    "string"
  )
)