MonitorInstances

command
v0.0.0-...-e8b88a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

MonitorInstancesv2.go

This example enables or disables monitoring for an Amazon EC2 instance.

go run MonitorInstancesv2.go -m MODE -i INSTANCE-ID

  • MODE is either "OFF" to disable monitoring or "ON" to enable monitoring.
  • INSTANCE-ID is the ID of the instance.

The unit test accepts similar values in config.json.

Documentation

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX - License - Identifier: Apache - 2.0 snippet-start:[ec2.go-v2.MonitorInstances]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL