8000 Use the SSM API along with the EC2 API · Issue #84 · ponkio-o/ec2x · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Use the SSM API along with the EC2 API #84
Closed
@ponkio-o

Description

@ponkio-o

Summary

Should to use Systems Manager API to find EC2 instances. Because, EC2 instances that can use session-manager are not always found use with EC2 API.

Solution

Use the DescribeInstanceInformation along with the EC2 API.
https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribeInstanceInformation.html

This API can get AssociationStatus.
https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_InstanceInformation.html#systemsmanager-Type-InstanceInformation-AssociationStatus

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0