---
title: "Import ASG To Ocean Cluster"
method: POST
path: "/ocean/aws/k8s/cluster/autoScalingGroup/import"
tags: ["Ocean AWS"]
---

# Import ASG To Ocean Cluster

`POST /ocean/aws/k8s/cluster/autoScalingGroup/import`

Create an Ocean configuration according to an AWS autoscaling group (ASG) configuration.

## Query parameters

- `autoScalingGroupName` string, required
- `region` string, required

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Request body

- object
  - `cluster` object — The object specifying the configuration of the VNG.
    - `instanceTypes` string[] — List of possible instance types for the cluster.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
