Sha256: 4e15231d8ef500657533f67904f232775869c95f20d364d409db360df62c77fc

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 KB

Contents

Aws.config[:iam] = {
  stub_responses: {
    list_groups: {
      groups: [
        path: '/',
        group_name: 'my-iam-group',
        group_id: 'GABCDEFGHI123455689',
        arn: 'arn:aws:iam::123456789012:group/my-iam-group',
        create_date: Time.local(2015)
      ]
    },
    list_users: {
      users: [
        path: '/',
        user_name: 'my-iam-user',
        user_id: 'ABCDEFGHI1234556890',
        arn: 'arn:aws:iam::123456789012:user/my-iam-user',
        create_date: Time.local(2015)
      ]
    },
    list_groups_for_user: {
      groups: [
        {
          path: '/',
          group_name: 'my-iam-group',
          group_id: 'GABCDEFGHI123455689',
          arn: 'arn:aws:iam::123456789012:group/my-iam-group',
          create_date: Time.local(2015)
        }
      ]
    },
    list_attached_group_policies: {
      attached_policies: [
        {
          policy_arn: 'arn:aws:iam::aws:policy/ReadOnlyAccess',
          policy_name: 'ReadOnlyAccess'
        }
      ],
      is_truncated: false,
      maker: nil
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

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