Create Networking Flexible Cost Allocation resources with Amazon CloudFormation
Networking Flexible Cost Allocation (FCA) is integrated with Amazon CloudFormation (Amazon CloudFormation), a service that helps you model and set up your Amazon resources so that you can spend less time creating and managing your resources and infrastructure. You create a template that describes the FCA policies and associations that you want, and Amazon CloudFormation provisions and configures those resources for you.
FCA and Amazon CloudFormation templates
FCA provides the following Amazon CloudFormation resource types:
-
AWS::EC2::FcaPolicy– Creates a Networking Flexible Cost Allocation policy. -
AWS::EC2::FcaPolicyAssociation– Associates a policy with a resource, or with an account, VPC, or subnet scope.
For the properties, return values, and syntax of each resource type, see Amazon EC2 resource type reference in the Amazon CloudFormation User Guide.
To create an association, the IAM principal that deploys the stack also needs
permission to describe the associated resource, for example
ec2:DescribeNatGateways for a NAT gateway.
For complete examples that create policies with Amazon CloudFormation alongside the console and the Amazon CLI, see the following use-case topics:
Learn more about Amazon CloudFormation
To learn more about Amazon CloudFormation, see the following resources: