java - Is there any way to get MAC address of elastic network interface? -


is there way mac address of elastic network interface of aws, using aws java sdk

i mac address using aws-cli using describe-network-interfaces command below:

$ aws ec2 describe-network-interfaces --network-interface-ids eni-eaxxxxd | jq ".networkinterfaces[].macaddress" "06:56:88:b9:82:17" 

also in ruby-sdk, there way pull mac address using describe_network_interfaces-instance_method

i searched java sdk documentation describenetworkinterfacesrequest , seems provides mac address. however, not @ reading java api documentation.

as able mac address using aws-cli , ruby-sdk, api in place. need exact method in java-sdk documentation.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -