You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaStore::Types::CreateContainerInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/types.rb

Overview

Note:

When making an API call, you may pass CreateContainerInput data as a hash:

{
  container_name: "ContainerName", # required
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#container_nameString

The name for the container. The name must be from 1 to 255 characters. Container names must be unique to your AWS account within a specific region. As an example, you could create a container named movies in every region, as long as you don’t have an existing container with that name.

Returns:

  • (String)


212
213
214
215
216
# File 'gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/types.rb', line 212

class CreateContainerInput < Struct.new(
  :container_name,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

An array of key:value pairs that you define. These values can be anything that you want. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore.

Returns:



212
213
214
215
216
# File 'gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/types.rb', line 212

class CreateContainerInput < Struct.new(
  :container_name,
  :tags)
  include Aws::Structure
end