AWSTemplateFormatVersion: '2010-09-09' Description: 'AWS CloudFormation Sample Template AutoScalingMultiAZWithNotifications: Create a multi-az, load balanced and Auto Scaled sample web site running on an Apache Web Serever. The application is configured to span all Availability Zones in the region and is Auto-Scaled based on the CPU utilization of the web servers. Notifications will be sent to the operator email address on scaling events. The instances are load balanced with a simple health check against the default web page. **WARNING** This template creates one or more Amazon EC2 instances and an Elastic Load Balancer. You will be billed for the AWS resources used if you create a stack from this template.' Metadata: cfn-lint: config: configure_rules: E3012: strict: False Resources: ElasticLoadBalancer: Type: AWS::ElasticLoadBalancing::LoadBalancer Properties: AvailabilityZones: Fn::GetAZs: '' CrossZone: 'badValue' HealthCheck: HealthyThreshold: '3' Interval: '30' Target: HTTP:80/ Timeout: '5' UnhealthyThreshold: '5' Listeners: - InstancePort: '80' LoadBalancerPort: '80' Protocol: HTTP WebServerScaleUpPolicy: Properties: AdjustmentType: ChangeInCapacity AutoScalingGroupName: Ref: WebServerGroup Cooldown: 60 ScalingAdjustment: '1a' Type: AWS::AutoScaling::ScalingPolicy VpnGateway: Type: AWS::EC2::VPNGateway Properties: AmazonSideAsn: 6300a Type: String Glue: Type: AWS::Glue::Job Properties: AllocatedCapacity: 6300a Command: {} Role: String