Using Console
Using CLI
<VPC_ID>
with the actual VPC ID you identified in step 1.<LOG_GROUP_NAME>
with the name of the CloudWatch Logs group where you want to store the Flow Logs.<ARN_OF_THE_LOGS_DELIVERY_ROLE>
with the ARN of the IAM role that has permissions to deliver logs to CloudWatch Logs.<VPC_ID>
with the actual VPC ID.Using Python
'arn:aws:iam::123456789012:role/FlowLogsRole'
with the appropriate IAM role ARN that has permissions to publish logs to CloudWatch Logs.