Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(iam): cleanup of IAM library #2823

Merged
merged 15 commits into from
Jun 17, 2019
Merged

refactor(iam): cleanup of IAM library #2823

merged 15 commits into from
Jun 17, 2019

Commits on Jun 11, 2019

  1. refactor(iam): cleanup of IAM library

    Various changes.
    
    BREAKING CHANGE:
    
    * **iam**: rename `ImportedResourcePrincipal` to `UnknownPrincipal`.
    * **iam**: `managedPolicyArns` renamed to `managedPolicies`, takes
      return value from `ManagedPolicy.fromAwsManagedPolicyName()`.
    rix0rrr committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    4e43f05 View commit details
    Browse the repository at this point in the history
  2. Move PolicyStatement to its own file.

    Remove `postProcess` from Token interface, move opting into it into
    `IResolvable.resolve()`, so it can be hidden from the `PolicyDocument`
    public interface.
    
    Make addStatements() variadic.
    rix0rrr committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    9e21e6e View commit details
    Browse the repository at this point in the history
  3. Introduce IPolicyStatement

    PolicyStatement is no longer IResolvable (doesn't need to be)
    
    Remove AwsPrincipal, which was always an alias for ArnPrincipal
    which is much clearer.
    
    Introduce `PolicyStatement.fromAttributes({ ... })` as an
    alternative to the fluent interface chaining of old `PolicyStatement`.
    rix0rrr committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    4093679 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2019

  1. Updating all the call sites

    rix0rrr committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    5d9ba0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c25140 View commit details
    Browse the repository at this point in the history
  3. Test fixx0r4g3

    rix0rrr committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    83b7493 View commit details
    Browse the repository at this point in the history
  4. Fixes

    rix0rrr committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    f1fa730 View commit details
    Browse the repository at this point in the history
  5. yaya

    rix0rrr committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    d7c0ae1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d62fc2e View commit details
    Browse the repository at this point in the history
  7. Reduce coverage requirements

    rix0rrr committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    c3bbf12 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2019

  1. Update tests

    rix0rrr committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    604909a View commit details
    Browse the repository at this point in the history
  2. Update sagemaker

    rix0rrr committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    213ceea View commit details
    Browse the repository at this point in the history
  3. More tests

    rix0rrr committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    703a98c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d870cc View commit details
    Browse the repository at this point in the history
  5. Fixup new changes on master

    rix0rrr committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    bf9acf0 View commit details
    Browse the repository at this point in the history