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

Adds latest IAM updates from AWS #1193

Merged
merged 2 commits into from
Mar 8, 2025
Merged

Adds latest IAM updates from AWS #1193

merged 2 commits into from
Mar 8, 2025

Conversation

udondan
Copy link
Owner

@udondan udondan commented Mar 8, 2025

Adds latest IAM updates from AWS

Summary by CodeRabbit

  • New Features

    • Added a new game streaming service with expanded capabilities.
    • Introduced several new actions and permissions to enhance management for resource policies, group membership, and encryption adjustments.
    • Enhanced configuration options with additional condition keys.
  • Documentation

    • Updated statistics to reflect increased counts for services, actions, resource types, and condition keys.
    • Upgraded the version to 0.680.0.

Copy link

coderabbitai bot commented Mar 8, 2025

Walkthrough

This update bumps the version from 0.679.0 to 0.680.0 and introduces several new IAM policy elements. A new service, gameliftstreams, is added along with multiple associated actions, tagging conditions, and resource definitions. Additionally, new actions for resource policy management are added in the rum module, and new actions are introduced in the sso-directory and workspaces modules. New condition keys are defined for the bedrock and connect namespaces. Documentation and statistics files have been updated accordingly to reflect these changes.

Changes

File(s) Change Summary
VERSION, docs/source/conf.py, README.md, docs/source/index.rst Updated project version from 0.679.0 to 0.680.0; documentation and statistic counts (services, actions, resource types, condition keys) have been incremented.
CHANGELOG/v0.680.0.md, stats/services, stats/actions/gameliftstreams, stats/conditions/gameliftstreams, stats/resources/gameliftstreams Introduced new service gameliftstreams including its permissions (various actions with Write, Read, List, Tagging), tagging conditions, and resource definitions.
stats/actions/rum, stats/actions/sso-directory, stats/actions/workspaces Added new actions: in rum (DeleteResourcePolicy, GetResourcePolicy, PutResourcePolicy), sso-directory (IsMemberInGroups), and workspaces (ModifyEndpointEncryptionMode).
stats/conditions/bedrock, stats/conditions/connect Added new condition keys: bedrock:GuardrailIdentifier; connect:Channel and connect:ContactAssociationId.

Possibly related PRs


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ab59005 and 7920499.

⛔ Files ignored due to path filters (7)
  • lib/generated/index.ts is excluded by !**/generated/**
  • lib/generated/policy-statements/bedrock.ts is excluded by !**/generated/**
  • lib/generated/policy-statements/cloudwatchrum.ts is excluded by !**/generated/**
  • lib/generated/policy-statements/connect.ts is excluded by !**/generated/**
  • lib/generated/policy-statements/gameliftstreams.ts is excluded by !**/generated/**
  • lib/generated/policy-statements/iamidentitycentersuccessortoawssinglesign-ondirectory.ts is excluded by !**/generated/**
  • lib/generated/policy-statements/workspaces.ts is excluded by !**/generated/**
📒 Files selected for processing (14)
  • CHANGELOG/v0.680.0.md (1 hunks)
  • README.md (1 hunks)
  • VERSION (1 hunks)
  • docs/source/conf.py (1 hunks)
  • docs/source/index.rst (1 hunks)
  • stats/actions/gameliftstreams (1 hunks)
  • stats/actions/rum (1 hunks)
  • stats/actions/sso-directory (1 hunks)
  • stats/actions/workspaces (1 hunks)
  • stats/conditions/bedrock (1 hunks)
  • stats/conditions/connect (1 hunks)
  • stats/conditions/gameliftstreams (1 hunks)
  • stats/resources/gameliftstreams (1 hunks)
  • stats/services (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: Test cdk-iam-floyd
  • GitHub Check: Automerge CI
🔇 Additional comments (16)
docs/source/conf.py (1)

27-27: Version bump correctly implemented.

The release version has been properly updated from '0.679.0' to '0.680.0', which aligns with the version update in the VERSION file and reflects the latest IAM updates from AWS.

VERSION (1)

1-1: Version number correctly updated.

The version has been properly incremented from 0.679.0 to 0.680.0, which is consistent with the documentation configuration and reflects the addition of new IAM features.

stats/conditions/connect (1)

3-4: New condition keys added for connect service.

Two new condition keys have been added to the connect namespace:

  • connect:Channel
  • connect:ContactAssociationId

These additions enhance the flexibility of IAM policies for AWS Connect service.

stats/services (1)

168-168: New service added: gameliftstreams.

The gameliftstreams service has been correctly added to the services list, which is consistent with the changelog indicating the addition of this new AWS service along with its associated actions and resources.

stats/actions/sso-directory (1)

34-34: New SSO Directory API action added correctly

The addition of sso-directory:IsMemberInGroups;Read is appropriately formatted and consistent with existing entries. This new action enables checking membership across multiple groups simultaneously, which complements the existing IsMemberInGroup (singular) action on line 33.

stats/resources/gameliftstreams (1)

1-2: New GameLift Streams resources added

The new gameliftstreams resources (application and stream group) have been properly added. These resources align with the introduction of the gameliftstreams service mentioned in the PR summary.

stats/conditions/bedrock (1)

1-1: New Bedrock condition key added correctly

The addition of bedrock:GuardrailIdentifier is properly formatted and consistent with other Bedrock condition keys. This condition allows for filtering actions based on guardrail identifiers in Amazon Bedrock.

stats/actions/workspaces (1)

63-63: New WorkSpaces encryption management action added correctly

The addition of workspaces:ModifyEndpointEncryptionMode;Write is properly formatted and inserted in alphabetical order, consistent with the existing pattern. This action enables management of endpoint encryption settings for WorkSpaces.

stats/conditions/gameliftstreams (1)

1-3: New condition keys for gameliftstreams service added correctly

These three condition keys follow AWS's standard pattern for tag-based access control in IAM policies:

  • RequestTag for checking tags during resource creation
  • ResourceTag for filtering access based on existing tags
  • TagKeys for controlling which tag keys can be used

This is consistent with how tagging conditions are implemented for other AWS services.

README.md (1)

19-22: Statistics updated correctly to reflect new additions

The statistics have been properly updated to reflect:

  • New gameliftstreams service (419 services, up from 418)
  • New IAM actions (18398 actions, up from 18369)
  • New resource types (1972, up from 1970)
  • New condition keys (1929, up from 1923)

These numbers align with the changes in the PR.

docs/source/index.rst (1)

33-36: Documentation statistics updated correctly

The documentation statistics have been properly updated to match the README.md and reflect the new AWS IAM components being added.

stats/actions/rum (3)

6-6: New DeleteResourcePolicy action added correctly

This new write action for RUM service follows AWS's standard pattern for resource policy management.


10-10: New GetResourcePolicy action added correctly

This new read action for RUM service is properly categorized as a Read operation.


14-14: New PutResourcePolicy action added correctly

This new write action for RUM service follows AWS's standard pattern for resource policy management.

CHANGELOG/v0.680.0.md (1)

1-17: Well-structured changelog documenting all new additions.

The changelog clearly documents the new service (gameliftstreams), new actions, and condition keys added in this version. The format is consistent with previous changelog entries and provides a good summary of changes for users.

stats/actions/gameliftstreams (1)

1-24: Comprehensive list of gameliftstreams actions with appropriate access levels.

This file properly defines all the new IAM actions for the gameliftstreams service following the correct format (service:action;AccessLevel). The actions cover the full range of operations (Create, Read, Update, Delete, List) and are categorized with appropriate access levels (Write, Read, List, Tagging).

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@udondan udondan merged commit 1c1fbf5 into main Mar 8, 2025
9 checks passed
@udondan udondan deleted the iam-updates branch March 8, 2025 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant