Sha256: 1f63107d9b1b976634253a104702d9d73c8d51682cfe979d0bf970807f0b5bca

Contents?: true

Size: 841 Bytes

Versions: 50

Compression:

Stored size: 841 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,
      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.36.1 lib/awspec/stub/iam_role.rb
awspec-0.36.0 lib/awspec/stub/iam_role.rb
awspec-0.35.0 lib/awspec/stub/iam_role.rb
awspec-0.34.0 lib/awspec/stub/iam_role.rb
awspec-0.33.0 lib/awspec/stub/iam_role.rb
awspec-0.32.0 lib/awspec/stub/iam_role.rb
awspec-0.31.0 lib/awspec/stub/iam_role.rb
awspec-0.30.0 lib/awspec/stub/iam_role.rb
awspec-0.29.0 lib/awspec/stub/iam_role.rb
awspec-0.28.1 lib/awspec/stub/iam_role.rb
awspec-0.28.0 lib/awspec/stub/iam_role.rb
awspec-0.27.2 lib/awspec/stub/iam_role.rb
awspec-0.27.1 lib/awspec/stub/iam_role.rb
awspec-0.27.0 lib/awspec/stub/iam_role.rb
awspec-0.26.2 lib/awspec/stub/iam_role.rb
awspec-0.26.1 lib/awspec/stub/iam_role.rb
awspec-0.26.0 lib/awspec/stub/iam_role.rb
awspec-0.25.3 lib/awspec/stub/iam_role.rb
awspec-0.25.2 lib/awspec/stub/iam_role.rb
awspec-0.25.1 lib/awspec/stub/iam_role.rb