Sha256: cf06ce6a39626d7299cc05f6cd6df1fe33119a974d0111bc37d411130e183e49
Contents?: true
Size: 1.5 KB
Versions: 21
Compression:
Stored size: 1.5 KB
Contents
require_relative '../resource' module Convection module Model class Template class Resource ## # AWS::AutoScaling::AutoScalingGroup ## class AutoScalingGroup < Resource include Model::Mixin::Taggable type 'AWS::AutoScaling::AutoScalingGroup' property :availability_zone, 'AvailabilityZones', :array property :cooldown, 'Cooldown' property :desired_capacity, 'DesiredCapacity' property :health_check_grace_period, 'HealthCheckGracePeriod' property :health_check_type, 'HealthCheckType' property :instance_id, 'InstanceId' property :launch_configuration_name, 'LaunchConfigurationName' property :load_balancer_name, 'LoadBalancerNames', :array property :max_size, 'MaxSize' property :metrics_collection, 'MetricsCollection', :array property :min_size, 'MinSize' property :notification_configuration, 'NotificationConfiguration' property :placement_group, 'PlacementGroup' property :termination_policie, 'TerminationPolicies', :array property :vpc_zone_identifier, 'VPCZoneIdentifier', :array def render(*args) super.tap do |resource| render_tags(resource) end end def update_policy(&block) policy = ResourceAttribute::UpdatePolicy.new(self) policy.instance_exec(&block) if block end end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems