Discover Packages
github.com/aaditya2200/aws-doc-sdk-examples
gov2
ec2
MonitorInstances
command
Version:
v0.0.0-...-e8b88a3
Opens a new window with list of versions in this module.
Published: Jun 22, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
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 .
Expand ▾
Collapse ▴
Documentation
¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX - License - Identifier: Apache - 2.0
snippet-start:[ec2.go-v2.MonitorInstances]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.