EC2-DELETE-CUSTOMER-GATEWAY(1)
π EC2-DELETE-CUSTOMER-GATEWAY π
okay bestie, welcome to ec2-delete-customer-gateway(1) β a User Commands page from the EC2 API command line tools, and yes it does exactly what the name says, no plot twist π
β¨ NAME β¨
ec2-delete-customer-gateway β Delete a customer gateway
π¦ SYNOPSIS π¦
ec2delcgw ([ec2-delete-customer-gateway])
ec2delcgw [GENERAL OPTIONS] CUSTOMER_GATEWAY
π GENERAL NOTES π
Any command option or parameter can be handed the value - to say "hey, read the values for this one from stdin instead." yes, literally any of them. it's giving flexible β¨
π DESCRIPTION π
So you wanna delete a customer gateway. slay. This command does that.
BUT. Big but. You must delete the VPN connection before deleting the customer gateway. The order matters, no skipping ahead, the API will not be nice about it π
And CUSTOMER_GATEWAY? That's the ID of the customer gateway you want to yeet into the void. That's the whole parameter. That's it.
π GENERAL OPTIONS π
-O,--aws-access-keyKEY β Your AWS Access Key ID. Defaults to whateverAWS_ACCESS_KEYis set to in your environment (if it's set at all).-W,--aws-secret-keyKEY β Your AWS Secret Access Key. Defaults to the value of theAWS_SECRET_KEYenvironment variable (if set).-T,--security-tokenTOKEN β AWS delegation token. Defaults to the value of theAWS_DELEGATION_TOKENenvironment variable (if set).-K,--private-keyKEY β [DEPRECATED] SpecifyKEYas the private key to use. Defaults to the value of theEC2_PRIVATE_KEYenvironment variable (if set). Overrides the default.-C,--certCERT β [DEPRECATED] SpecifyCERTas the X509 certificate to use. Defaults to the value of theEC2_CERTenvironment variable (if set). Overrides the default.
heads up bestie, those two are marked [DEPRECATED] in the original, so maybe don't build your whole personality around them π
-U,--urlURL β SpecifyURLas the web service URL to use. Defaults to'https://ec2.amazonaws.com'(that's us-east-1) or to the value of theEC2_URLenvironment variable (if set). Overrides the default.--regionREGION β 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, or us-east-1 if that environment variable isn't set. so it's lowkey the boss of the URL options π-D,--auth-dry-runβ Check if you can perform the requested action rather than actually performing it. vibe check before the real thing, iconic.-v,--verboseβ Verbose output. give me all the lore π-?,--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 timeoutTIMEOUT(in seconds).--request-timeoutTIMEOUT β Specify a request timeoutTIMEOUT(in seconds).
π SEE ALSO π
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
okay that's the whole page, you're fully caught up π«Ά
sign-off time: this lil beauty comes from the EC2 API command line tools, version 1.6.14.1, api=2014-05-01 β so if it ever feels vintage, that's why. go forth and delete responsibly, bestie. delete the VPN connection first. I'm serious. mwah πβ¨
π¦ 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