cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
169 lines (168 loc) • 7.13 kB
TypeScript
import { AccessLevelList } from '../../shared/access-level';
import { PolicyStatement } from '../../shared';
import { aws_iam as iam } from "aws-cdk-lib";
/**
* Statement provider for service [nova-act](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonnovaact.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class NovaAct extends PolicyStatement {
servicePrefix: string;
/**
* Grants permission to create a new AI task (act) within a session that can interact with tools and perform specific actions
*
* Access Level: Write
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_CreateAct.html
*/
toCreateAct(): this;
/**
* Grants permission to create a new session context within a workflow run to manage conversation state and acts
*
* Access Level: Write
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_CreateSession.html
*/
toCreateSession(): this;
/**
* Grants permission to create a new workflow definition template that can be used to execute multiple workflow runs
*
* Access Level: Write
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_CreateWorkflowDefinition.html
*/
toCreateWorkflowDefinition(): this;
/**
* Grants permission to create a new execution instance of a workflow definition with specified parameters
*
* Access Level: Write
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_CreateWorkflowRun.html
*/
toCreateWorkflowRun(): this;
/**
* Grants permission to delete a workflow definition and all associated resources
*
* Access Level: Write
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_DeleteWorkflowDefinition.html
*/
toDeleteWorkflowDefinition(): this;
/**
* Grants permission to terminate and clean up a workflow run, stopping all associated acts and sessions
*
* Access Level: Write
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_DeleteWorkflowRun.html
*/
toDeleteWorkflowRun(): this;
/**
* Grants permission to retrieve details and configuration of a specific workflow definition
*
* Access Level: Read
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_GetWorkflowDefinition.html
*/
toGetWorkflowDefinition(): this;
/**
* Grants permission to retrieve the current state, configuration, and execution details of a workflow run
*
* Access Level: Read
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_GetWorkflowRun.html
*/
toGetWorkflowRun(): this;
/**
* Grants permission to execute the next step of an act, processing tool call results and returning new tool calls if needed
*
* Access Level: Write
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_InvokeActStep.html
*/
toInvokeActStep(): this;
/**
* Grants permission to list all acts within a specific session with their current status and execution details
*
* Access Level: Read
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_ListActs.html
*/
toListActs(): this;
/**
* Grants permission to list all available AI models that can be used for workflow execution, including their status and compatibility information
*
* Access Level: Read
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_ListModels.html
*/
toListModels(): this;
/**
* Grants permission to list all sessions within a specific workflow run
*
* Access Level: Read
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_ListSessions.html
*/
toListSessions(): this;
/**
* Grants permission to list all workflow definitions in your account with optional filtering and pagination
*
* Access Level: List
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_ListWorkflowDefinitions.html
*/
toListWorkflowDefinitions(): this;
/**
* Grants permission to list all workflow runs for a specific workflow definition with optional filtering and pagination
*
* Access Level: List
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_ListWorkflowRuns.html
*/
toListWorkflowRuns(): this;
/**
* Grants permission to update an existing act's configuration, status, or error information
*
* Access Level: Write
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_UpdateAct.html
*/
toUpdateAct(): this;
/**
* Grants permission to update the configuration or state of an active workflow run
*
* Access Level: Write
*
* https://docs.aws.amazon.com/nova-act/latest/APIReference/API_UpdateWorkflowRun.html
*/
toUpdateWorkflowRun(): this;
protected accessLevelList: AccessLevelList;
/**
* Adds a resource of type workflow-definition to the statement
*
* https://docs.aws.amazon.com/nova-act/latest/userguide/workflow-definition.html
*
* @param workflowDefinitionName - Identifier for the workflowDefinitionName.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onWorkflowDefinition(workflowDefinitionName: string, account?: string, region?: string, partition?: string): this;
/**
* Adds a resource of type workflow-run to the statement
*
* https://docs.aws.amazon.com/nova-act/latest/userguide/workflow-run.html
*
* @param workflowDefinitionName - Identifier for the workflowDefinitionName.
* @param workflowRunId - Identifier for the workflowRunId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onWorkflowRun(workflowDefinitionName: string, workflowRunId: string, account?: string, region?: string, partition?: string): this;
/**
* Statement provider for service [nova-act](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonnovaact.html).
*
*/
constructor(props?: iam.PolicyStatementProps);
}