AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Get-EC2InstanceAttribute-InstanceId <String>-Attribute <InstanceAttributeName>-Select <String>-PassThru <SwitchParameter>-ClientConfig <AmazonEC2Config>
Required? | True |
Position? | 2 |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
Get-EC2InstanceAttribute -InstanceId i-12345678 -Attribute instanceType
InstanceType : t2.microThis example describes the instance type of the specified instance.
Get-EC2InstanceAttribute -InstanceId i-12345678 -Attribute sriovNetSupport
SriovNetSupport : simpleThis example describes whether enhanced networking is enabled for the specified instance.
(Get-EC2InstanceAttribute -InstanceId i-12345678 -Attribute groupSet).Groups
GroupId
-------
sg-12345678
sg-45678901This example describes the security groups for the specified instance.
Get-EC2InstanceAttribute -InstanceId i-12345678 -Attribute ebsOptimized
EbsOptimized : FalseThis example describes whether EBS optimization is enabled for the specified instance.
Get-EC2InstanceAttribute -InstanceId i-12345678 -Attribute disableApiTermination
DisableApiTermination : FalseThis example describes the 'disableApiTermination' attribute of the specified instance.
Get-EC2InstanceAttribute -InstanceId i-12345678 -Attribute instanceInitiatedShutdownBehavior
InstanceInitiatedShutdownBehavior : stopThis example describes the 'instanceInitiatedShutdownBehavior' attribute of the specified instance.
AWS Tools for PowerShell: 2.x.y.z