Sha256: b9b072fb8505708fa9f39c082a8c12b659b5ff6af2194ee8376c9fd073282169

Contents?: true

Size: 1.1 KB

Versions: 50

Compression:

Stored size: 1.1 KB

Contents

Aws.config[:iam] = {
  stub_responses: {
    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_user_policies: {
      attached_policies: [
        {
          policy_arn: 'arn:aws:iam::aws:policy/ReadOnlyAccess',
          policy_name: 'ReadOnlyAccess'
        }
      ],
      is_truncated: false,
      marker: nil
    },
    simulate_principal_policy: {
      evaluation_results: [
        {
          eval_action_name: 'ec2:DescribeInstances',
          eval_resource_name: '*',
          eval_decision: 'allowed',
          matched_statements: [
          ]
        }
      ],
      is_truncated: false,
      marker: nil
    }
  }
}

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
awspec-0.18.0 lib/awspec/stub/iam_user.rb
awspec-0.17.1 lib/awspec/stub/iam_user.rb
awspec-0.17.0 lib/awspec/stub/iam_user.rb
awspec-0.16.0 lib/awspec/stub/iam_user.rb
awspec-0.15.0 lib/awspec/stub/iam_user.rb
awspec-0.14.1 lib/awspec/stub/iam_user.rb
awspec-0.14.0 lib/awspec/stub/iam_user.rb
awspec-0.13.0 lib/awspec/stub/iam_user.rb
awspec-0.12.1 lib/awspec/stub/iam_user.rb
awspec-0.12.0 lib/awspec/stub/iam_user.rb