Class: Convection::Model::Template::Resource::ELB

Inherits:
Convection::Model::Template::Resource show all
Includes:
Mixin::Taggable
Defined in:
lib/convection/model/template/resource/aws_elb.rb

Overview

AWS::ElasticLoadBalancing::LoadBalancer

Instance Attribute Summary

Attributes inherited from Convection::Model::Template::Resource

#exist, #name, #parent, #properties, #resource_attributes, #template

Instance Method Summary collapse

Methods included from Mixin::Taggable

#immutable_metadata, #render_tags, #tag, #tags

Methods inherited from Convection::Model::Template::Resource

#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, #property, property, #reference, type, #type, #with_output

Methods included from Mixin::Conditional

#condition, #render_condition

Methods included from DSL::Template::Resource

attach_resource

Methods included from DSL::Helpers

#camel_case, included, method_name, #screaming_snake_case, #snake_case

Methods included from DSL::IntrinsicFunctions

#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_not, #fn_or, #fn_ref, #get_att, #get_azs, #join, #select

Constructor Details

This class inherits a constructor from Convection::Model::Template::Resource

Instance Method Details

#access_logging_policyObject #access_logging_policy(value) ⇒ Object

Overloads:

  • #access_logging_policyObject

    Returns the value of the 'AccessLoggingPolicy' CloudFormation property.

  • #access_logging_policy(value) ⇒ Object

    Sets the 'AccessLoggingPolicy' CloudFormation property.

    Parameters:

    • value

      the value to set the 'AccessLoggingPolicy' CloudFormation property to.



14
# File 'lib/convection/model/template/resource/aws_elb.rb', line 14

property :access_logging_policy, 'AccessLoggingPolicy'

Overloads:

  • #app_cookie_stickiness_policyObject

    Returns the value of the 'AppCookieStickinessPolicy' CloudFormation property.

  • #app_cookie_stickiness_policy(value) ⇒ Object

    Sets the 'AppCookieStickinessPolicy' CloudFormation property.

    Parameters:

    • value

      the value to set the 'AppCookieStickinessPolicy' CloudFormation property to.



15
# File 'lib/convection/model/template/resource/aws_elb.rb', line 15

property :app_cookie_stickiness_policy, 'AppCookieStickinessPolicy', :type => :list

#availability_zoneObject #availability_zone(value) ⇒ Object

Overloads:

  • #availability_zoneObject

    Returns the value of the 'AvailabilityZones' CloudFormation property.

  • #availability_zone(value) ⇒ Object

    Sets the 'AvailabilityZones' CloudFormation property.

    Parameters:

    • value

      the value to set the 'AvailabilityZones' CloudFormation property to.



17
# File 'lib/convection/model/template/resource/aws_elb.rb', line 17

property :availability_zone, 'AvailabilityZones', :type => :list

#connection_draining_policyObject #connection_draining_policy(value) ⇒ Object

Overloads:

  • #connection_draining_policyObject

    Returns the value of the 'ConnectionDrainingPolicy' CloudFormation property.

  • #connection_draining_policy(value) ⇒ Object

    Sets the 'ConnectionDrainingPolicy' CloudFormation property.

    Parameters:

    • value

      the value to set the 'ConnectionDrainingPolicy' CloudFormation property to.



18
# File 'lib/convection/model/template/resource/aws_elb.rb', line 18

property :connection_draining_policy, 'ConnectionDrainingPolicy'

#connection_settingsObject #connection_settings(value) ⇒ Object

Overloads:

  • #connection_settingsObject

    Returns the value of the 'ConnectionSettings' CloudFormation property.

  • #connection_settings(value) ⇒ Object

    Sets the 'ConnectionSettings' CloudFormation property.

    Parameters:

    • value

      the value to set the 'ConnectionSettings' CloudFormation property to.



19
# File 'lib/convection/model/template/resource/aws_elb.rb', line 19

property :connection_settings, 'ConnectionSettings'

#cross_zoneObject #cross_zone(value) ⇒ Object

Overloads:

  • #cross_zoneObject

    Returns the value of the 'CrossZone' CloudFormation property.

  • #cross_zone(value) ⇒ Object

    Sets the 'CrossZone' CloudFormation property.

    Parameters:

    • value

      the value to set the 'CrossZone' CloudFormation property to.



20
# File 'lib/convection/model/template/resource/aws_elb.rb', line 20

property :cross_zone, 'CrossZone'

#health_checkObject #health_check(value) ⇒ Object

Overloads:

  • #health_checkObject

    Returns the value of the 'HealthCheck' CloudFormation property.

  • #health_check(value) ⇒ Object

    Sets the 'HealthCheck' CloudFormation property.

    Parameters:

    • value

      the value to set the 'HealthCheck' CloudFormation property to.



21
# File 'lib/convection/model/template/resource/aws_elb.rb', line 21

property :health_check, 'HealthCheck'

#instanceObject #instance(value) ⇒ Object

Overloads:

  • #instanceObject

    Returns the value of the 'Instances' CloudFormation property.

  • #instance(value) ⇒ Object

    Sets the 'Instances' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Instances' CloudFormation property to.



22
# File 'lib/convection/model/template/resource/aws_elb.rb', line 22

property :instance, 'Instances', :type => :list

Overloads:

  • #lb_cookie_stickiness_policyObject

    Returns the value of the 'LBCookieStickinessPolicy' CloudFormation property.

  • #lb_cookie_stickiness_policy(value) ⇒ Object

    Sets the 'LBCookieStickinessPolicy' CloudFormation property.

    Parameters:

    • value

      the value to set the 'LBCookieStickinessPolicy' CloudFormation property to.



16
# File 'lib/convection/model/template/resource/aws_elb.rb', line 16

property :lb_cookie_stickiness_policy, 'LBCookieStickinessPolicy', :type => :list

#listenerObject #listener(value) ⇒ Object

Overloads:

  • #listenerObject

    Returns the value of the 'Listeners' CloudFormation property.

  • #listener(value) ⇒ Object

    Sets the 'Listeners' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Listeners' CloudFormation property to.



24
# File 'lib/convection/model/template/resource/aws_elb.rb', line 24

property :listener, 'Listeners', :type => :list

#load_balancer_nameObject #load_balancer_name(value) ⇒ Object

Overloads:

  • #load_balancer_nameObject

    Returns the value of the 'LoadBalancerName' CloudFormation property.

  • #load_balancer_name(value) ⇒ Object

    Sets the 'LoadBalancerName' CloudFormation property.

    Parameters:

    • value

      the value to set the 'LoadBalancerName' CloudFormation property to.



23
# File 'lib/convection/model/template/resource/aws_elb.rb', line 23

property :load_balancer_name, 'LoadBalancerName'

#policyObject #policy(value) ⇒ Object

Overloads:

  • #policyObject

    Returns the value of the 'Policies' CloudFormation property.

  • #policy(value) ⇒ Object

    Sets the 'Policies' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Policies' CloudFormation property to.



25
# File 'lib/convection/model/template/resource/aws_elb.rb', line 25

property :policy, 'Policies', :type => :list

#render(*args) ⇒ Object



30
31
32
33
34
# File 'lib/convection/model/template/resource/aws_elb.rb', line 30

def render(*args)
  super.tap do |resource|
    render_tags(resource)
  end
end

#schemeObject #scheme(value) ⇒ Object

Overloads:

  • #schemeObject

    Returns the value of the 'Scheme' CloudFormation property.

  • #scheme(value) ⇒ Object

    Sets the 'Scheme' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Scheme' CloudFormation property to.



26
# File 'lib/convection/model/template/resource/aws_elb.rb', line 26

property :scheme, 'Scheme'

#security_groupObject #security_group(value) ⇒ Object

Overloads:

  • #security_groupObject

    Returns the value of the 'SecurityGroups' CloudFormation property.

  • #security_group(value) ⇒ Object

    Sets the 'SecurityGroups' CloudFormation property.

    Parameters:

    • value

      the value to set the 'SecurityGroups' CloudFormation property to.



27
# File 'lib/convection/model/template/resource/aws_elb.rb', line 27

property :security_group, 'SecurityGroups', :type => :list

#subnetObject #subnet(value) ⇒ Object

Overloads:

  • #subnetObject

    Returns the value of the 'Subnets' CloudFormation property.

  • #subnet(value) ⇒ Object

    Sets the 'Subnets' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Subnets' CloudFormation property to.



28
# File 'lib/convection/model/template/resource/aws_elb.rb', line 28

property :subnet, 'Subnets', :type => :list