EC2-DETACH-INTERNET-GATEWAY(1)

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

πŸ’– EC2-DETACH-INTERNET-GATEWAY πŸ’–

okay so bestie, welcome to the ec2-detach-internet-gateway(1) page β€” this is a User Commands moment, and it's giving "let's unplug the internet from a whole network" energy. πŸ¦‹


✨ NAME ✨

ec2-detach-internet-gateway β€” detaches an internet gateway from a specified network. that's it. that's the whole job. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

ec2detigw ([ec2-detach-internet-gateway])
ec2detigw [GENERAL OPTIONS] INTERNET_GATEWAY -c VP

🌸 GENERAL NOTES 🌸

so like, every single command option/parameter can be handed a value of - and that means "hey, read the values for this option from stdin instead." no cap. 🫢


πŸ‘‘ DESCRIPTION πŸ‘‘

Detaches an internet gateway from a specified network. INTERNET_GATEWAY is the internet gateway that you wish to detach. that's the main character of this whole operation, fr fr. πŸ”₯


✨ GENERAL OPTIONS ✨

  • -O, --aws-access-key KEY β€” your AWS Access Key ID. defaults to whatever the AWS_ACCESS_KEY environment variable is set to (if it's set). πŸ”‘
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. defaults to whatever the AWS_SECRET_KEY environment variable is set to (if it's set). 🀫
  • -T, --security-token TOKEN β€” AWS delegation token. defaults to the value of 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. ⚠️ like, it still works but pls know it's deprecated, okay?
  • -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. ⚠️ also deprecated, just so you know bestie.
  • -U, --url URL β€” specify URL as the web service URL to use. defaults to 'https://ec2.amazonaws.com' (us-east-1) or to the value of the EC2_URL environment variable (if set). overrides the default. 🌐
  • --region REGION β€” specify REGION as the web service region to use. this option will override the URL specified by the -U URL option and the EC2_URL environment variable. it defaults to the region specified by the EC2_URL environment variable, or us-east-1 if that environment variable isn't set. πŸ—ΊοΈ
  • -D, --auth-dry-run β€” checks if you can perform the requested action instead of actually performing it. a lil vibe check before the real thing. βœ…
  • -v, --verbose β€” verbose output. give me all the tea. 🍡
  • -?, --help β€” displays this help. πŸ†˜
  • -H, --headers β€” displays column headers. πŸ“‹
  • --debug β€” displays additional debugging information. πŸ”
  • --show-empty-fields β€” indicates empty fields. πŸ•³οΈ
  • --hide-tags β€” does 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 πŸ’œ

  • -c, --vpc VPC β€” the ID of the network from which to detach the internet gateway. this is the "from" in the whole breakup, iykyk. πŸ’”

🌈 SEE ALSO 🌈


and that's the whole page, bestie!! πŸ₯³ this was EC2 API command line tools, version 1.6.14.1, api=2014-05-, dated right there in the footer next to EC2-DETACH-INTERNET-GATEWAY(1). slay, go detach that gateway, and remember: -c your VPC or it's not happening. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from