Class: Convection::Model::Template::Resource::ELBV2TargetGroup
Overview
AWS::ElasticLoadBalancingV2::TargetGroup
Instance Attribute Summary
#exist, #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
#_terraform_module_dir_to_flag, #_terraform_module_flag_to_dir, attach_resource, attach_resource_collection, resource_collection_dsl_methods, resource_dsl_methods
#camel_case, included, method_name, #screaming_snake_case, #snake_case
#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_import_value, #fn_not, #fn_or, #fn_ref, #fn_sub, #get_att, #get_azs, included, #join, mixers, #select
Instance Method Details
#health_check_interval_seconds ⇒ Object
#health_check_interval_seconds(value) ⇒ Object
14
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 14
property :health_check_interval_seconds, 'HealthCheckIntervalSeconds'
|
#health_check_path ⇒ Object
#health_check_path(value) ⇒ Object
15
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 15
property :health_check_path, 'HealthCheckPath'
|
#health_check_port ⇒ Object
#health_check_port(value) ⇒ Object
16
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 16
property :health_check_port, 'HealthCheckPort'
|
#health_check_protocol ⇒ Object
#health_check_protocol(value) ⇒ Object
17
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 17
property :health_check_protocol, 'HealthCheckProtocol'
|
#health_check_timeout_seconds ⇒ Object
#health_check_timeout_seconds(value) ⇒ Object
18
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 18
property :health_check_timeout_seconds, 'HealthCheckTimeoutSeconds'
|
#healthy_threshold_count ⇒ Object
#healthy_threshold_count(value) ⇒ Object
19
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 19
property :healthy_threshold_count, 'HealthyThresholdCount'
|
#match ⇒ Object
#match(value) ⇒ Object
20
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 20
property :match, 'Matcher'
|
#matcher(http_code = nil, &block) ⇒ Object
50
51
52
53
54
55
56
57
58
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 50
def matcher(http_code = nil, &block)
m = ResourceProperty::ELBV2TargetGroupMatcher.new(self)
if http_code
m.http_code http_code
elsif block
m.instance_exec(&block)
end
match m
end
|
#name ⇒ Object
#name(value) ⇒ Object
21
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 21
property :name, 'Name'
|
#port ⇒ Object
#port(value) ⇒ Object
22
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 22
property :port, 'Port'
|
#protocol ⇒ Object
#protocol(value) ⇒ Object
23
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 23
property :protocol, 'Protocol'
|
#render(*args) ⇒ Object
60
61
62
63
64
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 60
def render(*args)
super.tap do |resource|
render_tags(resource)
end
end
|
#target(&block) ⇒ Object
Also known as:
target_description
Append a target_description to targets
#target_group_attribute(key = nil, value = nil, &block) ⇒ Object
Append an attribute to target_group_attributes
31
32
33
34
35
36
37
38
39
40
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 31
def target_group_attribute(key = nil, value = nil, &block)
attribute = ResourceProperty::ELBV2TargetGroupAttribute.new(self)
if key && value
attribute.key key
attribute.value value
elsif block
attribute.instance_exec(&block)
end
target_group_attributes << attribute
end
|
#target_group_attributes ⇒ Object
#target_group_attributes(value) ⇒ Object
24
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 24
property :target_group_attributes, 'TargetGroupAttributes', :type => :list
|
#targets ⇒ Object
#targets(value) ⇒ Object
Also known as:
target_descriptions
25
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 25
property :targets, 'Targets', :type => :list
|
#unhealthy_threshold_count ⇒ Object
#unhealthy_threshold_count(value) ⇒ Object
27
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 27
property :unhealthy_threshold_count, 'UnhealthyThresholdCount'
|
#vpc_id ⇒ Object
#vpc_id(value) ⇒ Object
28
|
# File 'lib/convection/model/template/resource/aws_elbv2_target_group.rb', line 28
property :vpc_id, 'VpcId'
|