Project: YugabyteDB (App Definition and Development / Database)
File: managed-cli-region.md

title: ybm CLI region resource headerTitle: ybm region linkTitle: region description: YugabyteDB Managed CLI reference Region resource. headcontent: Query regions and instance types menu: preview_yugabyte-cloud: identifier: managed-cli-region parent: managed-cli-reference weight: 20 type: docs Use the `region` resource to query information. ```text Usage: ybm region [command] [flags] ``` List AWS regions: ```sh ybm region list \ --cloud-provider AWS ``` List AWS instance types in us-west-2: ```sh ybm region instance list \ --cloud-provider AWS \ --region us-west-2 ``` List the regions available for the specified cloud provider. | Flag | Description | | : | : | | --cloud-provider | Required. Cloud provider. `AWS`, `AZURE`, or `GCP`. | List the available instance types for the specified cloud provider and region. | Flag | Description | | : | : | | --cloud-provider | Required. Cloud provider. `AWS`, `AZURE`, or `GCP`. | | --region | Required. The region from which to fetch instance types. | | --tier | Type of cluster. `Sandbox` or `Dedicated` (default). | | --show-disabled | Whether to show disabled instance types. `true` (default) or `false`. | -- <!-- Use the `cdc-sink` resource to create, update, and delete CDC sinks. ```text Usage: ybm cdc-sink [command] [flags] ``` Examples: Create a CDC sink: ```sh ybm cdc_sink create \ --name=sink-2 \ --hostname=kafka.self.us \ --auth-type=BASIC \ --cdc-sink-type=KAFKA \ --username=admin \ --password=password ``` --name=name : Name for the sink. --hostname=host : Hostname of the CDC sink. --auth-type=authorization : Authorization type of the sink. `basic` --cdc-sink-type=type : Type of CDC sink. --username=name : Sink user name. --password=password : Sink user password. --name=name : Name of the sink. --name=name : Name of the sink. --new-name=name : New name for the sink. --username=name : Sink user name. --password=password : Sink user password. --name=name : Name of the sink. -- Use the `cdc-stream` resource to create, update, and delete CDC streams. ```text Usage: ybm cdc-stream [command] [flags] ``` Examples: Create a CDC stream: ```sh ybm cdc-stream create \ --cluster-name=cluster-1 \ --name=stream-2 \ --tables=table1,table2 \ --sink=mysink \ --db-name=mydatabase \ --snapshot-existing-data=true \ --kafka-prefix=prefix ``` --cluster-name=name : Name of the cluster with the tables you want to stream. --name=name : Name for the stream. --tables=table names : List of tables the CDC stream will listen to. --sink=sink : Destination sink for the stream. --db-name=database name : Database that the Cdc Stream will listen to. --snapshot-existing-data=bool : Whether to snapshot the existing data in the database. --kafka-prefix=prefix : Prefix for the Kafka topics. --cluster-name=name : Name of the cluster with the streams you want to fetch. --name=name : Name of the CDC stream. --cluster-name=name : Name of the cluster with the tables you want to stream. --name=name : Name of the stream. --tables=table names : List of tables the CDC stream will listen to. --new-name=name : New name for the stream. --cluster-name=name : Name of the cluster with the stream to delete. --name=name : Name of the stream. -->