{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-gamelift/json-schema/amazon-gamelift-create-stream-group-input-schema.json",
  "title": "CreateStreamGroupInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-gamelift-streamgroups-api-openapi.yml#/components/schemas/CreateStreamGroupInput",
  "type": "object",
  "properties": {
    "Description": {
      "type": "string",
      "description": "A descriptive label for the stream group."
    },
    "StreamClass": {
      "type": "string",
      "enum": [
        "gen4n_high",
        "gen4n_ultra",
        "gen4n_win2022",
        "gen5n_high",
        "gen5n_ultra",
        "gen5n_win2022",
        "gen6n_small",
        "gen6n_medium",
        "gen6n_high",
        "gen6n_ultra",
        "gen6n_ultra_win2022",
        "gen6n_pro",
        "gen6n_pro_win2022",
        "gen6n_small_win2022",
        "gen6n_medium_win2022",
        "gen6e_pro",
        "gen6e_pro_win2022"
      ],
      "description": "The target stream quality for sessions that are hosted in this stream group. Set a stream class that is appropriate to the type of content that you're streaming. Stream class determines the type of computing resources Amazon GameLift Streams uses and impacts the cost of streaming. The following options are available: A stream class can be one of the following: gen6n_pro_win2022 (NVIDIA, pro) Supports applications with extremely high 3D scene complexity which require maximum resources. Runs applications on Microsoft Windows Server 2022 Base and supports DirectX 12. Compatible with Unreal Engine"
    },
    "DefaultApplicationIdentifier": {
      "type": "string",
      "description": "The unique identifier of the Amazon GameLift Streams application that you want to set as the default application in a stream group. The application that you specify must be in READY status. The default application is pre-cached on always-on compute resources, reducing stream startup times. Other applications are automatically cached as needed. If you do not link an application when you create a stream group, you will need to link one later, before you can start streaming, using AssociateApplications. This value is an Amazon Resource Name (ARN) or ID that uniquely identifies the application res"
    },
    "LocationConfigurations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GameliftstreamsLocationConfiguration"
      },
      "description": "A set of one or more locations and the streaming capacity for each location."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A list of labels to assign to the new stream group resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources is useful for resource management, access management and cost allocation. See Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. You can use TagResource to add tags, UntagResource to remove tags, and ListTagsForResource to view tags on existing resources."
    },
    "ClientToken": {
      "type": "string",
      "description": "A unique identifier that represents a client request. The request is idempotent, which ensures that an API request completes only once. When users send a request, Amazon GameLift Streams automatically populates this field."
    }
  },
  "required": [
    "Description",
    "StreamClass"
  ],
  "$defs": {
    "GameliftstreamsLocationConfiguration": {
      "type": "object",
      "properties": {
        "LocationName": {
          "type": "string",
          "description": "A location's name. For example, us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide."
        },
        "AlwaysOnCapacity": {
          "type": "integer",
          "description": "This setting, if non-zero, indicates minimum streaming capacity which is allocated to you and is never released back to the service. You pay for this base level of capacity at all times, whether used or idle."
        },
        "OnDemandCapacity": {
          "type": "integer",
          "description": "This field is deprecated. Use MaximumCapacity instead. This parameter cannot be used with MaximumCapacity or TargetIdleCapacity in the same location configuration. The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated. This offers a cost control measure at the expense of a greater startup time (typically under 5 minutes). Default is 0 when creating a stream group or adding a location."
        },
        "TargetIdleCapacity": {
          "type": "integer",
          "description": "This indicates idle capacity which the service pre-allocates and holds for you in anticipation of future activity. This helps to insulate your users from capacity-allocation delays. You pay for capacity which is held in this intentional idle state."
        },
        "MaximumCapacity": {
          "type": "integer",
          "description": "This indicates the maximum capacity that the service can allocate for you. Newly created streams may take a few minutes to start. Capacity is released back to the service when idle. You pay for capacity that is allocated to you until it is released."
        },
        "VpcTransitConfiguration": {
          "$ref": "#/$defs/VpcTransitConfiguration"
        }
      },
      "required": [
        "LocationName"
      ]
    },
    "VpcTransitConfiguration": {
      "type": "object",
      "properties": {
        "VpcId": {
          "type": "string",
          "description": "The ID of the Amazon VPC that you want to connect to the stream group. The VPC must be in the same Amazon Web Services account as the stream group. This value cannot be changed after the stream group is created."
        },
        "Ipv4CidrBlocks": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of IPv4 CIDR blocks in your VPC that you want the stream group to be able to access. You can specify up to 5 CIDR blocks. The CIDR blocks must be valid subsets of the VPC's CIDR blocks and cannot overlap with the service VPC CIDR block."
        }
      },
      "required": [
        "VpcId",
        "Ipv4CidrBlocks"
      ]
    }
  }
}