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 #1172

Merged
merged 1 commit into from
Feb 28, 2025
Merged

Adds latest IAM updates from AWS #1172

merged 1 commit into from
Feb 28, 2025

Conversation

udondan
Copy link
Owner

@udondan udondan commented Feb 28, 2025

Adds latest IAM updates from AWS

Summary by CodeRabbit

  • New Features
    • Expanded API capabilities with new actions that enhance session management, invocation handling, linking, and configuration functionalities.
    • Introduced an additional resource type to better support session operations.
  • Documentation
    • Updated counts in documentation to reflect increased capabilities.
    • Version information has been revised to v0.677.0.

Copy link

coderabbitai bot commented Feb 28, 2025

Walkthrough

The changes introduce new actions and a resource type to extend session management and invocation handling capabilities. New actions include those under the bedrock namespace (e.g., CreateSession, EndSession, etc.), application-signals:Link, and ses:PutConfigurationSetArchivingOptions. Additionally, the version has been updated from 0.676.0 to 0.677.0 across multiple files, and statistics in the README and documentation have been refreshed to reflect the increased counts for supported actions and resource types.

Changes

File(s) Change Summary
CHANGELOG/v0.677.0.md Introduces new actions (application-signals:Link, multiple bedrock actions, and ses:PutConfigurationSetArchivingOptions) and a new resource type (bedrock:session).
README.md, docs/source/index.rst Updates statistics counts for Actions (from 18285 to 18298) and Resource Types (from 1963 to 1964) in the project's documentation.
VERSION, docs/source/conf.py Increments the version from 0.676.0 to 0.677.0, updating the release information.
stats/actions/application-signals,
stats/actions/bedrock,
stats/actions/ses
Adds new action entries: for application-signals a new linking action; for bedrock multiple actions (CreateInvocation, CreateSession, DeleteSession, EndSession, GetInvocationStep, GetSession, ListInvocationSteps, ListInvocations, ListSessions, PutInvocationStep, UpdateSession); for ses a new permission for archiving configuration sets.
stats/resources/bedrock Adds a new resource type: bedrock:session.

Sequence Diagram(s)

sequenceDiagram
    participant C as Client
    participant API as Bedrock API
    participant DB as Database

    C->>API: CreateSession
    API->>DB: Store session info
    DB-->>API: Session stored confirmation
    API-->>C: Return session ID

    C->>API: GetSession
    API->>DB: Retrieve session data
    DB-->>API: Session data
    API-->>C: Return session data

    C->>API: EndSession
    API->>DB: Mark session as ended
    DB-->>API: Confirmation
    API-->>C: Confirm session end
Loading
sequenceDiagram
    participant C as Client
    participant API as Bedrock API
    participant DB as Database

    C->>API: CreateInvocation
    API->>DB: Log invocation details
    DB-->>API: Invocation created
    API-->>C: Return invocation ID

    C->>API: PutInvocationStep
    API->>DB: Append invocation step
    DB-->>API: Step added confirmation
    API-->>C: Confirm invocation step
Loading

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 e019e97 and 1dd89cc.

⛔ Files ignored due to path filters (4)
  • lib/generated/policy-statements/bedrock.ts is excluded by !**/generated/**
  • lib/generated/policy-statements/cloudwatchapplicationsignals.ts is excluded by !**/generated/**
  • lib/generated/policy-statements/simpleemailservicev2.ts is excluded by !**/generated/**
  • lib/generated/policy-statements/transcribe.ts is excluded by !**/generated/**
📒 Files selected for processing (9)
  • CHANGELOG/v0.677.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/application-signals (1 hunks)
  • stats/actions/bedrock (8 hunks)
  • stats/actions/ses (1 hunks)
  • stats/resources/bedrock (1 hunks)
✅ Files skipped from review due to trivial changes (2)
  • VERSION
  • docs/source/conf.py
⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: Test cdk-iam-floyd
  • GitHub Check: Automerge CI
🔇 Additional comments (7)
stats/resources/bedrock (1)

27-27: New resource type added: bedrock:session

This addition aligns with AWS's recent updates to the Bedrock service, extending the IAM policy controls to include session management capabilities.

stats/actions/ses (1)

148-148: New SES action added: PutConfigurationSetArchivingOptions

This action extends the SES configuration capabilities, allowing for the management of archiving options for configuration sets. This is properly categorized as a Write permission.

docs/source/index.rst (1)

34-35: Statistics updated to reflect new additions

The documentation has been properly updated to reflect the increased number of actions (from 18,285 to 18,298) and resource types (from 1,963 to 1,964), which aligns with the additions in this PR.

stats/actions/application-signals (1)

6-6: New application-signals action added: Link

This action has been added with the appropriate Write permission type, consistent with other similar operations in the application-signals namespace.

README.md (1)

20-21: Statistics accurately updated to reflect new AWS IAM additions

The count of actions has been correctly increased from 18285 to 18298 (+13 actions) and resource types from 1963 to 1964 (+1 resource type), which aligns with the additions documented in the CHANGELOG.

CHANGELOG/v0.677.0.md (1)

1-20: Well-structured changelog documenting new IAM capabilities

The changelog clearly documents all 13 new actions and 1 new resource type introduced in this version:

  • 11 new bedrock session and invocation management actions
  • 1 new application-signals action
  • 1 new SES action
  • 1 new bedrock resource type

This is properly formatted and aligns with the statistics in the README.

stats/actions/bedrock (1)

22-22: New bedrock session management capabilities correctly implemented

All 11 new bedrock actions are properly added to the actions list with appropriate access types:

  • Session management (Create/Delete/End/Get/Update/List)
  • Invocation handling (Create/GetStep/ListSteps/ListInvocations/PutStep)

Each action is correctly categorized with the appropriate access type (Write/Read/List).

Also applies to: 33-33, 58-58, 63-63, 89-89, 103-103, 135-136, 148-148, 154-154, 185-185


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ 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 dcdcd23 into main Feb 28, 2025
9 checks passed
@udondan udondan deleted the iam-updates branch February 28, 2025 02:35
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