EC2-DETACH-INTERNET-GATEWAY(1)
π 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 theAWS_ACCESS_KEYenvironment variable is set to (if it's set). π-W,--aws-secret-key KEYβ your AWS Secret Access Key. defaults to whatever theAWS_SECRET_KEYenvironment variable is set to (if it's set). π€«-T,--security-token TOKENβ AWS delegation token. defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set). ποΈ-K,--private-key KEYβ [DEPRECATED] specifyKEYas the private key to use. defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). overrides the default. β οΈ like, it still works but pls know it's deprecated, okay?-C,--cert CERTβ [DEPRECATED] specifyCERTas the X509 certificate to use. defaults to the value of theEC2_CERTenvironment variable (if set). overrides the default. β οΈ also deprecated, just so you know bestie.-U,--url URLβ specifyURLas the web service URL to use. defaults to'https://ec2.amazonaws.com'(us-east-1) or to the value of theEC2_URLenvironment variable (if set). overrides the default. π--region REGIONβ specifyREGIONas the web service region to use. this option will override the URL specified by the-U URLoption and theEC2_URLenvironment variable. it defaults to the region specified by theEC2_URLenvironment variable, orus-east-1if 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 timeoutTIMEOUT(in seconds). β±οΈ--request-timeout TIMEOUTβ specify a request timeoutTIMEOUT(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 π
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
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
- 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