Sha256: 37fde8f2ec788ac6db34c47eeb60c9e46e001c46773b643e73cc8cf782a99760

Contents?: true

Size: 565 Bytes

Versions: 25

Compression:

Stored size: 565 Bytes

Contents

### exist

```ruby
describe iam_user('my-iam-user') do
  it { should exist }
end
```

### be_allowed_action

```ruby
describe iam_user('my-iam-user') do
  it { should be_allowed_action('ec2:DescribeInstances') }
  it { should be_allowed_action('s3:Put*').resource_arn('arn:aws:s3:::my-bucket-name/*') }
end
```

### have_iam_policy

```ruby
describe iam_user('my-iam-user') do
  it { should have_iam_policy('ReadOnlyAccess') }
end
```

### belong_to_iam_group

```ruby
describe iam_user('my-iam-user') do
  it { should belong_to_iam_group('my-iam-group') }
end
```

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
awspec-0.36.1 doc/_resource_types/iam_user.md
awspec-0.36.0 doc/_resource_types/iam_user.md
awspec-0.35.0 doc/_resource_types/iam_user.md
awspec-0.34.0 doc/_resource_types/iam_user.md
awspec-0.33.0 doc/_resource_types/iam_user.md
awspec-0.32.0 doc/_resource_types/iam_user.md
awspec-0.31.0 doc/_resource_types/iam_user.md
awspec-0.30.0 doc/_resource_types/iam_user.md
awspec-0.29.0 doc/_resource_types/iam_user.md
awspec-0.28.1 doc/_resource_types/iam_user.md
awspec-0.28.0 doc/_resource_types/iam_user.md
awspec-0.27.2 doc/_resource_types/iam_user.md
awspec-0.27.1 doc/_resource_types/iam_user.md
awspec-0.27.0 doc/_resource_types/iam_user.md
awspec-0.26.2 doc/_resource_types/iam_user.md
awspec-0.26.1 doc/_resource_types/iam_user.md
awspec-0.26.0 doc/_resource_types/iam_user.md
awspec-0.25.3 doc/_resource_types/iam_user.md
awspec-0.25.2 doc/_resource_types/iam_user.md
awspec-0.25.1 doc/_resource_types/iam_user.md