> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devinenterprise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Devin for AWS Transform

> Add Devin to AWS Transform modernization jobs to build, test and deliver transformed code as pull requests

Devin for AWS Transform adds Devin to [AWS Transform](https://aws.amazon.com/transform/) as a partner agent. In an AWS Transform job, Devin builds and tests the transformation output against your repository and delivers it as pull requests. It also creates the CI/CD pipelines and infrastructure as code to deploy to Amazon ECS, Amazon EKS, Amazon EC2 or AWS Lambda. Your team approves everything in AWS Transform.

> [!NOTE]
>
> The listing is **free on AWS Marketplace with an external Devin license**. Devin usage is billed through your Devin subscription, and standard AWS infrastructure charges apply (AgentCore Runtime, Secrets Manager, CloudWatch). You can get a Devin subscription through [Devin by Cognition on AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-yt3ntkdpdjdgm).

## How it works

The integration has two parts:

* **The connector** is a container you run in **your AWS account** on Amazon Bedrock AgentCore Runtime. AWS Transform calls it through an IAM role you create. It carries job chat, artifacts, progress updates and review tasks between AWS Transform and Devin.
* **Devin** runs in Cognition's environment under your Devin subscription. It commits only through your existing source control connection, as pull requests you approve.

Inside an AWS Transform job:

1. Select **Devin: build, test, deploy** and provide the modernization artifacts and the connected repository.
2. Discuss scope with Devin in the job chat. Progress shows up in the job's **Plan** and **Worklogs**.
3. Devin proposes a plan and sends decisions to you as AWS Transform **review tasks**. Open questions stay in chat.
4. Devin applies the transformed artifacts on a separate baseline branch, builds and tests them, and opens pull requests. You approve each one with a review task.
5. Your team deploys through its own reviewed pipeline, using its own AWS IAM roles.

## Security model

* **No long-lived AWS access keys.** Install with an administrator's short-lived credentials, or let Devin install with keyless OIDC federation.
* **Separate roles.** Installation, the runtime and AWS Transform each use their own role. The two runtime roles are capped by a permissions boundary you deploy first.
* **Devin API key in Secrets Manager.** The runtime reads the key at startup. It never appears in stack parameters, chat, logs or git.
* **Repository restrictions.** You can limit which repositories Devin may open pull requests in.
* **Hardened image.** The container has no shell or package manager, runs as a non-root user, is scanned before release and ships with SBOMs.
* **Outbound only.** The runtime needs outbound HTTPS to the Devin API and AWS endpoints, and accepts no inbound traffic except AgentCore invocations.

## Prerequisites

* An AWS account with AWS Transform enabled in `us-east-1`, the only supported region today. Use it for the runtime, the secret and your jobs.
* An AWS administrator who can deploy CloudFormation stacks that create IAM roles.
* AWS CLI v2, configured with that administrator's credentials.
* A Devin organization with the target source repositories connected.
* A Devin **service user** for the runtime, with an API key that has the **ViewOrgSessions**, **UseDevinSessions** and **ManageOrgSessions** permissions. Note your Devin **organization ID**.

## Setup

These steps install the connector yourself with the AWS CLI. To have Devin run steps 3 to 6 for you, see [Optional: let Devin install it](#optional-let-devin-install-it).

**1. Subscribe on AWS Marketplace**

Subscribe to [**Devin for AWS Transform: Modernization Agent**](https://aws.amazon.com/marketplace/pp/prodview-rfmglejkakmb6) on AWS Marketplace. On the fulfillment page, copy the image URI and the image's repository ARN, and save them in your shell as `IMAGE_URI` and `MARKETPLACE_REPO_ARN`. The commands below use them. The tag at the end of the image URI is the **version** you'll enter in AWS Transform later.

**2. Get your AWS account allowlisted**

[Contact us](https://devin.ai/contact) to get your AWS account allowlisted. Include:

* Your 12-digit AWS account ID
* The region you'll use (`us-east-1`)
* Your Devin organization name

Once the account is allowlisted, open the AWS Transform console and go to **Partner agents**.

![AWS Transform console navigation showing Partner agents](https://mintcdn.com/cognitionai-enterprise/sULjogBmcfeG3jdB/images/integrations/aws-transform/console-nav.png?fit=max\&auto=format\&n=sULjogBmcfeG3jdB\&q=85\&s=8eeffffc22287479ea05491e141d51e4)

**devin-modernization** now appears with the status **Pending configuration**. Leave it there while you deploy and verify the runtime in steps 3 to 6. You'll configure it in step 7.

![Partner agents list with devin-modernization in Pending configuration](https://mintcdn.com/cognitionai-enterprise/sULjogBmcfeG3jdB/images/integrations/aws-transform/partner-agents-pending.png?fit=max\&auto=format\&n=sULjogBmcfeG3jdB\&q=85\&s=c08e8670de557c28aee6e4cd4ae1ad32)

**3. Store the Devin API key in Secrets Manager**

Save the runtime service user's API key (it starts with `cog_`) as a plain-text secret named `devin-atx/devin-api-key`:

```bash theme={null}
export AWS_REGION=us-east-1
read -rs DEVIN_KEY   # paste the key, press Enter
aws secretsmanager create-secret --region "$AWS_REGION" --name devin-atx/devin-api-key --secret-string "$DEVIN_KEY"
unset DEVIN_KEY
```

You can also create it in the Secrets Manager console: choose **Other type of secret**, then **Plaintext**, and paste the key.

**4. Deploy the permissions boundary**

Save the [boundary template](#permissions-boundary-template) below as `boundary.yaml` and deploy it. It creates the `devin-atx-boundary` policy, the most either runtime role can ever do. Its `MarketplaceImageRepository` parameter takes the repository ARN from your fulfillment page, and the boundary only allows pulling images from that repository.

```bash theme={null}
aws cloudformation deploy --region "$AWS_REGION" \
  --stack-name devin-atx-boundary \
  --template-file boundary.yaml \
  --capabilities CAPABILITY_NAMED_IAM \
  --parameter-overrides MarketplaceImageRepository="$MARKETPLACE_REPO_ARN"
```

**5. Deploy the runtime**

Save the [runtime template](#runtime-template) below as `runtime.yaml`. Create a change set, review it, then execute it:

```bash theme={null}
aws cloudformation deploy --region "$AWS_REGION" \
  --stack-name devin-atx-runtime \
  --template-file runtime.yaml \
  --capabilities CAPABILITY_NAMED_IAM \
  --no-execute-changeset \
  --parameter-overrides \
    ImageUri="$IMAGE_URI" \
    DevinOrgId="<devin-org-id>" \
    DevinTargetRepos="<owner/repo,owner/other-repo>"
# Review the change set it prints, then:
aws cloudformation execute-change-set --region "$AWS_REGION" \
  --change-set-name <change-set-arn-from-output>
aws cloudformation wait stack-create-complete --region "$AWS_REGION" \
  --stack-name devin-atx-runtime
```

| Parameter | Required | Value |
| - | - | - |
| `ImageUri` | Yes | The versioned image URI from your Marketplace fulfillment page |
| `DevinOrgId` | Yes | Your Devin organization ID |
| `DevinTargetRepos` | Recommended | Comma-separated `owner/repo` list Devin may open pull requests in. Empty allows any connected repository |
| `DevinPlaybookId` | No | A Devin playbook to attach to every session |
| `DevinApiBaseUrl` | Enterprise only | Your Devin API base URL. Empty uses `https://api.devin.ai` |
| `DevinWebUrl` | Enterprise only | Your Devin web app URL, used for session links. Empty uses `https://app.devin.ai` |
| `DevinApiKeySecretName` | No | Defaults to `devin-atx/devin-api-key`. Must start with `devin-atx/`, the only prefix the permissions boundary allows |
| `BoundaryPolicyName` | No | Defaults to `devin-atx-boundary` |

The stack creates the AgentCore runtime `devin_atx_orchestrator`, its execution role `devin-atx-agentcore-execution`, and the AWS Transform invocation role `devin-atx-transform-invoke`. Read the two ARNs you need next from the stack outputs:

```bash theme={null}
aws cloudformation describe-stacks --region "$AWS_REGION" \
  --stack-name devin-atx-runtime \
  --query "Stacks[0].Outputs[?OutputKey=='RuntimeArn' || OutputKey=='InvokeRoleArn']" \
  --output table
```

**6. Verify the runtime**

Invoke the runtime's self-check. It reads the Devin key from Secrets Manager and makes one read-only Devin API call:

```bash theme={null}
aws bedrock-agentcore invoke-agent-runtime --region "$AWS_REGION" \
  --agent-runtime-arn "<RuntimeArn>" \
  --qualifier DEFAULT \
  --runtime-session-id "$(uuidgen | tr -d -)selfcheck" \
  --content-type application/json --accept application/json \
  --cli-binary-format raw-in-base64-out \
  --payload '{"jsonrpc":"2.0","id":"selfcheck","method":"devin_atx/selfcheck","params":{}}' \
  selfcheck.json
cat selfcheck.json
```

A healthy runtime returns `"ok": true` with `"devinKey": "pass"` and `"devinApi": "pass"`. See [Troubleshooting](#troubleshooting) if either fails.

**7. Configure the partner agent in AWS Transform**

Go back to **Partner agents**, select **devin-modernization** (still in **Pending configuration**) and choose **Configure**. Enter:

* **Agent Version:** the version from step 1
* **Runtime ARN:** the stack's `RuntimeArn` output
* **Role ARN:** the stack's `InvokeRoleArn` output

Choose **Update**.

![Configure agent form with Agent Version, Runtime ARN and Role ARN](https://mintcdn.com/cognitionai-enterprise/sULjogBmcfeG3jdB/images/integrations/aws-transform/configure-agent.png?fit=max\&auto=format\&n=sULjogBmcfeG3jdB\&q=85\&s=9ad471c47656b0a7bd7514a5e841b4ac)

The status changes to **Enabled**.

![Partner agents list with devin-modernization Enabled](https://mintcdn.com/cognitionai-enterprise/sULjogBmcfeG3jdB/images/integrations/aws-transform/partner-agents-enabled.png?fit=max\&auto=format\&n=sULjogBmcfeG3jdB\&q=85\&s=ac5eac3951ac720f8ef7ab5ae7be4138)

![devin-modernization agent details showing version, runtime ARN and role ARN](https://mintcdn.com/cognitionai-enterprise/sULjogBmcfeG3jdB/images/integrations/aws-transform/agent-details-enabled.png?fit=max\&auto=format\&n=sULjogBmcfeG3jdB\&q=85\&s=40ecc2e0fbc3bf0cb474738e14b16c40)

**8. Start a job**

Create an AWS Transform job and select **Devin: build, test, deploy**. Provide the modernization artifacts and the connected repository, then discuss scope in the job chat. Review the plan and each pull request through the job's review tasks.

## Updating and maintenance

* **New version:** redeploy the runtime stack with the new `ImageUri`, run the self-check, then set the new **Agent Version** under **Configure**.
* **Key rotation:** paste the new key into the secret in the Secrets Manager console, or run the step 3 commands with `put-secret-value --secret-id` instead of `create-secret --name`. Then run the self-check again.
* **Allowed repositories:** redeploy the runtime stack with a new `DevinTargetRepos` value.
* **Uninstall:** in AWS Transform, choose **Disable** on the partner agent, then delete the `devin-atx-runtime` stack, the boundary stack (or the installer policy stack, if Devin installed it) and the secret.

## Troubleshooting

| Symptom | Likely cause |
| - | - |
| **devin-modernization** doesn't appear in Partner agents | The account isn't allowlisted yet, or you're in a different region. [Contact us](https://devin.ai/contact) with your account ID. |
| Stack fails on the `SupportedRegion` rule | The region isn't supported. Use `us-east-1`. |
| Stack fails creating a role with a permissions boundary error | Deploy the boundary stack first, in the same account and region. |
| Runtime fails to start or pull the image | The Marketplace subscription isn't active, or `ImageUri` and `MarketplaceImageRepository` don't match the image on your fulfillment page. |
| Self-check `devinKey` fails | The secret is missing, empty or not plain text, or `DevinApiKeySecretName` doesn't match. |
| Self-check `devinKey` fails with a KMS `AccessDenied` error | The secret is encrypted with a customer-managed KMS key, and the execution role has no decrypt permission for it. Use the AWS-managed Secrets Manager key. |
| Self-check `devinApi` returns 403 | The service user's key lacks **ViewOrgSessions**. |
| Self-check `devinApi` returns 404 or a connection error | Wrong `DevinApiBaseUrl` for an enterprise host, or no outbound HTTPS. |
| Later AWS Transform calls return `TerminalResourceException` | The job's Devin session ended. Start a new job. |

Runtime logs are in CloudWatch under `/aws/bedrock-agentcore/runtimes/<runtime-id>-DEFAULT`. When contacting Cognition, include the AWS RequestIds and the time of the failure. Never include API keys or OIDC tokens.

## Templates

### Permissions boundary template

> [accordion] boundary.yaml
>
> ```yaml theme={null}
> AWSTemplateFormatVersion: '2010-09-09'
> Description: Permissions boundary for the Devin for AWS Transform AgentCore execution and Transform invocation roles.
> Parameters:
>   MarketplaceImageRepository:
>     Type: String
>     AllowedPattern: 'arn:aws[a-z-]*:ecr:[a-z0-9-]+:[0-9]{12}:repository/.+'
>     Description: ECR repository ARN of the image on your AWS Marketplace fulfillment page.
>   ResourcePrefix:
>     Type: String
>     Default: devin-atx
>     AllowedPattern: '[a-z][a-z0-9-]{2,20}'
>     Description: Prefix for every stack, role, repository and secret Devin manages.
>   RuntimeName:
>     Type: String
>     Default: devin_atx_orchestrator
>     AllowedPattern: '[a-zA-Z][a-zA-Z0-9_]{0,47}'
>     Description: AgentRuntimeName of the orchestrator in runtime.yaml.
> Resources:
>   RoleBoundary:
>     Type: AWS::IAM::ManagedPolicy
>     Metadata:
>       cfn-lint:
>         config:
>           ignore_checks: [W3037]  # transform-agents/transform-registry are not yet public IAM prefixes
>     Properties:
>       ManagedPolicyName: !Sub ${ResourcePrefix}-boundary
>       Description: Maximum permissions for the AgentCore execution and Transform invocation roles Devin creates.
>       PolicyDocument:
>         Version: '2012-10-17'
>         Statement:
>           - Sid: EcrPull
>             Effect: Allow
>             Action: [ecr:BatchGetImage, ecr:GetDownloadUrlForLayer]
>             Resource:
>               - !Sub arn:${AWS::Partition}:ecr:${AWS::Region}:${AWS::AccountId}:repository/${ResourcePrefix}/*
>               - !Ref MarketplaceImageRepository
>           - Sid: EcrToken
>             Effect: Allow
>             Action: ecr:GetAuthorizationToken
>             Resource: '*'
>           - Sid: RuntimeLogs
>             Effect: Allow
>             Action: [logs:CreateLogGroup, logs:CreateLogStream, logs:PutLogEvents, logs:DescribeLogStreams]
>             Resource:
>               - !Sub arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/bedrock-agentcore/runtimes/*
>               - !Sub arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/bedrock-agentcore/runtimes/*:log-stream:*
>           - Sid: DescribeLogGroups
>             Effect: Allow
>             Action: logs:DescribeLogGroups
>             Resource: !Sub arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:*
>           - Sid: Tracing
>             Effect: Allow
>             Action: [xray:PutTraceSegments, xray:PutTelemetryRecords, xray:GetSamplingRules, xray:GetSamplingTargets]
>             Resource: '*'
>           - Sid: Metrics
>             Effect: Allow
>             Action: cloudwatch:PutMetricData
>             Resource: '*'
>             Condition:
>               StringEquals:
>                 cloudwatch:namespace: bedrock-agentcore
>           - Sid: GetAgentAccessToken
>             Effect: Allow
>             Action:
>               - bedrock-agentcore:GetWorkloadAccessToken
>               - bedrock-agentcore:GetWorkloadAccessTokenForJWT
>               - bedrock-agentcore:GetWorkloadAccessTokenForUserId
>             Resource:
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:workload-identity-directory/default
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:workload-identity-directory/default/workload-identity/*
>           - Sid: OrchestratorRuntime
>             Effect: Allow
>             Action:
>               - bedrock-agentcore:InvokeAgentRuntime
>               - bedrock-agentcore:GetAgentRuntime
>               - bedrock-agentcore:GetAgentRuntimeEndpoint
>               - bedrock-agentcore:StopRuntimeSession
>             Resource:
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:runtime/${RuntimeName}-*
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:runtime/${RuntimeName}-*/runtime-endpoint/*
>           - Sid: AgentCoreRuntimeDiscovery
>             Effect: Allow
>             Action:
>               - bedrock-agentcore:ListAgentRuntimeEndpoints
>               - bedrock-agentcore:ListAgentRuntimeVersions
>               - bedrock-agentcore:ListAgentRuntimes
>             Resource: '*'
>           - Sid: DevinKey
>             Effect: Allow
>             Action: secretsmanager:GetSecretValue
>             Resource: !Sub arn:${AWS::Partition}:secretsmanager:${AWS::Region}:${AWS::AccountId}:secret:${ResourcePrefix}/*
>           - Sid: TransformApis
>             Effect: Allow
>             Action:
>               - transform-agents:ListJobPlanSteps
>               - transform-agents:PutJobPlan
>               - transform-agents:UpdateJobPlanStep
>               - transform-agents:CreateWorklog
>               - transform-agents:SendMessage
>               - transform-agents:ListArtifacts
>               - transform-agents:CreateArtifactUploadUrl
>               - transform-agents:GetArtifactMetadata
>               - transform-agents:CompleteArtifactUpload
>               - transform-agents:CreateArtifactDownloadUrl
>               - transform-agents:GetJob
>               - transform-agents:UpdateJobStatus
>               - transform-agents:CreateHitlTask
>               - transform-agents:StartHitlTask
>               - transform-agents:GetHitlTask
>               - transform-agents:CloseHitlTask
>               - transform-agents:GetAgentInstance
>               - transform-agents:UpdateAgentInstance
>               - transform-agents:RefreshAuthToken
>             Resource: '*'
> Outputs:
>   BoundaryPolicyArn:
>     Value: !Ref RoleBoundary
> ```

### Runtime template

> [accordion] runtime.yaml
>
> ```yaml theme={null}
> AWSTemplateFormatVersion: '2010-09-09'
> Description: AgentCore runtime and AWS Transform invocation roles for the Devin orchestrator.
> Parameters:
>   ResourcePrefix:
>     Type: String
>     Default: devin-atx
>   ImageUri:
>     Type: String
>     Description: Versioned image URI from your AWS Marketplace fulfillment page.
>   DevinOrgId:
>     Type: String
>   DevinTargetRepos:
>     Type: String
>     Default: ''
>   DevinPlaybookId:
>     Type: String
>     Default: ''
>   DevinApiBaseUrl:
>     Type: String
>     Default: ''
>   DevinWebUrl:
>     Type: String
>     Default: ''
>   DevinApiKeySecretName:
>     Type: String
>     Default: devin-atx/devin-api-key
>   BoundaryPolicyName:
>     Type: String
>     Default: devin-atx-boundary
> Mappings:
>   TransformRegions:
>     us-east-1:
>       ServicePrincipal: prod.us-east-1.compute.elastic-gumby.aws.internal
> Rules:
>   SupportedRegion:
>     Assertions:
>       - Assert:
>           Fn::Contains:
>             - [us-east-1]
>             - !Ref AWS::Region
>         AssertDescription: Choose a supported region listed in Mappings.TransformRegions.
> Resources:
>   AgentCoreExecutionRole:
>     Type: AWS::IAM::Role
>     Metadata:
>       cfn-lint:
>         config:
>           ignore_checks: [W3037] # transform-agents is not yet a public IAM prefix
>     Properties:
>       RoleName: !Sub ${ResourcePrefix}-agentcore-execution
>       PermissionsBoundary: !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:policy/${BoundaryPolicyName}
>       AssumeRolePolicyDocument:
>         Version: '2012-10-17'
>         Statement:
>           - Effect: Allow
>             Principal:
>               Service: bedrock-agentcore.amazonaws.com
>             Action: sts:AssumeRole
>             Condition:
>               StringEquals:
>                 aws:SourceAccount: !Ref AWS::AccountId
>       Policies:
>         - PolicyName: AgentCoreExecutionPolicy
>           PolicyDocument:
>             Version: '2012-10-17'
>             Statement:
>               - Sid: ECRImageAccess
>                 Effect: Allow
>                 Action: [ecr:BatchGetImage, ecr:GetDownloadUrlForLayer]
>                 Resource: !Sub arn:${AWS::Partition}:ecr:${AWS::Region}:${AWS::AccountId}:repository/${ResourcePrefix}/*
>               - Sid: MarketplaceImageAccess
>                 Effect: Allow
>                 Action: [ecr:BatchGetImage, ecr:GetDownloadUrlForLayer]
>                 Resource: !Sub
>                   - arn:${AWS::Partition}:ecr:${ImageRegion}:${ImageAccount}:repository/${ImageRepository}
>                   - ImageAccount: !Select [0, !Split ['.', !Select [0, !Split ['/', !Ref ImageUri]]]]
>                     ImageRegion: !Select [3, !Split ['.', !Select [0, !Split ['/', !Ref ImageUri]]]]
>                     ImageRepository: !Select [0, !Split [':', !Select [0, !Split ['@', !Select [1, !Split ['.amazonaws.com/', !Ref ImageUri]]]]]]
>               - Sid: RuntimeLogs
>                 Effect: Allow
>                 Action: [logs:DescribeLogStreams, logs:CreateLogGroup]
>                 Resource: !Sub arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/bedrock-agentcore/runtimes/*
>               - Sid: DescribeLogGroups
>                 Effect: Allow
>                 Action: logs:DescribeLogGroups
>                 Resource: !Sub arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:*
>               - Sid: WriteRuntimeLogs
>                 Effect: Allow
>                 Action: [logs:CreateLogStream, logs:PutLogEvents]
>                 Resource: !Sub arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/bedrock-agentcore/runtimes/*:log-stream:*
>               - Sid: ECRTokenAccess
>                 Effect: Allow
>                 Action: ecr:GetAuthorizationToken
>                 Resource: '*'
>               - Sid: Tracing
>                 Effect: Allow
>                 Action:
>                   - xray:PutTraceSegments
>                   - xray:PutTelemetryRecords
>                   - xray:GetSamplingRules
>                   - xray:GetSamplingTargets
>                 Resource: '*'
>               - Sid: RuntimeMetrics
>                 Effect: Allow
>                 Action: cloudwatch:PutMetricData
>                 Resource: '*'
>                 Condition:
>                   StringEquals:
>                     cloudwatch:namespace: bedrock-agentcore
>               - Sid: GetAgentAccessToken
>                 Effect: Allow
>                 Action:
>                   - bedrock-agentcore:GetWorkloadAccessToken
>                   - bedrock-agentcore:GetWorkloadAccessTokenForJWT
>                   - bedrock-agentcore:GetWorkloadAccessTokenForUserId
>                 Resource:
>                   - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:workload-identity-directory/default
>                   - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:workload-identity-directory/default/workload-identity/*
>               - Sid: DevinKey
>                 Effect: Allow
>                 Action: secretsmanager:GetSecretValue
>                 Resource: !Sub arn:${AWS::Partition}:secretsmanager:${AWS::Region}:${AWS::AccountId}:secret:${DevinApiKeySecretName}-*
>               - Sid: TransformAgentsApiPolicy
>                 Effect: Allow
>                 Action: transform-agents:*
>                 Resource: '*'
>   AgentCoreRuntime:
>     Type: AWS::BedrockAgentCore::Runtime
>     Properties:
>       AgentRuntimeName: devin_atx_orchestrator
>       AgentRuntimeArtifact:
>         ContainerConfiguration:
>           ContainerUri: !Ref ImageUri
>       RoleArn: !GetAtt AgentCoreExecutionRole.Arn
>       NetworkConfiguration:
>         NetworkMode: PUBLIC
>       ProtocolConfiguration: HTTP
>       EnvironmentVariables:
>         STAGE: prod
>         REGION: !Ref AWS::Region
>         DEVIN_ORG_ID: !Ref DevinOrgId
>         DEVIN_API_KEY_SECRET_ID: !Ref DevinApiKeySecretName
>         DEVIN_TARGET_REPOS: !Ref DevinTargetRepos
>         DEVIN_PLAYBOOK_ID: !Ref DevinPlaybookId
>         DEVIN_API_BASE_URL: !Ref DevinApiBaseUrl
>         DEVIN_WEB_URL: !Ref DevinWebUrl
>         USE_EXTERNAL_AGENTIC_API: 'true'
>   TransformInvokeRole:
>     Type: AWS::IAM::Role
>     Properties:
>       RoleName: !Sub ${ResourcePrefix}-transform-invoke
>       PermissionsBoundary: !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:policy/${BoundaryPolicyName}
>       AssumeRolePolicyDocument:
>         Version: '2012-10-17'
>         Statement:
>           - Effect: Allow
>             Principal:
>               Service: !FindInMap [TransformRegions, !Ref AWS::Region, ServicePrincipal]
>             Action: sts:AssumeRole
>       Policies:
>         - PolicyName: AWSTransform-BedrockAgentRuntimePolicy
>           PolicyDocument:
>             Version: '2012-10-17'
>             Statement:
>               - Sid: AWSTransformAgentCoreRuntimePermissions
>                 Effect: Allow
>                 Action:
>                   - bedrock-agentcore:GetAgentRuntime
>                   - bedrock-agentcore:GetAgentRuntimeEndpoint
>                   - bedrock-agentcore:InvokeAgentRuntime
>                   - bedrock-agentcore:ListAgentRuntimeEndpoints
>                   - bedrock-agentcore:ListAgentRuntimeVersions
>                   - bedrock-agentcore:ListAgentRuntimes
>                   - bedrock-agentcore:StopRuntimeSession
>                 Resource:
>                   - !GetAtt AgentCoreRuntime.AgentRuntimeArn
>                   - !Sub ${AgentCoreRuntime.AgentRuntimeArn}/*
> Outputs:
>   RuntimeArn:
>     Value: !GetAtt AgentCoreRuntime.AgentRuntimeArn
>   ExecutionRoleArn:
>     Value: !GetAtt AgentCoreExecutionRole.Arn
>   InvokeRoleArn:
>     Value: !GetAtt TransformInvokeRole.Arn
> ```

## Optional: let Devin install it

A Devin session can run the installation for you, showing you every change set and waiting for your approval. It uses keyless OIDC federation: AWS trusts tokens from your Devin organization, but only for one dedicated installer service user.

1. Create a second Devin service user for installation (separate from the runtime service user). Note its `service-user-…` ID.
2. Deploy the [OIDC trust template](#oidc-trust-template) with your `DevinOrgId`, the installer `DevinDeployServiceUserId`, and `DevinIssuerHost` (`app.devin.ai`, or your enterprise host). It creates the `devin-aws-transform-agent` role, with no permissions.
3. Deploy the [installer policy template](#installer-policy-template) **instead of** the boundary template. Pass the same `MarketplaceImageRepository` as in step 4. It creates the same `devin-atx-boundary` plus two scoped installer policies attached to that role.
4. In a session started as the installer service user, ask Devin to set up Devin for AWS Transform in your AWS account and region, and give it your image URI and repository ARN from the fulfillment page. You still request the allowlisting and configure the partner agent yourself.

### OIDC trust template

> [accordion] devin-oidc.yaml
>
> ```yaml theme={null}
> AWSTemplateFormatVersion: '2010-09-09'
> Description: Keyless Devin access for an AWS Transform account; no deployment permissions granted.
> Parameters:
>   DevinOrgId:
>     Type: String
>     AllowedPattern: '[A-Za-z0-9-]+'
>     Description: Exact org_id claim from a Devin token, not the account or enterprise ID.
>   DevinDeployServiceUserId:
>     Type: String
>     AllowedPattern: 'service-user-[A-Za-z0-9]+'
>     Description: service_user_id claim of the dedicated Devin service user allowed to deploy; sessions must request the token with subject-keys "org_id service_user_id"; sessions started by humans or other service users do not match.
>   DevinIssuerHost:
>     Type: String
>     AllowedPattern: '[a-z0-9.-]+'
>     Description: "Devin webapp host that issues the OIDC token: app.devin.ai or your enterprise host."
>   RoleName:
>     Type: String
>     Default: devin-aws-transform-agent
>     AllowedPattern: '[A-Za-z0-9+=,.@_-]+'
>     MaxLength: 64
>   CreateOidcProvider:
>     Type: String
>     Default: 'true'
>     AllowedValues: ['true', 'false']
>     Description: Set false if this account already has a provider for the configured issuer with the STS audience.
> Conditions:
>   CreateProvider: !Equals [!Ref CreateOidcProvider, 'true']
> Resources:
>   DevinOidcProvider:
>     Type: AWS::IAM::OIDCProvider
>     Condition: CreateProvider
>     Properties:
>       Url: !Sub https://${DevinIssuerHost}
>       ClientIdList: [sts.amazonaws.com]
>       Tags:
>         - Key: Project
>           Value: devin-aws-transform-agent
>   DevinRole:
>     Type: AWS::IAM::Role
>     Properties:
>       RoleName: !Ref RoleName
>       Description: Devin OIDC role trusted only to the configured org_id and service_user_id; an administrator must separately attach reviewed deployment permissions.
>       MaxSessionDuration: 3600
>       AssumeRolePolicyDocument: !Sub
>         - |
>           {
>             "Version": "2012-10-17",
>             "Statement": [
>               {
>                 "Effect": "Allow",
>                 "Principal": {
>                   "Federated": "${ProviderArn}"
>                 },
>                 "Action": "sts:AssumeRoleWithWebIdentity",
>                 "Condition": {
>                   "StringEquals": {
>                     "${DevinIssuerHost}:aud": "sts.amazonaws.com",
>                     "${DevinIssuerHost}:sub": "org_id:${DevinOrgId}:service_user_id:${DevinDeployServiceUserId}"
>                   }
>                 }
>               }
>             ]
>           }
>         - ProviderArn: !If
>             - CreateProvider
>             - !Ref DevinOidcProvider
>             - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:oidc-provider/${DevinIssuerHost}
>       Tags:
>         - Key: Project
>           Value: devin-aws-transform-agent
> Outputs:
>   DevinRoleArn:
>     Value: !GetAtt DevinRole.Arn
>   OidcProviderArn:
>     Value: !If
>       - CreateProvider
>       - !Ref DevinOidcProvider
>       - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:oidc-provider/${DevinIssuerHost}
> ```

### Installer policy template

> [accordion] devin-deploy-policy.yaml
>
> ```yaml theme={null}
> AWSTemplateFormatVersion: '2010-09-09'
> Description: >-
>   Installer permissions for the Devin OIDC role.
>   Scoped to the named orchestrator runtime, two bounded roles, devin-atx-* resources, and
>   selected AWS Transform registry and API actions. An administrator deploys this once,
>   after reviewing it.
> Parameters:
>   MarketplaceImageRepository:
>     Type: String
>     AllowedPattern: 'arn:aws[a-z-]*:ecr:[a-z0-9-]+:[0-9]{12}:repository/.+'
>     Description: ECR repository ARN of the image on your AWS Marketplace fulfillment page.
>   DevinRoleName:
>     Type: String
>     Default: devin-aws-transform-agent
>     AllowedPattern: '[A-Za-z0-9+=,.@_-]+'
>     Description: Name of the role created by devin-oidc.yaml.
>   ResourcePrefix:
>     Type: String
>     Default: devin-atx
>     AllowedPattern: '[a-z][a-z0-9-]{2,20}'
>     Description: Prefix for every stack, role, repository and secret Devin manages.
>   RuntimeName:
>     Type: String
>     Default: devin_atx_orchestrator
>     AllowedPattern: '[a-zA-Z][a-zA-Z0-9_]{0,47}'
>     Description: AgentRuntimeName of the orchestrator in runtime.yaml.
> Resources:
>   RoleBoundary:
>     Type: AWS::IAM::ManagedPolicy
>     Metadata:
>       cfn-lint:
>         config:
>           ignore_checks: [W3037]  # transform-agents/transform-registry are not yet public IAM prefixes
>     Properties:
>       ManagedPolicyName: !Sub ${ResourcePrefix}-boundary
>       Description: Maximum permissions for the AgentCore execution and Transform invocation roles Devin creates.
>       PolicyDocument:
>         Version: '2012-10-17'
>         Statement:
>           - Sid: EcrPull
>             Effect: Allow
>             Action: [ecr:BatchGetImage, ecr:GetDownloadUrlForLayer]
>             Resource:
>               - !Sub arn:${AWS::Partition}:ecr:${AWS::Region}:${AWS::AccountId}:repository/${ResourcePrefix}/*
>               - !Ref MarketplaceImageRepository
>           - Sid: EcrToken
>             Effect: Allow
>             Action: ecr:GetAuthorizationToken
>             Resource: '*'
>           - Sid: RuntimeLogs
>             Effect: Allow
>             Action: [logs:CreateLogGroup, logs:CreateLogStream, logs:PutLogEvents, logs:DescribeLogStreams]
>             Resource:
>               - !Sub arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/bedrock-agentcore/runtimes/*
>               - !Sub arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/bedrock-agentcore/runtimes/*:log-stream:*
>           - Sid: DescribeLogGroups
>             Effect: Allow
>             Action: logs:DescribeLogGroups
>             Resource: !Sub arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:*
>           - Sid: Tracing
>             Effect: Allow
>             Action: [xray:PutTraceSegments, xray:PutTelemetryRecords, xray:GetSamplingRules, xray:GetSamplingTargets]
>             Resource: '*'
>           - Sid: Metrics
>             Effect: Allow
>             Action: cloudwatch:PutMetricData
>             Resource: '*'
>             Condition:
>               StringEquals:
>                 cloudwatch:namespace: bedrock-agentcore
>           - Sid: GetAgentAccessToken
>             Effect: Allow
>             Action:
>               - bedrock-agentcore:GetWorkloadAccessToken
>               - bedrock-agentcore:GetWorkloadAccessTokenForJWT
>               - bedrock-agentcore:GetWorkloadAccessTokenForUserId
>             Resource:
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:workload-identity-directory/default
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:workload-identity-directory/default/workload-identity/*
>           - Sid: OrchestratorRuntime
>             Effect: Allow
>             Action:
>               - bedrock-agentcore:InvokeAgentRuntime
>               - bedrock-agentcore:GetAgentRuntime
>               - bedrock-agentcore:GetAgentRuntimeEndpoint
>               - bedrock-agentcore:StopRuntimeSession
>             Resource:
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:runtime/${RuntimeName}-*
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:runtime/${RuntimeName}-*/runtime-endpoint/*
>           - Sid: AgentCoreRuntimeDiscovery
>             Effect: Allow
>             Action:
>               - bedrock-agentcore:ListAgentRuntimeEndpoints
>               - bedrock-agentcore:ListAgentRuntimeVersions
>               - bedrock-agentcore:ListAgentRuntimes
>             Resource: '*'
>           - Sid: DevinKey
>             Effect: Allow
>             Action: secretsmanager:GetSecretValue
>             Resource: !Sub arn:${AWS::Partition}:secretsmanager:${AWS::Region}:${AWS::AccountId}:secret:${ResourcePrefix}/*
>           - Sid: TransformApis
>             Effect: Allow
>             Action:
>               - transform-agents:ListJobPlanSteps
>               - transform-agents:PutJobPlan
>               - transform-agents:UpdateJobPlanStep
>               - transform-agents:CreateWorklog
>               - transform-agents:SendMessage
>               - transform-agents:ListArtifacts
>               - transform-agents:CreateArtifactUploadUrl
>               - transform-agents:GetArtifactMetadata
>               - transform-agents:CompleteArtifactUpload
>               - transform-agents:CreateArtifactDownloadUrl
>               - transform-agents:GetJob
>               - transform-agents:UpdateJobStatus
>               - transform-agents:CreateHitlTask
>               - transform-agents:StartHitlTask
>               - transform-agents:GetHitlTask
>               - transform-agents:CloseHitlTask
>               - transform-agents:GetAgentInstance
>               - transform-agents:UpdateAgentInstance
>               - transform-agents:RefreshAuthToken
>             Resource: '*'
>   DeployPolicy:
>     Type: AWS::IAM::ManagedPolicy
>     Metadata:
>       cfn-lint:
>         config:
>           ignore_checks: [W3037]  # transform-agents/transform-registry are not yet public IAM prefixes
>     Properties:
>       ManagedPolicyName: !Sub ${ResourcePrefix}-devin-deploy
>       Description: Lets Devin build, deploy, register and debug the AWS Transform orchestrator.
>       Roles: [!Ref DevinRoleName]
>       PolicyDocument:
>         Version: '2012-10-17'
>         Statement:
>           - Sid: CloudFormationStacks
>             Effect: Allow
>             Action:
>               - cloudformation:CreateStack
>               - cloudformation:UpdateStack
>               - cloudformation:DeleteStack
>               - cloudformation:CreateChangeSet
>               - cloudformation:DescribeChangeSet
>               - cloudformation:ExecuteChangeSet
>               - cloudformation:DeleteChangeSet
>               - cloudformation:ListChangeSets
>               - cloudformation:DescribeStacks
>               - cloudformation:DescribeStackEvents
>               - cloudformation:DescribeStackResources
>               - cloudformation:GetTemplate
>             Resource: !Sub arn:${AWS::Partition}:cloudformation:${AWS::Region}:${AWS::AccountId}:stack/${ResourcePrefix}-*/*
>           - Sid: CloudFormationRead
>             Effect: Allow
>             Action: [cloudformation:ListStacks, cloudformation:ValidateTemplate, cloudformation:GetTemplateSummary]
>             Resource: '*'
>           - Sid: EcrToken
>             Effect: Allow
>             Action: ecr:GetAuthorizationToken
>             Resource: '*'
>           - Sid: EcrRepositories
>             Effect: Allow
>             Action:
>               - ecr:CreateRepository
>               - ecr:DeleteRepository
>               - ecr:DescribeRepositories
>               - ecr:DescribeImages
>               - ecr:ListImages
>               - ecr:BatchGetImage
>               - ecr:BatchCheckLayerAvailability
>               - ecr:GetDownloadUrlForLayer
>               - ecr:InitiateLayerUpload
>               - ecr:UploadLayerPart
>               - ecr:CompleteLayerUpload
>               - ecr:PutImage
>               - ecr:BatchDeleteImage
>               - ecr:PutLifecyclePolicy
>               - ecr:PutImageScanningConfiguration
>               - ecr:TagResource
>               - ecr:UntagResource
>               - ecr:ListTagsForResource
>             Resource: !Sub arn:${AWS::Partition}:ecr:${AWS::Region}:${AWS::AccountId}:repository/${ResourcePrefix}/*
>           - Sid: CreateBoundedRoles
>             Effect: Allow
>             Action: [iam:CreateRole, iam:PutRolePolicy, iam:AttachRolePolicy, iam:DetachRolePolicy]
>             Resource:
>               - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/${ResourcePrefix}-agentcore-execution
>               - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/${ResourcePrefix}-transform-invoke
>             Condition:
>               StringEquals:
>                 iam:PermissionsBoundary: !Ref RoleBoundary
>           - Sid: ManageOwnRoles
>             Effect: Allow
>             Action:
>               - iam:GetRole
>               - iam:GetRolePolicy
>               - iam:ListRolePolicies
>               - iam:ListAttachedRolePolicies
>               - iam:DeleteRole
>               - iam:DeleteRolePolicy
>               - iam:UpdateRole
>               - iam:TagRole
>               - iam:UntagRole
>             Resource:
>               - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/${ResourcePrefix}-agentcore-execution
>               - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/${ResourcePrefix}-transform-invoke
>           - Sid: PassExecutionRoleToAgentCore
>             Effect: Allow
>             Action: iam:PassRole
>             Resource: !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/${ResourcePrefix}-agentcore-execution
>             Condition:
>               StringEquals:
>                 iam:PassedToService: bedrock-agentcore.amazonaws.com
>           - Sid: ReadPolicies
>             Effect: Allow
>             Action: [iam:GetPolicy, iam:GetPolicyVersion, iam:SimulatePrincipalPolicy]
>             Resource:
>               - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:policy/${ResourcePrefix}-*
>               - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/${ResourcePrefix}-*
>           - Sid: DevinKeySecret
>             Effect: Allow
>             Action:
>               - secretsmanager:CreateSecret
>               - secretsmanager:DeleteSecret
>               - secretsmanager:DescribeSecret
>               - secretsmanager:PutSecretValue
>               - secretsmanager:UpdateSecret
>               - secretsmanager:TagResource
>               - secretsmanager:UntagResource
>             Resource: !Sub arn:${AWS::Partition}:secretsmanager:${AWS::Region}:${AWS::AccountId}:secret:${ResourcePrefix}/*
>           - Sid: RuntimeLogsRead
>             Effect: Allow
>             Action: [logs:DescribeLogStreams, logs:GetLogEvents, logs:FilterLogEvents, logs:StartQuery]
>             Resource: !Sub arn:${AWS::Partition}:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/bedrock-agentcore/*
>           - Sid: LogsDiscovery
>             Effect: Allow
>             Action: [logs:DescribeLogGroups, logs:GetQueryResults]
>             Resource: '*'
>           - Sid: NoBoundaryOrTrustChanges
>             Effect: Deny
>             Action:
>               - iam:DeleteRolePermissionsBoundary
>               - iam:PutRolePermissionsBoundary
>               - iam:UpdateAssumeRolePolicy
>             Resource: '*'
>           - Sid: NoPolicyTampering
>             Effect: Deny
>             Action:
>               - iam:CreatePolicyVersion
>               - iam:DeletePolicy
>               - iam:DeletePolicyVersion
>               - iam:SetDefaultPolicyVersion
>             Resource:
>               - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:policy/${ResourcePrefix}-boundary
>               - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:policy/${ResourcePrefix}-devin-deploy
>               - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:policy/${ResourcePrefix}-devin-deploy-agentcore
>   DeployPolicyAgentCore:
>     Type: AWS::IAM::ManagedPolicy
>     Metadata:
>       cfn-lint:
>         config:
>           ignore_checks: [W3037]  # transform-agents/transform-registry are not yet public IAM prefixes
>     Properties:
>       ManagedPolicyName: !Sub ${ResourcePrefix}-devin-deploy-agentcore
>       Description: Lets Devin deploy the AgentCore runtime and call the AWS Transform APIs. Split from DeployPolicy to stay under the IAM policy size limit.
>       Roles: [!Ref DevinRoleName]
>       PolicyDocument:
>         Version: '2012-10-17'
>         Statement:
>           - Sid: AgentCoreServiceLinkedRole
>             Effect: Allow
>             Action: iam:CreateServiceLinkedRole
>             Resource: '*'
>             Condition:
>               StringLike:
>                 iam:AWSServiceName: bedrock-agentcore.amazonaws.com
>           - Sid: AgentCoreNoResourceScope
>             Effect: Allow
>             Action:
>               - bedrock-agentcore:CreateAgentRuntime
>               - bedrock-agentcore:ListAgentRuntimes
>               - bedrock-agentcore:ListAgentRuntimeVersions
>               - bedrock-agentcore:ListAgentRuntimeEndpoints
>             Resource: '*'
>           - Sid: AgentCoreOrchestratorRuntime
>             Effect: Allow
>             Action:
>               - bedrock-agentcore:UpdateAgentRuntime
>               - bedrock-agentcore:DeleteAgentRuntime
>               - bedrock-agentcore:GetAgentRuntime
>               - bedrock-agentcore:CreateAgentRuntimeEndpoint
>               - bedrock-agentcore:UpdateAgentRuntimeEndpoint
>               - bedrock-agentcore:DeleteAgentRuntimeEndpoint
>               - bedrock-agentcore:GetAgentRuntimeEndpoint
>               - bedrock-agentcore:InvokeAgentRuntime
>               - bedrock-agentcore:StopRuntimeSession
>               - bedrock-agentcore:TagResource
>               - bedrock-agentcore:UntagResource
>               - bedrock-agentcore:ListTagsForResource
>             Resource:
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:runtime/${RuntimeName}-*
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:runtime/${RuntimeName}-*/runtime-endpoint/*
>           - Sid: AgentCoreWorkloadIdentity
>             Effect: Allow
>             Action:
>               - bedrock-agentcore:CreateWorkloadIdentity
>               - bedrock-agentcore:GetWorkloadIdentity
>               - bedrock-agentcore:UpdateWorkloadIdentity
>               - bedrock-agentcore:DeleteWorkloadIdentity
>               - bedrock-agentcore:TagResource
>             Resource:
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:workload-identity-directory/default
>               - !Sub arn:${AWS::Partition}:bedrock-agentcore:${AWS::Region}:${AWS::AccountId}:workload-identity-directory/default/workload-identity/*
>           - Sid: TransformRegistry
>             Effect: Allow
>             Action:
>               - transform-registry:GetAgent
>               - transform-registry:GetAgentVersion
>               - transform-registry:RegisterAgent
>               - transform-registry:PublishAgentVersion
>               - transform-registry:UpdatePublisherAccessControl
>             Resource: '*'
>           - Sid: TransformApis
>             Effect: Allow
>             Action:
>               - transform-agents:ListJobPlanSteps
>               - transform-agents:PutJobPlan
>               - transform-agents:UpdateJobPlanStep
>               - transform-agents:CreateWorklog
>               - transform-agents:SendMessage
>               - transform-agents:ListArtifacts
>               - transform-agents:CreateArtifactUploadUrl
>               - transform-agents:GetArtifactMetadata
>               - transform-agents:CompleteArtifactUpload
>               - transform-agents:CreateArtifactDownloadUrl
>               - transform-agents:GetJob
>               - transform-agents:UpdateJobStatus
>               - transform-agents:CreateHitlTask
>               - transform-agents:StartHitlTask
>               - transform-agents:GetHitlTask
>               - transform-agents:CloseHitlTask
>               - transform-agents:GetAgentInstance
>               - transform-agents:UpdateAgentInstance
>               - transform-agents:RefreshAuthToken
>             Resource: '*'
>
> Outputs:
>   BoundaryPolicyArn:
>     Value: !Ref RoleBoundary
>   DeployPolicyArn:
>     Value: !Ref DeployPolicy
>   DeployPolicyAgentCoreArn:
>     Value: !Ref DeployPolicyAgentCore
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.