aws ec2 delete-flow-logs
Deletes one or more flow logs. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a flow log
The following delete-flow-logs example deletes the specified flow log.
aws ec2 delete-flow-logs --flow-log-ids fl-11223344556677889Identify--flow-log-idsOne or more flow log IDs.Its output
{
"Unsuccessful": []
}For more information, see Work with flow logs in the Amazon VPC User Guide.
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--flow-log-idsOne or more flow log IDs.