-
|
I have noticed that if I create a ec2 filter in v5.0.67, the object has changed: $filter=new-object amazon.ec2.model.filter ] v5: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I believe this is not a V4/V5 difference, this is an |
Beta Was this translation helpful? Give feedback.
I believe this is not a V4/V5 difference, this is an
AWSPowerShellvsAWS.Tools.EC2difference. For backwards compatibility reasons, an alias is being added forValuesproperty. so theValueandValuesproperty are the same. As can be seen from the below output,Valueis an alias that points toValuesinAWSPowerShellmodule. This alias is not being added toAWS.Tools.EC2. I have added link to relevant code. As for what other filters the alias exists, please refer to the file. I would recommend usingAWS.Tools.EC2module instead ofAWSPowerShell. Please reach out if you have any more questions.