cloud serverless traffic-filters create-traffic-filter cli command
Destructive
Auth required
elastic cloud serverless traffic-filters create-traffic-filter \
--organization-id <organization-id> \
--name <name> \
--type <type> \
--region <region> \
[options]
Create a traffic filter
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--organization-idstringrequired- The Organization ID to scope the request to.
--namestringrequired--typeenumrequired-
Values: ip, vpce, private_endpoint
--regionstringrequired--descriptionstring--include-by-default--rulesstring[]-
Repeatable: pass
--rulesmultiple times to supply more than one value --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--yes- confirm destructive action without prompting
--json-
output as JSON