AWS Fundamentals Logo
AWS Fundamentals
aws kafka

AWS Amazon MSK CLI Commands

59 CLI commands available for Amazon MSK.

CommandSample
batch-associate-scram-secret

Associates one or more Scram Secrets with an Amazon MSK cluster.

batch-disassociate-scram-secret

Disassociates one or more Scram Secrets from an Amazon MSK cluster.

create-cluster

Creates a new MSK cluster.

create-cluster-v2

Creates a new MSK cluster.

create-configuration

Creates a new MSK configuration.

create-replicator

Creates the replicator.

create-topic

Creates a topic in the specified MSK cluster.

create-vpc-connection

Creates a new MSK VPC connection.

delete-cluster

Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.

delete-cluster-policy

Deletes the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.

delete-configuration

Deletes an MSK Configuration.

delete-replicator

Deletes a replicator.

delete-topic

Deletes a topic in the specified MSK cluster.

delete-vpc-connection

Deletes a MSK VPC connection.

describe-cluster

Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.

describe-cluster-operation

Returns a description of the cluster operation specified by the ARN.

describe-cluster-operation-v2

Returns a description of the cluster operation specified by the ARN.

describe-cluster-v2

Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.

describe-configuration

Returns a description of this MSK configuration.

describe-configuration-revision

Returns a description of this revision of the configuration.

describe-replicator

Describes a replicator.

describe-topic

Returns topic details of this topic on a MSK cluster.

describe-topic-partitions

Returns partition details of this topic on a MSK cluster.

describe-vpc-connection

Returns a description of this MSK VPC connection.

get-bootstrap-brokers

A list of brokers that a client application can use to bootstrap. This list doesn't necessarily include all of the brokers in the cluster. The following Python 3.6 example shows how you can use the Amazon Resource Name (ARN) of a cluster to get its bootstrap brokers. If you don't know t

get-cluster-policy

Get the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.

get-compatible-kafka-versions

Gets the Apache Kafka versions to which you can update the MSK cluster.

list-client-vpc-connections

Returns a list of all the VPC connections in this Region.

list-cluster-operations

Returns a list of all the operations that have been performed on the specified MSK cluster.

list-cluster-operations-v2

Returns a list of all the operations that have been performed on the specified MSK cluster.

list-clusters

Returns a list of all the MSK clusters in the current Region.

list-clusters-v2

Returns a list of all the MSK clusters in the current Region.

list-configuration-revisions

Returns a list of all the MSK configurations in this Region.

list-configurations

Returns a list of all the MSK configurations in this Region.

list-kafka-versions

Returns a list of Apache Kafka versions.

list-nodes

Returns a list of the broker nodes in the cluster.

list-replicators

Lists the replicators.

list-scram-secrets

Returns a list of the Scram Secrets associated with an Amazon MSK cluster.

list-tags-for-resource

Returns a list of the tags associated with the specified resource.

list-topics

List topics in a MSK cluster.

list-vpc-connections

Returns a list of all the VPC connections in this Region.

put-cluster-policy

Creates or updates the MSK cluster policy specified by the cluster Amazon Resource Name (ARN) in the request.

reboot-broker

Reboots brokers.

reject-client-vpc-connection

Returns empty response.

tag-resource

Adds tags to the specified MSK resource.

untag-resource

Removes the tags associated with the keys that are provided in the query.

update-broker-count

Updates the number of broker nodes in the cluster.

update-broker-storage

Updates the EBS storage associated with MSK brokers.

update-broker-type

Updates EC2 instance type.

update-cluster-configuration

Updates the cluster with the configuration that is specified in the request body.

update-cluster-kafka-version

Updates the Apache Kafka version for the cluster.

update-configuration

Updates an MSK configuration.

update-connectivity

Updates the cluster's connectivity configuration.

update-monitoring

Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.

update-rebalancing

Use this resource to update the intelligent rebalancing status of an Amazon MSK Provisioned cluster with Express brokers.

update-replication-info

Updates replication info of a replicator.

update-security

Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.

update-storage

Updates cluster broker volume size (or) sets cluster storage mode to TIERED.

update-topic

Updates the configuration of the specified topic.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Stats

Total Commands59
ServiceKafka