UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

386 lines (385 loc) 9.75 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [finops-agent](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsfinopsagent.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class FinopsAgent extends PolicyStatement { servicePrefix: string; /** * Grants permission to accept a pending approval request from the agent * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toAcceptAgentRequest(): this; /** * Grants permission to cancel a task * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCancelTask(): this; /** * Grants permission to cancel an in-progress conversation turn * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCancelTurn(): this; /** * Grants permission to create a new FinOps Agent workspace * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCreateAgentSpace(): this; /** * Grants permission to create a reusable automation * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCreateAutomation(): this; /** * Grants permission to create a connection * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCreateConnection(): this; /** * Grants permission to create a new conversation with the FinOps Agent * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCreateConversation(): this; /** * Grants permission to create a document * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCreateDocument(): this; /** * Grants permission to create a third-party integration * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCreateIntegration(): this; /** * Grants permission to create a one-time login session for the FinOps Agent web application * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCreateOneTimeLoginSession(): this; /** * Grants permission to create a task * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCreateTask(): this; /** * Grants permission to create a new turn in a conversation * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toCreateTurn(): this; /** * Grants permission to delete a FinOps Agent workspace * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toDeleteAgentSpace(): this; /** * Grants permission to delete an artifact and its content * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toDeleteArtifact(): this; /** * Grants permission to delete an automation * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toDeleteAutomation(): this; /** * Grants permission to delete a connection * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toDeleteConnection(): this; /** * Grants permission to delete a document * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toDeleteDocument(): this; /** * Grants permission to delete a third-party integration * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toDeleteIntegration(): this; /** * Grants permission to view details of a pending approval request from the agent * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetAgentRequest(): this; /** * Grants permission to view details of a FinOps Agent workspace * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetAgentSpace(): this; /** * Grants permission to download artifact content * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetArtifactContent(): this; /** * Grants permission to view artifact metadata * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetArtifactMetadata(): this; /** * Grants permission to view details of an automation * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetAutomation(): this; /** * Grants permission to view details of a connection * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetConnection(): this; /** * Grants permission to download document content * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetDocumentContent(): this; /** * Grants permission to view document metadata * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetDocumentMetadata(): this; /** * Grants permission to view details of a third-party integration * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetIntegration(): this; /** * Grants permission to view details of a task * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetTask(): this; /** * Grants permission to view details of a conversation turn * * Access Level: Read * * https://docs.aws.amazon.com/finops-agent/ */ toGetTurn(): this; /** * Grants permission to list all FinOps Agent workspaces in the account * * Access Level: List * * https://docs.aws.amazon.com/finops-agent/ */ toListAgentSpaces(): this; /** * Grants permission to list artifacts * * Access Level: List * * https://docs.aws.amazon.com/finops-agent/ */ toListArtifacts(): this; /** * Grants permission to list automations * * Access Level: List * * https://docs.aws.amazon.com/finops-agent/ */ toListAutomations(): this; /** * Grants permission to list connections * * Access Level: List * * https://docs.aws.amazon.com/finops-agent/ */ toListConnections(): this; /** * Grants permission to list conversations * * Access Level: List * * https://docs.aws.amazon.com/finops-agent/ */ toListConversations(): this; /** * Grants permission to list documents * * Access Level: List * * https://docs.aws.amazon.com/finops-agent/ */ toListDocuments(): this; /** * Grants permission to list third-party integrations * * Access Level: List * * https://docs.aws.amazon.com/finops-agent/ */ toListIntegrations(): this; /** * Grants permission to list records for real-time agent activity display * * Access Level: List * * https://docs.aws.amazon.com/finops-agent/ */ toListRecords(): this; /** * Grants permission to list tasks * * Access Level: List * * https://docs.aws.amazon.com/finops-agent/ */ toListTasks(): this; /** * Grants permission to list turns in a conversation * * Access Level: List * * https://docs.aws.amazon.com/finops-agent/ */ toListTurns(): this; /** * Grants permission to reject a pending approval request from the agent * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toRejectAgentRequest(): this; /** * Grants permission to restore an archived document * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toRestoreDocument(): this; /** * Grants permission to submit feedback on agent responses * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toSendFeedback(): this; /** * Grants permission to update a FinOps Agent workspace configuration * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toUpdateAgentSpace(): this; /** * Grants permission to update an automation * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toUpdateAutomation(): this; /** * Grants permission to update a connection * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toUpdateConnection(): this; /** * Grants permission to update a document's content and metadata * * Access Level: Write * * https://docs.aws.amazon.com/finops-agent/ */ toUpdateDocument(): this; protected accessLevelList: AccessLevelList; /** * Statement provider for service [finops-agent](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsfinopsagent.html). * */ constructor(props?: iam.PolicyStatementProps); }