Sha256: 6fdae5e0ad6cd1d1c1955da2a75bcdbf84137de3da709c34374541083ffd37aa

Contents?: true

Size: 1.36 KB

Versions: 63

Compression:

Stored size: 1.36 KB

Contents

### exist

```ruby
describe elb('my-elb') do
  it { should exist }
end
```

### have_ec2

```ruby
describe elb('my-elb') do
  it { should have_ec2('my-ec2') }
end
```

### have_listener

http://docs.aws.amazon.com/en_us/ElasticLoadBalancing/latest/DeveloperGuide/elb-listener-config.html

```ruby
describe elb('my-elb') do
  it { should have_listener(protocol: 'HTTPS', port: 443, instance_protocol: 'HTTP', instance_port: 80) }
end
```

### have_security_group

```ruby
describe elb('my-elb') do
  it { should have_security_group('my-lb-security-group-tag-name') }
end
```

### have_subnet

```ruby
describe elb('my-elb') do
  it { should have_subnet('my-subnet') }
end
```

### belong_to_vpc

```ruby
describe elb('my-elb') do
  it { should belong_to_vpc('my-vpc') }
end
```

### have_tag

```ruby
describe elb('my-elb') do
  it { should have_tag('Name').value('my-elb') }
  it { should have_tag('my-tag-key').value('my-tag-value') }
end
```

### be_cross_zone_load_balancing_enabled

```ruby
describe elb('my-elb') do
  it { should be_cross_zone_load_balancing_enabled }
end
```

### have_access_log

```ruby
describe elb('my-elb') do
  it { should have_access_log(s3_bucket_name: 'my-loadbalancer-logs', s3_bucket_prefix: 'my-app', emit_interval: 5) }
end
```

### have_connection_draining

```ruby
describe elb('my-elb') do
  it { should have_connection_draining(timeout: 300) }
end
```

Version data entries

63 entries across 63 versions & 3 rubygems

Version Path
awspec-1.30.0 doc/_resource_types/elb.md
awspec-1.29.3 doc/_resource_types/elb.md
awspec-1.29.2 doc/_resource_types/elb.md
awspec-1.29.1 doc/_resource_types/elb.md
awspec-1.29.0 doc/_resource_types/elb.md
awspec-1.28.2 doc/_resource_types/elb.md
awspec-1.28.1 doc/_resource_types/elb.md
awspec-1.28.0 doc/_resource_types/elb.md
awspec-1.27.1 doc/_resource_types/elb.md
awspec-1.27.0 doc/_resource_types/elb.md
awspec-1.26.0 doc/_resource_types/elb.md
awspec-1.25.2 doc/_resource_types/elb.md
awspec-1.25.1 doc/_resource_types/elb.md
awspec-1.25.0 doc/_resource_types/elb.md
awspec-1.24.4 doc/_resource_types/elb.md
awspec-1.24.3 doc/_resource_types/elb.md
awspec-1.24.2 doc/_resource_types/elb.md
awspec-1.24.1 doc/_resource_types/elb.md
awspec-1.24.0 doc/_resource_types/elb.md
awspec-1.23.0 doc/_resource_types/elb.md