EC2-MODIFY-NE...ACE-ATTRIBUTE(1)
π ec2-modify-network-interface-attribute π
okay bestie, listen up β this is the ec2-modify-network-interface-attribute page from the User Commands manual, and honestly? she's giving "tiny command, big opinions." it literally modifies a network interface attribute. that's the whole gig. periodt. π
β¨ SYNOPSIS β¨
ec2mnicatt ([ec2-modify-network-interface-attribute])
ec2mnicatt [GENERAL OPTIONS] NETWORKINTERFACE
so yeah, she goes by ec2mnicatt when she's out with friends (the short version), and you hand her a NETWORKINTERFACE plus whatever general options you're feeling. π
πΈ GENERAL NOTES πΈ
any command option or parameter can be handed the value - and that means "bestie, read the values for this one from stdin." iconic behaviour, honestly. π
π¦ DESCRIPTION π¦
Modifies a network interface attribute. and here's the tea: only one attribute can be specified per call. one. singular. don't try to be greedy, she will not entertain it. π
π GENERAL OPTIONS π
-O,--aws-access-keyKEY β your AWS Access Key ID. defaults to whatever's in theAWS_ACCESS_KEYenvironment variable (if it's set, that is).-W,--aws-secret-keyKEY β your AWS Secret Access Key. defaults to theAWS_SECRET_KEYenvironment variable (if set).-T,--security-tokenTOKEN β the AWS delegation token. defaults to theAWS_DELEGATION_TOKENenvironment variable (if set).-K,--private-keyKEY β [DEPRECATED] specify KEY as the private key to use. defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). overrides the default. (ngl bestie, deprecated means deprecated, she's wearing a little "vintage" label and we should let her rest. π)-C,--certCERT β [DEPRECATED] specify CERT as the X509 certificate to use. defaults to the value of theEC2_CERTenvironment variable (if set). overrides the default.-U,--urlURL β specify URL as the web service URL to use. defaults to'https://ec2.amazonaws.com'(us-east-1), or to whateverEC2_URLsays (if set). overrides the default.--regionREGION β specify REGION as the web service region to use. this one overrides both the-U URLoption and theEC2_URLenvironment variable. she defaults to the region inEC2_URL, orus-east-1if that env var isn't set. main character energy tbh. π-D,--auth-dry-runβ checks if you can do the thing instead of actually doing the thing. vibe check first, action later. β¨-v,--verboseβ verbose output. she will yap (affectionately).-?,--helpβ display this help.-H,--headersβ display column headers.--debugβ display additional debugging information.--show-empty-fieldsβ indicate empty fields.--hide-tagsβ do not display tags for tagged resources.--connection-timeoutTIMEOUT β specify a connection timeout TIMEOUT (in seconds).--request-timeoutTIMEOUT β specify a request timeout TIMEOUT (in seconds).
π SPECIFIC OPTIONS π
these are the ones that actually change the attribute, so pay attention bestie:
-d,--descriptionDESCRIPTION β change the description of the network interface.-a,--attachmentATTACHMENT β change properties of the attachment. must be used in conjunction with--delete-on-terminationβ they're a package deal, no solo acts. π«Ά--delete-on-terminationBOOLEAN β sets whether the network interface shall be deleted when the network interface is detached. must be used in conjunction with--attachment. see? told you. inseparable. π--source-dest-checkBOOLEAN β sets whether to enable the source/dest check on traffic through this network interface. valid options are'true'and'false'β that's it, that's the whole menu, no in-between. π₯--group-idGROUP_ID β replace the security groups for this network interface.
lowkey reminder from the DESCRIPTION that's still very much in effect: only ONE attribute per call. so pick your fave and commit. π
β SEE ALSO β
go read the lore, bestie:
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
EC2 API command line tools 1.6.14.1 api=2014-0 β mwah, that's the version tag and the date-ish footer, and honestly? she ate. πβ¨ no cap, go modify exactly one attribute, and slay responsibly. π¦πΈπ
π¦ where this page comes from
- ubuntu jammy: ec2-api-tools 1.6.14.1-0ubuntu1
- ubuntu noble: ec2-api-tools 1.6.14.1-0ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms