Integrations
AWS (management)
Automate AWS from workflows and agents: EC2, Auto Scaling, ECS, Lambda, RDS, IAM, S3 buckets, CloudFormation, Systems Manager, Secrets Manager, CloudWatch, Cost Explorer and any other AWS API.
On this page
The AWS (management) connector (aws) gives workflows, AI agents, MCP clients, the REST API and the CLI 130 ready-made references for the operations a platform team automates: 57 read, 38 write and 35 destructive. File uploads and downloads stay in the AWS S3 connector (aws_s3); this connector manages buckets, not objects.
It runs on the server with no AWS SDK: requests are signed with Signature Version 4 and sent through the egress guard, Query / EC2 / REST-XML answers are parsed to JSON, and every list can page.
Set up#
- In AWS, create an IAM user for automation (or use an existing one) and an access key for it. For production, give the user only
sts:AssumeRoleand put the real permissions on a role (below). - In UserTasks: Integrations → Connectors → AWS (management). Enter the access key ID and secret, the default region and the partition (AWS, AWS GovCloud (US) or AWS China).
- Optional: Role to assume (role ARN), External ID, Role session name and duration. Every call then uses the role's temporary credentials. They are cached until five minutes before they expire and renewed automatically.
- Test connection calls STS GetCallerIdentity (allowed for every identity) and shows the account and ARN the connector acts as.
- Choose which references to create: all of them, or only the ones you need (for example only the read references to start).
Temporary credentials (a session token) work too, but stop when they expire. A role to assume is better.
Connection test messages#
| Message says | What to fix |
|---|---|
| AWS did not recognise the access key | The access key ID is wrong, deleted, or belongs to another partition (a GovCloud key on AWS, for example). |
| AWS rejected the request signature | The secret access key is wrong. |
| temporary credentials … have expired | Paste a new session token, or use an access key with a role to assume. |
| could not assume role | The key's policy must allow sts:AssumeRole on the role, the role's trust policy must name the user or account, and the external ID must match. |
| does not resolve / not available in region | The region is wrong, not enabled for the account (opt-in regions), or the service isn't offered there. |
Permissions#
Give the connector only what the references you enable need. Each reference's IAM actions are in the tables below. A read-only start:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "UserTasksAwsRead",
"Effect": "Allow",
"Action": [
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribeScalingActivities",
"ce:GetCostAndUsage",
"ce:GetCostForecast",
"cloudformation:DescribeChangeSet",
"cloudformation:DescribeStackEvents",
"cloudformation:DescribeStacks",
"cloudformation:ListStackResources",
"cloudformation:ValidateTemplate",
"cloudwatch:DescribeAlarms",
"cloudwatch:GetMetricStatistics",
"cloudwatch:ListMetrics",
"ec2:DescribeImages",
"ec2:DescribeInstanceStatus",
"ec2:DescribeInstances",
"ec2:DescribeRegions",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSnapshots",
"ec2:DescribeSubnets",
"ec2:DescribeVolumes",
"ec2:DescribeVpcs",
"ecs:DescribeServices",
"ecs:DescribeTasks",
"ecs:ListClusters",
"ecs:ListServices",
"ecs:ListTasks",
"iam:GetAccessKeyLastUsed",
"iam:GetRole",
"iam:GetUser",
"iam:ListAccessKeys",
"iam:ListAttachedGroupPolicies",
"iam:ListAttachedRolePolicies",
"iam:ListAttachedUserPolicies",
"iam:ListGroups",
"iam:ListGroupsForUser",
"iam:ListPolicies",
"iam:ListRoles",
"iam:ListUsers",
"lambda:GetFunction",
"lambda:ListFunctions",
"logs:DescribeLogGroups",
"logs:FilterLogEvents",
"logs:GetQueryResults",
"logs:StartQuery",
"organizations:DescribeAccount",
"organizations:DescribeOrganization",
"organizations:ListAccounts",
"rds:DescribeDBInstances",
"rds:DescribeDBSnapshots",
"s3:GetBucketPolicy",
"s3:GetBucketPublicAccessBlock",
"s3:GetBucketVersioning",
"s3:ListAllMyBuckets",
"secretsmanager:DescribeSecret",
"secretsmanager:ListSecrets",
"ssm:GetCommandInvocation",
"ssm:ListCommandInvocations"
],
"Resource": "*"
}
]
}(Secret reads, secretsmanager:GetSecretValue and ssm:GetParameter*, are left out on purpose: add them only for the secrets a process needs.)
For change actions, scope by resource and tag, for example only instances tagged managed-by = usertasks:
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": ["ec2:StartInstances", "ec2:StopInstances", "ec2:RebootInstances"],
"Resource": "arn:aws:ec2:*:123456789012:instance/*",
"Condition": { "StringEquals": { "aws:ResourceTag/managed-by": "usertasks" } }
}]
}The role's trust policy for AssumeRole with an external ID:
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": { "AWS": "arn:aws:iam::123456789012:user/usertasks-automation" },
"Action": "sts:AssumeRole",
"Condition": { "StringEquals": { "sts:ExternalId": "your-external-id" } }
}]
}Safety#
- Risk on every reference. Each reference is marked read, write or destructive. Destructive covers deleting, terminating, every IAM change, opening security group ports, bucket policies and public access, running commands on instances (Run Command), stack updates, and writing or rotating secrets. An agent always waits for a person to approve a destructive call (the approval can't be switched off for these tools), and MCP clients must pass
confirm: trueto run one. - Dry runs. EC2 change actions take
dry_run: AWS checks permissions and parameters without making the change and the reference returnsdry_run: true, would_succeed: true(or the permission error). Lambda Invoke withdry_runchecks that the caller may invoke the function. CloudFormation Create Change Set previews a stack change and Describe Change Set lists what would be added, modified, replaced or removed. Execute Change Set applies it. - Secrets stay out of logs. Secret outputs use secret names:
secret_string/secret_json(Secrets Manager),secret_value(Parameter Store SecureString),secret_access_key(new IAM access keys). They are masked in the integration call log and left out of reportable run variables. If you map one to a workflow variable, give the variable a secret-shaped name too (for exampledb_secret), or it is reported like any other value. Secret inputs (secret_string,secret_value) are masked in the call log too. Put plain settings in Parameter Store withvalueand secrets withsecret_value. Lambda environment variables are not secret inputs, so keep secrets out of them. Call Any API never logs its response. - Credentials are encrypted at rest, decrypted only for the call, and never appear in outputs, errors or logs. AWS error messages are checked for access key IDs and signatures before they are shown.
- Retries. Throttling (
Throttling,RequestLimitExceeded,TooManyRequestsException, HTTP 429 …) is retried with exponential backoff andRetry-Afterfor every call: AWS didn't process a throttled request. Server errors (5xx) and network failures are retried only for reads. All retries fit inside the step's timeout. - Errors keep the AWS code: the reference returns the HTTP status and
{ error: true, code, kind, message, request_id }, and the workflow step'sstatuslets you branch.kindiscredentials,expired,permission,not_found,region,throttled,validation,conflictorserver. A permission error names the IAM action to add.
Paging#
List references take page_size and next_token and return next_token (null on the last page) and truncated. With all_pages: true they follow the pages for you, up to 20 pages or 2,000 items. When the cap is reached, truncated is true and next_token continues from there.
Regions, partitions and custom endpoints#
- Regional references take an optional
regioninput that overrides the connector's default region (it must be in the same partition). IAM, Organizations and Cost Explorer are global and are signed for the partition's home region automatically. - Custom endpoint sends every call to one origin instead of AWS. Use it for LocalStack (
http://localhost:4566), a VPC interface endpoint or a FIPS host. Requests are still signed for the configured region. A private address must be allowed withEGRESS_PRIVATE_ALLOWon the server (see Self-hosting). - Self-hosted installs need nothing else: no AWS SDK, CLI or extra service.
References#
EC2#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
ec2_describe_instances EC2: Describe Instances | read | List EC2 instances (optionally by ID or filter) with state, type, IPs and tags | instance_ids, filters, include_raw, paging, region | instances, count, next_token, truncated | ec2:DescribeInstances |
ec2_describe_instance_status EC2: Describe Instance Status | read | Instance state plus system / instance status checks and scheduled events | instance_ids, include_all_instances, filters, paging, region | statuses, next_token, truncated | ec2:DescribeInstanceStatus |
ec2_start_instances EC2: Start Instances | write | Start stopped EC2 instances | instance_ids*, dry_run, region | instances, dry_run, would_succeed | ec2:StartInstances |
ec2_stop_instances EC2: Stop Instances | write | Stop running EC2 instances (optionally hibernate or force) | instance_ids*, force, hibernate, dry_run, region | instances, dry_run, would_succeed | ec2:StopInstances |
ec2_reboot_instances EC2: Reboot Instances | write | Reboot EC2 instances | instance_ids*, dry_run, region | rebooted, instance_ids, dry_run, would_succeed | ec2:RebootInstances |
ec2_terminate_instances EC2: Terminate Instances | destructive | Permanently terminate EC2 instances (instance store and delete-on-termination volumes are lost) | instance_ids*, dry_run, region | instances, dry_run, would_succeed | ec2:TerminateInstances |
ec2_run_instances EC2: Run Instances | write | Launch new EC2 instances from an AMI | image_id, instance_type, count, subnet_id, security_group_ids, key_name, iam_instance_profile, user_data, tags, client_token, dry_run, region | reservation_id, instances, instance_ids, dry_run, would_succeed | ec2:RunInstances, ec2:CreateTags, iam:PassRole (when an instance profile is given) |
ec2_modify_instance_type EC2: Change Instance Type | write | Resize a stopped instance to another instance type | instance_id, instance_type, dry_run, region | modified, dry_run, would_succeed | ec2:ModifyInstanceAttribute |
ec2_describe_security_groups EC2: Describe Security Groups | read | List security groups with their inbound and outbound rules | group_ids, filters, paging, region | security_groups, next_token, truncated | ec2:DescribeSecurityGroups |
ec2_create_security_group EC2: Create Security Group | write | Create a security group in a VPC (no inbound rules until you add them) | group_name, description, vpc_id, tags, dry_run, region | group_id, dry_run, would_succeed | ec2:CreateSecurityGroup, ec2:CreateTags |
ec2_authorize_security_group_ingress EC2: Add Inbound Rule | destructive | Allow inbound traffic to a security group (a port range from CIDR blocks or another group) | group_id*, protocol, from_port, to_port, cidrs, source_group_id, rule_description, ip_permissions, dry_run, region | success, rules, dry_run, would_succeed | ec2:AuthorizeSecurityGroupIngress |
ec2_revoke_security_group_ingress EC2: Remove Inbound Rule | write | Remove an inbound rule from a security group (must match the rule exactly) | group_id*, protocol, from_port, to_port, cidrs, source_group_id, rule_description, ip_permissions, dry_run, region | success, rules, dry_run, would_succeed | ec2:RevokeSecurityGroupIngress |
ec2_delete_security_group EC2: Delete Security Group | destructive | Delete a security group (fails while instances or other groups use it) | group_id*, dry_run, region | deleted, dry_run, would_succeed | ec2:DeleteSecurityGroup |
ec2_describe_volumes EC2: Describe Volumes | read | List EBS volumes with size, type, state and attachments | volume_ids, filters, paging, region | volumes, next_token, truncated | ec2:DescribeVolumes |
ec2_create_volume EC2: Create Volume | write | Create an EBS volume (empty or from a snapshot) | availability_zone*, size_gib, volume_type, snapshot_id, iops, throughput, encrypted, kms_key_id, tags, dry_run, region | volume_id, state, volume, dry_run, would_succeed | ec2:CreateVolume, ec2:CreateTags |
ec2_attach_volume EC2: Attach Volume | write | Attach an EBS volume to an instance | volume_id, instance_id, device*, dry_run, region | state, attachment, dry_run, would_succeed | ec2:AttachVolume |
ec2_detach_volume EC2: Detach Volume | write | Detach an EBS volume from its instance | volume_id*, instance_id, force, dry_run, region | state, attachment, dry_run, would_succeed | ec2:DetachVolume |
ec2_delete_volume EC2: Delete Volume | destructive | Permanently delete a detached EBS volume | volume_id*, dry_run, region | deleted, dry_run, would_succeed | ec2:DeleteVolume |
ec2_describe_snapshots EC2: Describe Snapshots | read | List EBS snapshots (your own by default) | snapshot_ids, owner, filters, paging, region | snapshots, next_token, truncated | ec2:DescribeSnapshots |
ec2_create_snapshot EC2: Create Snapshot | write | Snapshot an EBS volume (point-in-time backup) | volume_id*, description, tags, dry_run, region | snapshot_id, state, snapshot, dry_run, would_succeed | ec2:CreateSnapshot, ec2:CreateTags |
ec2_delete_snapshot EC2: Delete Snapshot | destructive | Permanently delete an EBS snapshot | snapshot_id*, dry_run, region | deleted, dry_run, would_succeed | ec2:DeleteSnapshot |
ec2_describe_images EC2: Describe Images (AMIs) | read | List AMIs (your own by default) | image_ids, owners, filters, paging, region | images, next_token, truncated | ec2:DescribeImages |
ec2_create_image EC2: Create Image (AMI) | write | Create an AMI from an instance | instance_id, name, description, no_reboot, tags, dry_run, region | image_id, dry_run, would_succeed | ec2:CreateImage, ec2:CreateTags |
ec2_deregister_image EC2: Deregister Image (AMI) | destructive | Deregister an AMI (its snapshots are kept unless deleted separately) | image_id*, dry_run, region | deregistered, dry_run, would_succeed | ec2:DeregisterImage |
ec2_create_tags EC2: Add or Update Tags | write | Add or overwrite tags on EC2 resources (instances, volumes, snapshots, AMIs, security groups …) | resource_ids, tags, dry_run, region | success, dry_run, would_succeed | ec2:CreateTags |
ec2_delete_tags EC2: Remove Tags | write | Remove tags (by key) from EC2 resources | resource_ids, tag_keys, dry_run, region | success, dry_run, would_succeed | ec2:DeleteTags |
ec2_describe_vpcs EC2: Describe VPCs | read | List VPCs | vpc_ids, filters, paging, region | vpcs, next_token, truncated | ec2:DescribeVpcs |
ec2_describe_subnets EC2: Describe Subnets | read | List subnets with their VPC, Availability Zone and free addresses | subnet_ids, filters, paging, region | subnets, next_token, truncated | ec2:DescribeSubnets |
ec2_describe_regions EC2: Describe Regions | read | List the regions enabled for the account (or all, with opt-in status) | all_regions, region | regions | ec2:DescribeRegions |
Auto Scaling#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
autoscaling_describe_groups Auto Scaling: Describe Groups | read | List Auto Scaling groups with min / max / desired capacity and instances | group_names, paging, region | groups, next_token, truncated | autoscaling:DescribeAutoScalingGroups |
autoscaling_set_desired_capacity Auto Scaling: Set Desired Capacity | write | Scale an Auto Scaling group to a number of instances (within its min and max) | group_name, desired_capacity, honor_cooldown, region | success | autoscaling:SetDesiredCapacity |
autoscaling_update_group Auto Scaling: Update Group Size | write | Change the minimum, maximum and / or desired capacity of an Auto Scaling group | group_name*, min_size, max_size, desired_capacity, region | success | autoscaling:UpdateAutoScalingGroup |
autoscaling_start_instance_refresh Auto Scaling: Start Instance Refresh | write | Replace the instances of a group in batches (rolling update to the current launch template) | group_name*, min_healthy_percentage, instance_warmup, region | instance_refresh_id | autoscaling:StartInstanceRefresh |
autoscaling_describe_activities Auto Scaling: Describe Scaling Activities | read | Recent scaling activities of a group (launches, terminations, failures) | group_name, paging, region | activities, next_token, truncated | autoscaling:DescribeScalingActivities |
ECS#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
ecs_list_clusters ECS: List Clusters | read | List ECS cluster ARNs | paging, region | cluster_arns, next_token, truncated | ecs:ListClusters |
ecs_list_services ECS: List Services | read | List the services of a cluster | cluster, paging, region | service_arns, next_token, truncated | ecs:ListServices |
ecs_describe_services ECS: Describe Services | read | Desired / running counts, deployments and events of up to 10 services | cluster, services*, region | services, failures | ecs:DescribeServices |
ecs_update_service ECS: Update Service | write | Change a service's desired count or task definition, or force a new deployment | cluster, service*, desired_count, task_definition, force_new_deployment, region | service, desired_count, running_count | ecs:UpdateService, iam:PassRole (new task definition roles) |
ecs_scale_service ECS: Scale Service | write | Set the number of tasks a service runs | cluster, service, desired_count, region | service, desired_count, running_count | ecs:UpdateService |
ecs_list_tasks ECS: List Tasks | read | List task ARNs of a cluster (optionally one service's, running or stopped) | cluster, service, desired_status, paging, region | task_arns, next_token, truncated | ecs:ListTasks |
ecs_describe_tasks ECS: Describe Tasks | read | Status, containers and stop reasons of up to 100 tasks | cluster, tasks*, region | tasks, failures | ecs:DescribeTasks |
ecs_run_task ECS: Run Task | write | Start one-off tasks from a task definition (batch jobs, migrations) | cluster, task_definition*, count, launch_type, subnets, security_groups, assign_public_ip, overrides, started_by, region | tasks, task_arns, failures | ecs:RunTask, iam:PassRole (task / execution roles) |
ecs_stop_task ECS: Stop Task | write | Stop a running task (a service starts a replacement) | cluster, task*, reason, region | task | ecs:StopTask |
Lambda#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
lambda_list_functions Lambda: List Functions | read | List Lambda functions with runtime, memory, timeout and last change | paging, region | functions, next_token, truncated | lambda:ListFunctions |
lambda_get_function Lambda: Get Function | read | Configuration, tags and reserved concurrency of a function | function_name*, qualifier, region | configuration, tags, concurrency | lambda:GetFunction |
lambda_invoke Lambda: Invoke Function | write | Invoke a function synchronously (returns its result) or asynchronously (Event) | function_name*, payload, invocation_type, qualifier, include_logs, dry_run, region | status_code, result, function_error, executed_version, log_tail, dry_run, would_succeed | lambda:InvokeFunction |
lambda_update_function_configuration Lambda: Update Function Configuration | write | Change memory, timeout, environment variables, handler or description of a function | function_name*, memory_mb, timeout_seconds, environment, description, handler, runtime, region | configuration, last_update_status | lambda:UpdateFunctionConfiguration |
lambda_put_function_concurrency Lambda: Set Reserved Concurrency | write | Reserve concurrency for a function (0 stops all invocations: an emergency brake) | function_name, reserved_concurrency, region | reserved_concurrency | lambda:PutFunctionConcurrency |
RDS#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
rds_describe_db_instances RDS: Describe DB Instances | read | List RDS DB instances with engine, class, status and endpoint | db_instance_id, paging, region | db_instances, next_token, truncated | rds:DescribeDBInstances |
rds_start_db_instance RDS: Start DB Instance | write | Start a stopped DB instance | db_instance_id*, region | db_instance, status | rds:StartDBInstance |
rds_stop_db_instance RDS: Stop DB Instance | write | Stop a DB instance (AWS starts it again after 7 days) | db_instance_id*, snapshot_id, region | db_instance, status | rds:StopDBInstance |
rds_reboot_db_instance RDS: Reboot DB Instance | write | Reboot a DB instance (optionally with Multi-AZ failover) | db_instance_id*, force_failover, region | db_instance, status | rds:RebootDBInstance |
rds_start_db_cluster RDS: Start Aurora Cluster | write | Start a stopped Aurora DB cluster | db_cluster_id*, region | db_cluster, status | rds:StartDBCluster |
rds_stop_db_cluster RDS: Stop Aurora Cluster | write | Stop an Aurora DB cluster | db_cluster_id*, region | db_cluster, status | rds:StopDBCluster |
rds_create_db_snapshot RDS: Create DB Snapshot | write | Take a manual snapshot of a DB instance | db_instance_id, snapshot_id, tags, region | snapshot, status | rds:CreateDBSnapshot, rds:AddTagsToResource |
rds_describe_db_snapshots RDS: Describe DB Snapshots | read | List DB snapshots (of one instance, or all) | db_instance_id, snapshot_type, paging, region | snapshots, next_token, truncated | rds:DescribeDBSnapshots |
rds_delete_db_snapshot RDS: Delete DB Snapshot | destructive | Permanently delete a manual DB snapshot | snapshot_id*, region | snapshot, status | rds:DeleteDBSnapshot |
IAM#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
iam_list_users IAM: List Users | read | List IAM users (optionally under a path) | path_prefix, paging | users, next_token, truncated | iam:ListUsers |
iam_get_user IAM: Get User | read | An IAM user with its groups, attached policies and access keys | user_name* | user, groups, attached_policies, access_keys | iam:GetUser, iam:ListGroupsForUser, iam:ListAttachedUserPolicies, iam:ListAccessKeys |
iam_create_user IAM: Create User | destructive | Create an IAM user (no console password or access key until you add one) | user_name*, path, tags | user, arn | iam:CreateUser, iam:TagUser |
iam_delete_user IAM: Delete User | destructive | Delete an IAM user (remove its keys, groups and policies first, or AWS refuses) | user_name* | deleted | iam:DeleteUser |
iam_list_groups IAM: List Groups | read | List IAM groups (or the groups of one user) | user_name, paging | groups, next_token, truncated | iam:ListGroups, iam:ListGroupsForUser |
iam_add_user_to_group IAM: Add User to Group | destructive | Add a user to a group (grants the group's permissions) | user_name, group_name | success | iam:AddUserToGroup |
iam_remove_user_from_group IAM: Remove User from Group | destructive | Remove a user from a group | user_name, group_name | success | iam:RemoveUserFromGroup |
iam_list_roles IAM: List Roles | read | List IAM roles (optionally under a path) | path_prefix, paging | roles, next_token, truncated | iam:ListRoles |
iam_get_role IAM: Get Role | read | An IAM role with its trust policy and attached policies | role_name* | role, trust_policy, attached_policies | iam:GetRole, iam:ListAttachedRolePolicies |
iam_create_role IAM: Create Role | destructive | Create an IAM role with a trust policy (who may assume it) | role_name, trust_policy, description, max_session_duration, path, tags | role, arn | iam:CreateRole, iam:TagRole |
iam_delete_role IAM: Delete Role | destructive | Delete an IAM role (detach its policies and remove it from instance profiles first) | role_name* | deleted | iam:DeleteRole |
iam_list_policies IAM: List Managed Policies | read | List managed policies (customer managed by default) | scope, only_attached, paging | policies, next_token, truncated | iam:ListPolicies |
iam_create_policy IAM: Create Managed Policy | destructive | Create a customer managed policy from a policy document | policy_name, policy_document, description, path | policy, arn | iam:CreatePolicy |
iam_list_attached_policies IAM: List Attached Policies | read | Managed policies attached to a user, role or group | principal_type, principal_name, paging | attached_policies, next_token, truncated | iam:ListAttachedUserPolicies, iam:ListAttachedRolePolicies, iam:ListAttachedGroupPolicies |
iam_attach_policy IAM: Attach Policy | destructive | Attach a managed policy to a user, role or group (grants its permissions) | principal_type, principal_name, policy_arn* | success | iam:AttachUserPolicy, iam:AttachRolePolicy, iam:AttachGroupPolicy |
iam_detach_policy IAM: Detach Policy | destructive | Detach a managed policy from a user, role or group | principal_type, principal_name, policy_arn* | success | iam:DetachUserPolicy, iam:DetachRolePolicy, iam:DetachGroupPolicy |
iam_list_access_keys IAM: List Access Keys | read | Access keys of a user (ID, status, created) with when each was last used | user_name* | access_keys | iam:ListAccessKeys, iam:GetAccessKeyLastUsed |
iam_create_access_key IAM: Create Access Key | destructive | Create an access key for a user. The secret is returned once, in secret_access_key (masked in logs and run history) | user_name* | access_key_id, secret_access_key, status, create_date | iam:CreateAccessKey |
iam_update_access_key IAM: Enable or Disable Access Key | destructive | Deactivate a compromised or unused access key (or reactivate it) | user_name, access_key_id, status* | success, status | iam:UpdateAccessKey |
iam_delete_access_key IAM: Delete Access Key | destructive | Permanently delete an access key | user_name, access_key_id | deleted | iam:DeleteAccessKey |
S3 buckets#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
s3_list_buckets S3: List Buckets | read | List the account's S3 buckets with creation date and region | prefix, paging, region | buckets, next_token, truncated | s3:ListAllMyBuckets |
s3_create_bucket S3: Create Bucket | write | Create a bucket in the connector region (or the region input). New buckets block public access by default | bucket*, region | bucket, region, location | s3:CreateBucket |
s3_delete_bucket S3: Delete Bucket | destructive | Delete an empty bucket (AWS refuses while it holds objects or versions) | bucket*, region | deleted | s3:DeleteBucket |
s3_get_bucket_policy S3: Get Bucket Policy | read | The bucket policy (JSON), or exists = false when there is none | bucket*, region | exists, policy | s3:GetBucketPolicy |
s3_put_bucket_policy S3: Set Bucket Policy | destructive | Replace the bucket policy (can grant access to other accounts or the public) | bucket, policy, region | success | s3:PutBucketPolicy |
s3_delete_bucket_policy S3: Delete Bucket Policy | destructive | Remove the bucket policy | bucket*, region | deleted | s3:DeleteBucketPolicy |
s3_get_bucket_versioning S3: Get Bucket Versioning | read | Versioning status: Enabled, Suspended or empty (never enabled) | bucket*, region | status, mfa_delete | s3:GetBucketVersioning |
s3_put_bucket_versioning S3: Set Bucket Versioning | write | Enable or suspend versioning on a bucket | bucket, status, region | status | s3:PutBucketVersioning |
s3_get_public_access_block S3: Get Public Access Block | read | The bucket's Block Public Access settings (configured = false when none are set) | bucket*, region | configured, block_public_acls, ignore_public_acls, block_public_policy, restrict_public_buckets | s3:GetBucketPublicAccessBlock |
s3_put_public_access_block S3: Set Public Access Block | destructive | Set the bucket's Block Public Access settings (all four default to true; turning any off can expose data) | bucket*, block_public_acls, ignore_public_acls, block_public_policy, restrict_public_buckets, region | success, configuration | s3:PutBucketPublicAccessBlock |
CloudFormation#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
cfn_describe_stacks CloudFormation: Describe Stacks | read | Stacks (or one stack) with status, outputs, parameters and tags | stack_name, paging, region | stacks, next_token, truncated | cloudformation:DescribeStacks |
cfn_describe_stack_events CloudFormation: Describe Stack Events | read | Recent events of a stack, newest first (resource status changes and failure reasons) | stack_name*, paging, region | events, next_token, truncated | cloudformation:DescribeStackEvents |
cfn_list_stack_resources CloudFormation: List Stack Resources | read | Resources of a stack with their physical IDs and status | stack_name*, paging, region | resources, next_token, truncated | cloudformation:ListStackResources |
cfn_validate_template CloudFormation: Validate Template | read | Check a template's syntax and list its parameters and required capabilities | template_body, template_url, region | valid, parameters, capabilities, description | cloudformation:ValidateTemplate |
cfn_create_stack CloudFormation: Create Stack | write | Create a stack from a template (poll Describe Stacks for CREATE_COMPLETE) | stack_name*, template_body, template_url, parameters, capabilities, tags, role_arn, on_failure, timeout_minutes, client_request_token, region | stack_id | cloudformation:CreateStack, plus the permissions for every resource in the template (or iam:PassRole for role_arn) |
cfn_update_stack CloudFormation: Update Stack | destructive | Update a stack (resources may be replaced or deleted; preview with Create Change Set first). Keeps the current template when none is given | stack_name*, template_body, template_url, parameters, capabilities, tags, role_arn, client_request_token, region | stack_id, no_changes | cloudformation:UpdateStack, plus the permissions for the changed resources |
cfn_delete_stack CloudFormation: Delete Stack | destructive | Delete a stack and the resources it created (except retained ones) | stack_name*, retain_resources, role_arn, region | deleting | cloudformation:DeleteStack, plus delete permissions for the stack's resources |
cfn_create_change_set CloudFormation: Create Change Set (preview) | write | Preview what a create or update would change without changing anything (then Describe / Execute Change Set) | stack_name, change_set_name, change_set_type, template_body, template_url, parameters, capabilities, tags, role_arn, dry_run, region | change_set_id, stack_id | cloudformation:CreateChangeSet |
cfn_describe_change_set CloudFormation: Describe Change Set | read | The changes a change set would make (Add / Modify / Remove, and whether resources are replaced) | stack_name, change_set*, region | status, execution_status, status_reason, changes | cloudformation:DescribeChangeSet |
cfn_execute_change_set CloudFormation: Execute Change Set | destructive | Apply a previewed change set to its stack | stack_name, change_set*, region | executing | cloudformation:ExecuteChangeSet, plus the permissions for the changed resources |
Systems Manager#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
ssm_send_command Systems Manager: Run Command | destructive | Run shell or PowerShell commands on managed instances (by ID or tag). Optionally waits for a single instance's output | instance_ids, targets, commands, document_name, parameters, comment, timeout_seconds, wait_seconds, region | command_id, status, stdout, stderr, response_code | ssm:SendCommand, ssm:GetCommandInvocation (to wait) |
ssm_get_command_invocation Systems Manager: Get Command Result | read | Status and output of a command on one instance | command_id, instance_id, region | status, status_details, response_code, stdout, stderr | ssm:GetCommandInvocation |
ssm_list_command_invocations Systems Manager: List Command Results | read | Per-instance status (and output) of a command sent to many instances | command_id*, paging, region | invocations, next_token, truncated | ssm:ListCommandInvocations |
ssm_get_parameter Parameter Store: Get Parameter | read | Read a parameter. SecureString values (with decrypt) come back in secret_value, masked in logs and run history | name*, decrypt, region | name, type, value, secret_value, version, last_modified, arn | ssm:GetParameter, kms:Decrypt (SecureString with decrypt) |
ssm_get_parameters_by_path Parameter Store: Get Parameters by Path | read | Read every parameter under a path (SecureString values in secret_value) | path*, recursive, decrypt, paging, region | parameters, next_token, truncated | ssm:GetParametersByPath, kms:Decrypt (SecureString with decrypt) |
ssm_put_parameter Parameter Store: Put Parameter | destructive | Create or update a parameter. Put secrets in secret_value (stored as SecureString, masked in logs); plain settings in value | name*, value, secret_value, type, overwrite, description, kms_key_id, tags, region | version, tier | ssm:PutParameter, kms:Encrypt (SecureString with a customer key) |
ssm_delete_parameter Parameter Store: Delete Parameter | destructive | Delete a parameter | name*, region | deleted | ssm:DeleteParameter |
Secrets Manager#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
secretsmanager_list_secrets Secrets Manager: List Secrets | read | List secrets (names, descriptions, rotation and last-changed dates; never values) | name_prefix, paging, region | secrets, next_token, truncated | secretsmanager:ListSecrets |
secretsmanager_describe_secret Secrets Manager: Describe Secret | read | A secret's metadata: rotation, versions, tags, last accessed (not the value) | secret_id*, region | secret, rotation_enabled, last_rotated | secretsmanager:DescribeSecret |
secretsmanager_get_secret_value Secrets Manager: Get Secret Value | read | Read a secret value. Returned in secret_string (and secret_json when it is JSON), masked in logs and run history | secret_id*, version_stage, version_id, region | secret_string, secret_json, secret_binary, name, arn, version_id, version_stages | secretsmanager:GetSecretValue, kms:Decrypt (customer-managed key) |
secretsmanager_create_secret Secrets Manager: Create Secret | destructive | Create a secret (the value is masked in logs and run history) | name, secret_string, description, kms_key_id, tags, region | arn, name, version_id | secretsmanager:CreateSecret, secretsmanager:TagResource, kms:GenerateDataKey (customer-managed key) |
secretsmanager_put_secret_value Secrets Manager: Put Secret Value | destructive | Store a new value for a secret (becomes AWSCURRENT; the old one AWSPREVIOUS) | secret_id, secret_string, region | arn, version_id, version_stages | secretsmanager:PutSecretValue, kms:GenerateDataKey (customer-managed key) |
secretsmanager_rotate_secret Secrets Manager: Rotate Secret | destructive | Rotate a secret now with its rotation function (or set up rotation) | secret_id*, rotation_lambda_arn, rotate_after_days, rotate_immediately, region | arn, version_id | secretsmanager:RotateSecret, lambda:InvokeFunction (rotation function) |
secretsmanager_delete_secret Secrets Manager: Delete Secret | destructive | Schedule a secret for deletion after a recovery window (7–30 days), or delete it immediately | secret_id*, recovery_window_days, force_without_recovery, region | arn, deletion_date | secretsmanager:DeleteSecret |
CloudWatch#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
cloudwatch_describe_alarms CloudWatch: Describe Alarms | read | Metric and composite alarms with their state (optionally only ALARM ones) | alarm_names, name_prefix, state, paging, region | metric_alarms, composite_alarms, next_token, truncated | cloudwatch:DescribeAlarms |
cloudwatch_set_alarm_state CloudWatch: Set Alarm State | write | Set an alarm's state temporarily (test its actions; the next evaluation resets it) | alarm_name, state, reason*, region | success | cloudwatch:SetAlarmState |
cloudwatch_set_alarm_actions CloudWatch: Enable or Disable Alarm Actions | write | Mute (or unmute) the notifications and actions of alarms, e.g. during maintenance | alarm_names, enabled, region | success, enabled | cloudwatch:EnableAlarmActions, cloudwatch:DisableAlarmActions |
cloudwatch_put_metric_alarm CloudWatch: Create or Update Alarm | write | Create or replace a metric alarm | alarm_name, namespace, metric_name, dimensions, statistic, period_seconds, evaluation_periods, threshold, comparison, alarm_actions, description, treat_missing_data, region | success | cloudwatch:PutMetricAlarm |
cloudwatch_delete_alarms CloudWatch: Delete Alarms | destructive | Delete alarms | alarm_names*, region | deleted | cloudwatch:DeleteAlarms |
cloudwatch_get_metric_statistics CloudWatch: Get Metric Statistics | read | Datapoints of a metric over a time range (e.g. average CPU of an instance over the last hour) | namespace, metric_name, dimensions, start_time, end_time, period_seconds, statistics, unit, region | label, datapoints | cloudwatch:GetMetricStatistics |
cloudwatch_list_metrics CloudWatch: List Metrics | read | Find metrics by namespace, name or dimension | namespace, metric_name, dimensions, paging, region | metrics, next_token, truncated | cloudwatch:ListMetrics |
cloudwatch_put_metric_data CloudWatch: Publish Metric | write | Publish a custom metric value (e.g. approvals waiting, process duration) | namespace, metric_name, value*, unit, dimensions, region | success | cloudwatch:PutMetricData |
CloudWatch Logs#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
logs_describe_log_groups CloudWatch Logs: List Log Groups | read | List log groups with retention and stored bytes | name_prefix, paging, region | log_groups, next_token, truncated | logs:DescribeLogGroups |
logs_filter_log_events CloudWatch Logs: Search Log Events | read | Log events of a group matching a filter pattern in a time range | log_group*, filter_pattern, log_streams, start_time, end_time, paging, region | events, next_token, truncated | logs:FilterLogEvents |
logs_run_query CloudWatch Logs: Run Insights Query | read | Run a Logs Insights query and wait for the rows (or return query_id to fetch later with Get Query Results) | log_groups, query, start_time, end_time, limit, wait_seconds, region | query_id, status, rows, statistics | logs:StartQuery, logs:GetQueryResults |
logs_get_query_results CloudWatch Logs: Get Query Results | read | Status and rows of a Logs Insights query | query_id*, region | status, rows, statistics | logs:GetQueryResults |
Cost Explorer#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
ce_get_cost_and_usage Cost Explorer: Get Cost and Usage | read | Cost (USD) by day or month, optionally grouped by service, account, region or tag. Each call costs USD 0.01 | start_date, end_date, granularity, metric, group_by, filter | rows, total, unit, start_date, end_date | ce:GetCostAndUsage |
ce_get_cost_forecast Cost Explorer: Get Cost Forecast | read | Forecast cost (USD) from today to an end date (default: end of this month). Each call costs USD 0.01 | end_date, granularity, metric | total, unit, by_period | ce:GetCostForecast |
Organizations#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
organizations_describe_organization Organizations: Describe Organization | read | The organization this account belongs to (ID, management account, feature set) | — | organization | organizations:DescribeOrganization |
organizations_list_accounts Organizations: List Accounts | read | Accounts of the organization with status and email (management or delegated admin account) | paging | accounts, next_token, truncated | organizations:ListAccounts |
organizations_describe_account Organizations: Describe Account | read | One member account (name, email, status, joined) | account_id* | account | organizations:DescribeAccount |
STS#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
sts_get_caller_identity STS: Get Caller Identity | read | The account, ARN and user ID the connector acts as (after AssumeRole, the role session) | region | account, arn, user_id | none (always allowed) |
Any AWS API#
| Reference | Risk | What it does | Inputs (* required) | Outputs | IAM actions |
|---|---|---|---|---|---|
aws_call_api AWS: Call Any API | destructive | Call any AWS API action by service and action name (Query, EC2, JSON or REST protocols). For actions without a ready-made reference | service, action, params, protocol, api_version, target_prefix, json_version, signing_name, method, path, query, body, region | status, data, request_id | the IAM action being called |
Call Any API#
aws_call_api covers the long tail. Give service (the endpoint prefix) and action, and params with AWS member names. For built-in services (ec2, iam, sts, autoscaling, cloudformation, rds, monitoring, elasticloadbalancing, sns, ecs, ssm, secretsmanager, logs, dynamodb, kms, ce, organizations, lambda, s3) that is all. For others, also give protocol and the api_version (Query / EC2) or target_prefix (JSON). For REST services, give method, path, query and body. Query lists can be JSON arrays: {"Filter":[{"Name":"tag:env","Value":["prod"]}]} is sent as Filter.1.Name=…&Filter.1.Value.1=… (EC2) or ….member.N (Query). It is always destructive, because the action isn't known in advance.
Examples#
- EC2: Describe Instances (
ec2_describe_instances):{"filters":{"tag:env":"prod","instance-state-name":["running"]}} - EC2: Run Instances (
ec2_run_instances):{"image_id":"ami-0123456789abcdef0","instance_type":"t3.micro","tags":{"Name":"build-runner"}} - EC2: Add Inbound Rule (
ec2_authorize_security_group_ingress):{"group_id":"sg-0123456789abcdef0","protocol":"tcp","from_port":443,"cidrs":["203.0.113.0/24"]} - EC2: Add or Update Tags (
ec2_create_tags):{"resource_ids":["i-0123456789abcdef0"],"tags":{"owner":"ops"}} - Auto Scaling: Set Desired Capacity (
autoscaling_set_desired_capacity):{"group_name":"web-asg","desired_capacity":4} - ECS: Scale Service (
ecs_scale_service):{"cluster":"prod","service":"api","desired_count":6} - Lambda: Invoke Function (
lambda_invoke):{"function_name":"nightly-report","payload":{"date":"2026-11-28"}} - IAM: Attach Policy (
iam_attach_policy):{"principal_type":"role","principal_name":"auditor","policy_arn":"arn:aws:iam::aws:policy/SecurityAudit"} - CloudFormation: Create Stack (
cfn_create_stack):{"stack_name":"team-sandbox","template_url":"https://example-bucket.s3.amazonaws.com/sandbox.yaml","parameters":{"Owner":"ops"}} - Systems Manager: Run Command (
ssm_send_command):{"instance_ids":["i-0123456789abcdef0"],"commands":["systemctl restart nginx"],"wait_seconds":20} - CloudWatch: Get Metric Statistics (
cloudwatch_get_metric_statistics):{"namespace":"AWS/EC2","metric_name":"CPUUtilization","dimensions":{"InstanceId":"i-0123456789abcdef0"},"start_time":"-3h"} - Cost Explorer: Get Cost and Usage (
ce_get_cost_and_usage):{"start_date":"2026-11-01","end_date":"2026-12-01","group_by":"SERVICE"} - AWS: Call Any API (
aws_call_api):{"service":"sns","action":"Publish","params":{"TopicArn":"arn:aws:sns:us-east-1:123456789012:ops-alerts","Message":"Deploy approved"}}
From a workflow, add Call API / Reference, pick the connector's reference and map the inputs. An agent can use any of the references as a tool. Destructive ones wait for approval. Cost Explorer charges USD 0.01 per API call, so cache cost reports in a data table rather than calling it on every task.
usertasks references execute <ec2_stop_instances reference id> --set inputs:='{"instance_ids":["i-0123456789abcdef0"],"dry_run":true}'Limits#
- One call per step: long-running changes (stack creates, instance refreshes, RDS snapshots) return at once. Poll Describe Stacks, Describe Scaling Activities or Describe DB Snapshots in a loop with a delay, or wait with a timer step.
- Run Command waits for output only for a single instance and only up to
wait_seconds(inside the step timeout). Use Get Command Result or List Command Results afterwards. - Logs Insights waits up to
wait_seconds, then returnsquery_idfor Get Query Results. - Responses over 20 MB are refused. Use paging.