How to get IAM role name attached to Windows EC2 #2112
-
Hello |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@dburtsev The PowerShell CmdLet Get-EC2InstanceMetadata uses |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
@dburtsev The PowerShell CmdLet Get-EC2InstanceMetadata uses
GetData(path)
method ofAmazon.Util.EC2InstanceMetadata
static helper class to retrieve EC2 instance metadata. This class is present in AWSSDK.Core NuGet package. You may consume this NuGet package and retrieve EC2 instance metadata.