aws-doc-sdk-examples
aws-doc-sdk-examples copied to clipboard
[Enhancement]: Add Python examples for EC2 using IMDSv2
Background story
Specifically, we need examples that show how to create and manipulate instances that use IMDSv2 to align with covering this request. How do Python programs use API calls to fetch and use metadata using IMDSv2?
What does this example accomplish?
Furthers developers' ability to provide and manage their EC2 instances using metadata.
Which AWS service(s)?
EC2
Which AWS SDKs or tools?
- [ ] All languages
- [ ] .NET
- [ ] C++
- [ ] Go (v2)
- [ ] Java
- [ ] Java (v2)
- [ ] JavaScript
- [ ] JavaScript (v3)
- [ ] Kotlin
- [ ] PHP
- [X] Python
- [ ] Ruby
- [ ] Rust
- [ ] Swift
- [ ] Not applicable
Are there existing code examples to leverage?
No
Do you have any reference code?
No