Amazon Virtual Private Cloud (Amazon VPC) Traffic Mirroring now supports AWS CloudFormation. AWS CloudFormation enables you to provision and configure AWS infrastructure deployments predictably and repeatedly through template files.  

from Recent Announcements https://aws.amazon.com/about-aws/whats-new/2019/10/amazon-vpc-traffic-mirroring-now-supports-aws-cloudformation/