CmdID / aws / aws shield
aws shield enable-application-layer-automatic-response
Enable the Shield Advanced automatic application layer DDoS mitigation for the protected resource. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--actionSpecifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks.--resource-arnThe ARN (Amazon Resource Name) of the protected resource.