Class: AwsElb

Inherits:
Object
  • Object
show all
Includes:
AwsSingularResourceMixin
Defined in:
lib/resources/aws/aws_elb.rb

Defined Under Namespace

Classes: Backend

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from AwsSingularResourceMixin

#exists?, included

Methods included from AwsResourceMixin

#catch_aws_errors, #check_resource_param_names, #initialize, #inspec_runner

Instance Attribute Details

#availability_zonesObject (readonly)

Returns the value of attribute availability_zones.



12
13
14
# File 'lib/resources/aws/aws_elb.rb', line 12

def availability_zones
  @availability_zones
end

#dns_nameObject (readonly)

Returns the value of attribute dns_name.



12
13
14
# File 'lib/resources/aws/aws_elb.rb', line 12

def dns_name
  @dns_name
end

#elb_nameObject (readonly)

Returns the value of attribute elb_name.



12
13
14
# File 'lib/resources/aws/aws_elb.rb', line 12

def elb_name
  @elb_name
end

#external_portsObject (readonly)

Returns the value of attribute external_ports.



12
13
14
# File 'lib/resources/aws/aws_elb.rb', line 12

def external_ports
  @external_ports
end

#instance_idsObject (readonly)

Returns the value of attribute instance_ids.



12
13
14
# File 'lib/resources/aws/aws_elb.rb', line 12

def instance_ids
  @instance_ids
end

#internal_portsObject (readonly)

Returns the value of attribute internal_ports.



12
13
14
# File 'lib/resources/aws/aws_elb.rb', line 12

def internal_ports
  @internal_ports
end

#security_group_idsObject (readonly)

Returns the value of attribute security_group_ids.



12
13
14
# File 'lib/resources/aws/aws_elb.rb', line 12

def security_group_ids
  @security_group_ids
end

#subnet_idsObject (readonly)

Returns the value of attribute subnet_ids.



12
13
14
# File 'lib/resources/aws/aws_elb.rb', line 12

def subnet_ids
  @subnet_ids
end

#vpc_idObject (readonly)

Returns the value of attribute vpc_id.



12
13
14
# File 'lib/resources/aws/aws_elb.rb', line 12

def vpc_id
  @vpc_id
end

Instance Method Details

#to_sObject



16
17
18
# File 'lib/resources/aws/aws_elb.rb', line 16

def to_s
  "AWS ELB #{elb_name}"
end