EC2-MODIFY-NE...ACE-ATTRIBUTE(1)

πŸ“¦ version 1.6.14.1, in ubuntu jammy, ubuntu noble

πŸ’– 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-key KEY β€” your AWS Access Key ID. defaults to whatever's in the AWS_ACCESS_KEY environment variable (if it's set, that is).
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. defaults to the AWS_SECRET_KEY environment variable (if set).
  • -T, --security-token TOKEN β€” the AWS delegation token. defaults to the AWS_DELEGATION_TOKEN environment variable (if set).
  • -K, --private-key KEY β€” [DEPRECATED] specify KEY as the private key to use. defaults to the value of the EC2_PRIVATE_KEY environment 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, --cert CERT β€” [DEPRECATED] specify CERT as the X509 certificate to use. defaults to the value of the EC2_CERT environment variable (if set). overrides the default.
  • -U, --url URL β€” specify URL as the web service URL to use. defaults to 'https://ec2.amazonaws.com' (us-east-1), or to whatever EC2_URL says (if set). overrides the default.
  • --region REGION β€” specify REGION as the web service region to use. this one overrides both the -U URL option and the EC2_URL environment variable. she defaults to the region in EC2_URL, or us-east-1 if 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-timeout TIMEOUT β€” specify a connection timeout TIMEOUT (in seconds).
  • --request-timeout TIMEOUT β€” specify a request timeout TIMEOUT (in seconds).

πŸŽ€ SPECIFIC OPTIONS πŸŽ€

these are the ones that actually change the attribute, so pay attention bestie:

  • -d, --description DESCRIPTION β€” change the description of the network interface.
  • -a, --attachment ATTACHMENT β€” change properties of the attachment. must be used in conjunction with --delete-on-termination β€” they're a package deal, no solo acts. 🫢
  • --delete-on-termination BOOLEAN β€” 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-check BOOLEAN β€” 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-id GROUP_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:


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