EC2-REPLACE-NETWORK-ACL-ENTRY(1)

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

πŸ’… EC2-REPLACE-NETWORK-ACL-ENTRY πŸ’…

okay bestie, welcome to the ec2-replace-network-acl-entry page β€” it lives in section 1 of the manual (User Commands, obvs), and it's here to help you swap out a network ACL entry without losing your mind. no cap. πŸ¦‹


✨ NAME ✨

ec2-replace-network-acl-entry β€” replace an existing network ACL entry πŸ’–


🌸 SYNOPSIS 🌸



ec2repnae ([ec2-replace-network-acl-entry])
ec2repnae [GENERAL OPTIONS] NETWORK_ACL -n RULE_NUMBER -r CIDR
[--egress] [-P PROTOCOL] (-p PORT_RANGE | -t ICMP_TYPE_CODE) {--allow | --deny}

πŸŽ€ GENERAL NOTES πŸŽ€

Any command option/parameter may be passed a value of - to indicate that values for that option should be read from stdin. yes literally any of them, it's giving flexible πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Replace an existing network ACL entry. NETWORK_ACL is the network acl ID in which to replace the entry. that's the vibe β€” you tell it which acl, and it swaps the entry for you. iconic. ✨


πŸ‘‘ GENERAL OPTIONS πŸ‘‘

the shared stuff, the little black dress of options β€” every one of these is a baddie:

  • -O, --aws-access-key KEY β€” AWS Access Key ID. Defaults to the value of the AWS_ACCESS_KEY environment variable (if set). πŸ”‘
  • -W, --aws-secret-key KEY β€” AWS Secret Access Key. Defaults to the value of the AWS_SECRET_KEY environment variable (if 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. πŸ—οΈ
  • -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 the value of https://ec2.amazonaws.com (us-east-1) or to that 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 EC2_URL environment variable. This option defaults to the region specified by the EC2_URL environment variable or us-east-1 if this environment variable is not set. 🌍
  • -D, --auth-dry-run β€” Check if you can perform the requested action rather than actually performing it. a lil test run, no commitment, we love a situationship πŸ‘€
  • -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-timeout TIMEOUT β€” Specify a connection timeout TIMEOUT (in seconds). ⏳
  • --request-timeout TIMEOUT β€” Specify a request timeout TIMEOUT (in seconds). ⏰

πŸ”₯ SPECIFIC OPTIONS πŸ”₯

the main character options, the ones that actually do the thing:

  • -n, --rule-number RULE_NUMBER β€” The rule number to replace. πŸ”’
  • -r, --cidr CIDR β€” The IP range to regulate. 🌐
  • --egress β€” Specifies an egress rule. The rule is otherwise assumed to be ingress. no --egress? then it's ingress, periodt. πŸšͺ
  • -P, --protocol PROTOCOL β€” The IP protocol to regulate. Set to 'all' for wildcard. πŸƒ
  • -p, --port-range PORT_RANGE β€” The port range to regulate (TCP and UDP only). 🚦
  • -t, --icmp-type-code ICMP_TYPE_CODE β€” The ICMP type and code to regulate. πŸ“‘
  • --allow β€” Sets the action to be taken on packets matching the rule to 'allow'. Must specify either this or deny. βœ…
  • --deny β€” Sets the action to be taken on packets matching the rule to 'deny'. Must specify either this or allow. β›”
bestie, note the drama: --allow and --deny are a choose one situation. Must specify either this or the other one. you cannot have both, that's not the vibe. πŸ’€

πŸ’œ SEE ALSO πŸ’œ

go read the lore, iykyk:


and that's the page, bestie!! 🫢 this was the EC2 API command line tools, version 1.6.14.1, api=2014-0, and honestly? she ate. now go replace that ACL entry, you've got this. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from