Sha256: fa1df10f76a14d0c80a7f80c322dc05092c54898cd0e0294f7fc348ad3ebacf3

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

Aws.config[:iam] = {
  stub_responses: {
    list_roles: {
      roles: [
        path: '/',
        role_name: 'my-iam-role',
        role_id: 'RABCDEFGHI123455689',
        arn: 'arn:aws:iam::123456789012:role/my-iam-role',
        create_date: Time.local(2015)
      ]
    },
    list_attached_role_policies: {
      attached_policies: [
        {
          policy_arn: 'arn:aws:iam::aws:policy/ReadOnlyAccess',
          policy_name: 'ReadOnlyAccess'
        }
      ],
      is_truncated: false,
      maker: nil
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
awspec-0.10.2 lib/awspec/stub/iam_role.rb
awspec-0.10.1 lib/awspec/stub/iam_role.rb
awspec-0.10.0 lib/awspec/stub/iam_role.rb