This CloudFormation template creates a security group and VPC endpoint to allow access to SSM VPC Endpoint. The security group allows inbound traffic on port 443 from any IP address, and the VPC endpoint is created in the specified VPC and subnets.

CloudFormation Template