Class: Convection::Model::Template::Resource::AutoScalingGroup
Overview
AWS::AutoScaling::AutoScalingGroup
Instance Attribute Summary
#exist, #name, #parent, #properties, #resource_attributes, #template
Instance Method Summary
collapse
#immutable_metadata, #render_tags, #tag, #tags
#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, #property, property, #reference, type, #type, #with_output
#condition, #render_condition
attach_resource
#camel_case, included, method_name, #screaming_snake_case, #snake_case
#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_not, #fn_or, #fn_ref, #get_att, #get_azs, #join, #select
Instance Method Details
#availability_zone ⇒ Object
#availability_zone(value) ⇒ Object
14
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 14
property :availability_zone, 'AvailabilityZones', :array
|
#cooldown ⇒ Object
#cooldown(value) ⇒ Object
15
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 15
property :cooldown, 'Cooldown'
|
#desired_capacity ⇒ Object
#desired_capacity(value) ⇒ Object
16
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 16
property :desired_capacity, 'DesiredCapacity'
|
#health_check_grace_period ⇒ Object
#health_check_grace_period(value) ⇒ Object
17
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 17
property :health_check_grace_period, 'HealthCheckGracePeriod'
|
#health_check_type ⇒ Object
#health_check_type(value) ⇒ Object
18
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 18
property :health_check_type, 'HealthCheckType'
|
#instance_id ⇒ Object
#instance_id(value) ⇒ Object
19
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 19
property :instance_id, 'InstanceId'
|
#launch_configuration_name ⇒ Object
#launch_configuration_name(value) ⇒ Object
20
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 20
property :launch_configuration_name, 'LaunchConfigurationName'
|
#load_balancer_name ⇒ Object
#load_balancer_name(value) ⇒ Object
21
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 21
property :load_balancer_name, 'LoadBalancerNames', :array
|
#max_size ⇒ Object
#max_size(value) ⇒ Object
22
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 22
property :max_size, 'MaxSize'
|
#metrics_collection ⇒ Object
#metrics_collection(value) ⇒ Object
23
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 23
property :metrics_collection, 'MetricsCollection', :array
|
#min_size ⇒ Object
#min_size(value) ⇒ Object
24
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 24
property :min_size, 'MinSize'
|
#notification_configuration ⇒ Object
#notification_configuration(value) ⇒ Object
25
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 25
property :notification_configuration, 'NotificationConfiguration'
|
#placement_group ⇒ Object
#placement_group(value) ⇒ Object
26
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 26
property :placement_group, 'PlacementGroup'
|
#render(*args) ⇒ Object
30
31
32
33
34
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 30
def render(*args)
super.tap do |resource|
render_tags(resource)
end
end
|
#termination_policie ⇒ Object
#termination_policie(value) ⇒ Object
27
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 27
property :termination_policie, 'TerminationPolicies', :array
|
#update_policy(&block) ⇒ Object
36
37
38
39
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 36
def update_policy(&block)
policy = ResourceAttribute::UpdatePolicy.new(self)
policy.instance_exec(&block) if block
end
|
#vpc_zone_identifier ⇒ Object
#vpc_zone_identifier(value) ⇒ Object
28
|
# File 'lib/convection/model/template/resource/aws_auto_scaling_auto_scaling_group.rb', line 28
property :vpc_zone_identifier, 'VPCZoneIdentifier', :array
|