Sha256: 7f62cd4c1074dcf13dc85df2f930121a9734de201892dd8b318b6da5887b0922

Contents?: true

Size: 1.34 KB

Versions: 25

Compression:

Stored size: 1.34 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,
      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

25 entries across 25 versions & 1 rubygems

Version Path
awspec-0.22.1 lib/awspec/stub/iam_group.rb
awspec-0.22.0 lib/awspec/stub/iam_group.rb
awspec-0.21.6 lib/awspec/stub/iam_group.rb
awspec-0.21.5 lib/awspec/stub/iam_group.rb
awspec-0.21.4 lib/awspec/stub/iam_group.rb
awspec-0.21.3 lib/awspec/stub/iam_group.rb
awspec-0.21.2 lib/awspec/stub/iam_group.rb
awspec-0.21.1 lib/awspec/stub/iam_group.rb
awspec-0.21.0 lib/awspec/stub/iam_group.rb
awspec-0.20.2 lib/awspec/stub/iam_group.rb
awspec-0.20.1 lib/awspec/stub/iam_group.rb
awspec-0.20.0 lib/awspec/stub/iam_group.rb
awspec-0.19.0 lib/awspec/stub/iam_group.rb
awspec-0.18.2 lib/awspec/stub/iam_group.rb
awspec-0.18.1 lib/awspec/stub/iam_group.rb
awspec-0.18.0 lib/awspec/stub/iam_group.rb
awspec-0.17.1 lib/awspec/stub/iam_group.rb
awspec-0.17.0 lib/awspec/stub/iam_group.rb
awspec-0.16.0 lib/awspec/stub/iam_group.rb
awspec-0.15.0 lib/awspec/stub/iam_group.rb