EC2-ATTACH-INTERNET-GATEWAY(1)
π NAME π
okay so bestie, welcome to ec2-attach-internet-gateway β she lives in the User Commands manual section (that's section 1, iykyk), and her whole entire job is attaching an internet gateway to a specified network. that's it. that's the gig. β¨
π SYNOPSIS π
ec2attigw ([ec2-attach-internet-gateway])
ec2attigw [GENERAL OPTIONS] INTERNET_GATEWAY -c VPC
πΈ GENERAL NOTES πΈ
real talk, this applies to literally every command in the whole toolset:
- Any command option/parameter may be passed a value of
-to indicate that values for that option should be read from stdin. so like, if you don't wanna type the thing, pipe the thing. slay.
π¦ DESCRIPTION π¦
She attaches an internet gateway to a specified network. that's the vibe. π«Ά
INTERNET_GATEWAY is the ID of the internet gateway that you wish to attach. like, the actual one you want to hook up. no cap.
β¨ GENERAL OPTIONS β¨
these are the universal ones, the ones every command in the family gets to share. π
-O,--aws-access-keyKEY β AWS Access Key ID. Defaults to the value of theAWS_ACCESS_KEYenvironment variable (if set).-W,--aws-secret-keyKEY β 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. like bestie, deprecated means deprecated, use the newer auth path okay π-C,--certCERT β [DEPRECATED] SpecifyCERTas the X509 certificate to use. Defaults to the value of theEC2_CERTenvironment variable (if set). Overrides the default. same energy, same warning π©-U,--urlURL β SpecifyURLas the web service URL to use. Defaults to the value ofhttps://ec2.amazonaws.com(us-east-1) or to that 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 andEC2_URLenvironment variable. This option defaults to the region specified by theEC2_URLenvironment variable orus-east-1if this environment variable is not set. so she's got main character energy over-U, noted. π-D,--auth-dry-runβ Check if you can perform the requested action rather than actually performing it. it's giving "rehearsal, not the show". π-v,--verboseβ Verbose output.-?,--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).
π SPECIFIC OPTIONS π
the one that's special to this command, the moment we've all been waiting for:
-c,--vpcVPC β The ID of the network to which to attach the internet gateway.
π₯ SEE ALSO π₯
go read the docs, bestie, they're right there:
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReferencehttp://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference
mwah, that's the whole page. π this little gem comes to you courtesy of the EC2 API command line tools, version 1.6.14.1, api 2014-05-01. go attach that gateway, you absolute icon. π«Άβ¨π
π¦ 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