CloudFront flat-rate plan via CloudFormation?

I’m creating a CloudFront distribution via CloudFormation. I want to subscribe to a flat-rate plan, but would prefer not to do it through click ops. Is there a way to do this in a CloudFormation template?

In lieu of that, does anybody have a template for the mandatory WAF configuration? That aspect at least can be done through IaC.


Related discussions:

Understanding Nested CloudFormation Stacks
Is there a url callback option for cloudformation stacks?
Multiple CloudFront origins spread across two sites
Cloudformation Template Designer
Please make Cloudformation faster!
How to calculate server specs/instance?
Terraform is frickin' amazing.
AWS Conferences / Training Recommendations?
AWS Video Streaming Question
Questions about the basics of elastic beanstalk.
Why is my custom SSL Cert not available when creating an AWS Cloudfront distribution?
CloudFront cache invalidation - window of time between files in the same region being invalidated?
CloudFormation Designer - does anybody use it? Why?
Trouble with static sites and Cloudfront Caching
How To Kickoff a Rebuild Of All Instances In An AutoScale Group?
AWS Lambda to configure EC2 Security Group for CloudFront access
Protecting our public web application with the AWS WAF?
A Static Headache: Custom Headers in Cloudfront are Unpleasant
Hosting 2 react apps on the same Cloudfront distribution
I made the CloudFormation release history into RSS
S3 Static Website + Cloudfront question
AWS Cloudformation with microservice architecture woes. One template per microservice or one giant template to unify all microservices?
Azure for AWS Professionals
Any advice for retrofitting CloudFormation around a pile of existing infrastructure?
Stream logs to CloudWatch during Windows EC2 bootstrap
Cloudformation create/update-stack vs deploy
An interactive diagram showing a standard web app AWS reference architecture (would love to get feedback)
Workaround for CloudFormation's inability to find RDS DBSubnetGroup?
Easy-going CloudFormation: cfn-modules
How's this starter serverless architecture look?
Up your AWS CloudFormation game with Visual Studio Code
Show Reddit: TFBridge: Create or import virtually any Terraform resource in CloudFormation (OSS)
Obtained all 3 associate level certs. Any recommendations on projects to bolster my portfolio?
How to describe AWS Lambda function test events in CloudFormation template?
alb waf logs
How are you guys handling QA environments on AWS?
Pinpoint availablility in CloudFormation?
Amazon API Gateway adds support for AWS WAF
Best practices for workflows requiring more than the 60 parameter limit.
how is aws architected internally?
AWS Transit Gateway CloudFormation Template
Cloudformation: parameter requires a string value though it is defined Numeric
Problems deploying Landing Zone template
AWS Backup (2019-01)
AWS uploaded the icons used from re:Invent
Advice on how to protect s3 bucket from malicious attacks
When do we need to deploy a CloudFront Distrubiton
AWS::EC2::Route doesn't support Transit Gateways
How do I convince my team to use YAML over JSON for CloudFormation?
Using CloudFront or ALB to rewrite domain.com/example/test_page/ to domain.com/test_page/ ?
AWS Game Day experiences
Is there an "elegant" real IP solution?
CLI tool to speed up development of AWS CloudFormation Stacks
This custom domain name cannot map to WEBSOCKET protocol Apis
Jinja2 tutorial
Anybody using Amplify CLI in production? What is your experience so far and how to deal with the messy resources that are created?
Is there a community for CloudFormation? Or a member here willing to help a newb out?
Is there a way to get a single output from a CloudFormation template with the AWS CLI?
What is your favorite tool or website draw AWS architecture diagrams?
Inherit aws resources from other cloudformaiton stack?
Accessing multiple APIs from the same base URL
How AWS Web application firewall (WAF) was implemented to prevent an in-production bug; and how you can implement it in less than 5 minutes
Securing EC2 instances that host HTTP/S & SFTP services
Best Practices for CloudFormation/Serverless
AWS Landing zone 2.4.0
[HELP] Using CloudFront as whole site routing - implications of the limited amount of cache behaviours and other ideas?
Amazon CloudFront announces support for Brotli compression
New AWS Console with favorites menu inside the services button
rain - A development workflow tool for working with AWS CloudFormation
Best way to find all active resources?
AWS CloudFormation cfn-guard is now GA - an intro with policy-as-code
CloudFormation now has more resource types than Terraform (664 CFN - 654 TF)
AWS Lambda to work around S3/CloudFront rough edge with index.html files in subdirectories
On-demand, serverless Valheim server setup with AWS CDK, Discord Interactions and GitLab CI (repo, summary and article link in comments)
CDK Day (Free) is coming up on April 30th
AWS Documentation (2021)
Private files at scale with S3, Cognito, Lambda@Edge
Is there a way to generate a CloudFormation template of current infrastructure without recreating?
GraphQL with Amplify and CDK, am I doing this wrong?
CloudFront -> ALB: occasional 504 errors
What is the best push style CDN that doesn't cost an obscene amount of money?
Help organizing project repos with CDK
Multi-Cloud is NOT the solution to the next AWS outage.
Why would you want to have more than one origins in a CloudFront distribution?
AWS Announces the General Availability of AWS CloudFormation Hooks
Introducing AWS Virtual Waiting Room
Do your CI/Sandbox accounts exactly match Dev/Production?
geoprotect SFTP
My Static Website Is Still Not Secure
S3 Static Website Terraform Template
CDK and nested stacks
CloudFormation locally
AWS Outgoing Data Free 100GB
Validating cloudFormation templates
What do I need to safely host a static website with AWS?
Amazon CloudFront launches Origin Access Control (OAC)
Cloudfront sending suspicious traffic
Using CloudFront as a dictionary ?
Diagram-as-code for AWS architecture
Is it possible to change the root account of AWS Organisations?
A page with AWS designs for different use-cases ?
Is fargate the right choice for my apps?
AWS WAF Get List Of Incoming IP That Breaches the Rate Limit
Simplify Your IaC Provisioning with AWS CDK
Securely accessing cloudfront endpoint from an ALB origin
AWS/System architecture for my side project
How do multiple developers work on the same AWS SAM or CloudFormation Stack?
Best architecture to provide real time data analytics to users?
about WAF rate-based rules action
CORs on CloudFront acting as a CDN
Newbie questions for hosting webapps and static sites
Which tool is used to make deployment diagrams animated?
Would creating an SCP to block all actions within a specified region also impact CloudFront distributions?
Web Application Architecture review
Unexpected Cloudfront Data Transfer Charges: Shouldn't the first 1 TB be free?
Poll: Which IaC tool is the future for AWS?
Experience up to 40% faster stack creation with AWS CloudFormation
How to use Auto-scaling when you have a license that is tied to a MAC address?
How can I make sure my users are always using the latest version of my React.js web app (S3/CDN)?
Unable to make CloudFront cache 503 errors (triggered from Lambda@Edge origin request)
Aws architecture diagram of interconnected services
To veteran CloudFront/S3 users, why was it designed like this the first time?
AppSync with WAF and 403 response
AWS CDK for "Applications" on main page
Cloud-formation Stack
CloudFront is too costly for streaming—need advice on a better setup
Any aws native tool to visualize my entire infrastructure
Terraform Vs CloudFormation (2024-12-30)
Strategy for DynamoDB GSI "updates" using CDK
New from AWS: AWS CloudFormation Template Reference Guide
The 3 Mental Models That Helped Me Actually Understand Cloud Architecture (Not Just Pass Exams)
CloudFront: Cannot create new distribution
Why does AWS have so many deployment tools?
Amazon CloudFront now supports IPv6 origins for end-to-end IPv6 delivery
Best way to implement CI/CD on AWS using CloudFormation with Azure DevOps?
Amplify vs CloudFront + SE for frontend
Are platform/infra teams letting coding agents write IaC in production yet?
Anyone moved away from a monolith to modern cloud architecture without an 18 month migration?
Redirecting HTTP request based on User-Agent -- which service?
I forked rain, AWS's archived CloudFormation CLI, as cfnrain
Amazon CloudFront now supports HTTP/2
CloudFront Problem - Not Serving Images
Design your AWS architecture around outages
DevOps Done Right - Room Key's Datomic Deployment in AWS

My understanding is the flat rate plan option is not available via the AWS API, therefore no IaC tool has the ability to change the plan.

ClickOps is the only option I was able to find when I wanted to do the same thing as you.

Likewise. Made by IaC then manually changed the plan in the console.

CloudFormation just invokes the API.