Sha256: b8080a2c9d59474d6e079e32715da37c594e9a5f2c7c459a6fcc7a57f6e7f2d6

Contents?: true

Size: 1.87 KB

Versions: 16

Compression:

Stored size: 1.87 KB

Contents

AWS::AutoScaling::AutoScalingGroup:
  Attributes:
    CreationPolicy:
      ResourceSignal: |
        {
          "Count"   => 1,
          "Timeout" => "PT15M"
        }
    UpdatePolicy:
      AutoScalingRollingUpdate: |
        {
          "MaxBatchSize" => "1",
          "MinInstancesInService" => "1",
          "PauseTime" => "300",
          "SuspendProcesses" => ["Launch", "Terminate", "HealthCheck", "ReplaceUnhealthy", "AZRebalance", "AlarmNotification", "ScheduledActions", "AddToLoadBalancer"],
          "WaitOnResourceSignals" => true
        }
      AutoScalingScheduledAction: |
        { "IgnoreUnmodifiedGroupSizeProperties" => true }
  Properties:
     AvailabilityZones: ["ap-southeast-2a", "ap-southeast-2b"]
     Cooldown: "300"
     DesiredCapacity: "2"
     HealthCheckGracePeriod: "300"
     HealthCheckType: "\"ELB\""
     InstanceId: "\"i-xxxxxx\""
     LaunchConfigurationName: "\"launchconfig-xxxxxx\"" #Ref("LaunchConfiguration")
     LoadBalancerNames: |
       ["lb-xxxx"] #[Ref("LoadBalancer")]
     MaxSize: "2"
     MetricsCollection: |
       {
         "Granularity" => "1Minute",
         "Metrics" => [] #all metrics will be sent to cloudwatch by default
       }
     MinSize: "1"
     NotificationConfigurations: | 
       [{
          "NotificationTypes" => [ "autoscaling:EC2_INSTANCE_LAUNCH", "autoscaling:EC2_INSTANCE_LAUNCH_ERROR", "autoscaling:EC2_INSTANCE_TERMINATE", "autoscaling:EC2_INSTANCE_TERMINATE_ERROR", "autoscaling:TEST_NOTIFICATION" ],
          "TopicARN" => "arn:aws:::xxxx"
       }]
     PlacementGroup: "\"placement group name\""
     Tags: |
       [{
         "Key" => "Application",
         "Value" => "",
         "PropagateAtLaunch" => true
       }]     
     TerminationPolicies: ["OldestInstance", "NewestInstance", "OldestLaunchConfiguration", "ClosestToNextInstanceHour", "Default"]
     VPCZoneIdentifier: ["subnet-xxxx", "subnet-xxxx"]

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
cfnlego-0.2.8 lib/cfnlego/resources/AWS/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.2.7 lib/cfnlego/resources/AWS/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.2.6 lib/cfnlego/resources/AWS/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.2.5 lib/cfnlego/resources/AWS/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.2.4 lib/cfnlego/resources/AWS/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.2.3 lib/cfnlego/resources/AWS/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.2.2 lib/cfnlego/resources/AWS/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.2.0 lib/cfnlego/resources/AWS/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.1.1 lib/cfnlego/resources/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.1.0 lib/cfnlego/resources/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.0.9 lib/cfnlego/resources/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.0.8 lib/cfnlego/resources/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.0.6 lib/cfnlego/resources/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.0.5 lib/cfnlego/resources/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.0.4 lib/cfnlego/resources/AutoScaling/AutoScalingGroup.yaml
cfnlego-0.0.3 lib/cfnlego/resources/AutoScaling/AutoScalingGroup.yaml