Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
563 B
4
Indexable
Never
WebAutoScalingGroup:
    Type: AWS::AutoScaling::AutoScalingGroup
    DependsOn:
      - EFSMountTargetA
      - EFSMountTargetB
      - NAT
    Properties:
      Cooldown: "60"
      HealthCheckGracePeriod: 120
      HealthCheckType: ELB
      LaunchConfigurationName: !Ref WebLaunchConfiguration
      MaxSize: "2"
      MinSize: "1"
      TargetGroupARNs:
        - !Ref ALBTargetGroup
      VPCZoneIdentifier: 
        - !Ref PrivateSubnetA
        - !Ref PrivateSubnetB
    CreationPolicy:
      ResourceSignal:
        Count: 1
        Timeout: PT15M