APIs.io Engineering Platform AWS Identity and Access Management — #Action=AddRoleToInstanceProfile

APIs.io Engineering Platform AWS Identity and Access Management — #Action=AddRoleToInstanceProfile. 2 operations. Lead operation: #Action=AddRoleToInstanceProfile. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering Platform#Action=AddRoleToInstanceProfile

What You Can Do

GET
Getaddroletoinstanceprofile

Adds the specified IAM role to the specified instance profile. An instance profile can contain only one role, and this quota cannot be increased. You can remove the existing role and then add a different role to an instance profile. You

/v1/action-addroletoinstanceprofile
POST
Postaddroletoinstanceprofile

Adds the specified IAM role to the specified instance profile. An instance profile can contain only one role, and this quota cannot be increased. You can remove the existing role and then add a different role to an instance profile. You

/v1/action-addroletoinstanceprofile

MCP Tools

p-adds-specified-iam-role-specified

Adds the specified IAM role to the specified instance profile. An instance profile can contain only one role, and this quota cannot be increased. You can remove the existing role and then add a different role to an instance profile. You

read-only idempotent
p-adds-specified-iam-role-specified-2

Adds the specified IAM role to the specified instance profile. An instance profile can contain only one role, and this quota cannot be increased. You can remove the existing role and then add a different role to an instance profile. You

Capability Spec

aws-iam-action-addroletoinstanceprofile.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=AddRoleToInstanceProfile'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=AddRoleToInstanceProfile. 2 operations.
    Lead operation: #Action=AddRoleToInstanceProfile. Self-contained Naftiko capability covering one Engineering Platform
    business surface.'
  tags:
  - Engineering Platform
  - '#Action=AddRoleToInstanceProfile'
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: aws-iam-action-addroletoinstanceprofile
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=AddRoleToInstanceProfile business
      capability. Self-contained, no shared references.'
    resources:
    - name: '#Action=AddRoleToInstanceProfile'
      path: /#Action=AddRoleToInstanceProfile
      operations:
      - name: getaddroletoinstanceprofile
        method: GET
        description: '<p>Adds the specified IAM role to the specified instance profile. An instance profile can contain only
          one role, and this quota cannot be increased. You can remove the existing role and then add a different role to
          an instance profile. You '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: InstanceProfileName
          in: query
          type: string
          description: <p>The name of the instance profile to update.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex
            pattern</a>) a string o
          required: true
        - name: RoleName
          in: query
          type: string
          description: <p>The name of the role to add.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex
            pattern</a>) a string of characters co
          required: true
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postaddroletoinstanceprofile
        method: POST
        description: '<p>Adds the specified IAM role to the specified instance profile. An instance profile can contain only
          one role, and this quota cannot be increased. You can remove the existing role and then add a different role to
          an instance profile. You '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: aws-iam-action-addroletoinstanceprofile-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=AddRoleToInstanceProfile.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-addroletoinstanceprofile
      name: action-addroletoinstanceprofile
      description: 'REST surface for #Action=AddRoleToInstanceProfile.'
      operations:
      - method: GET
        name: getaddroletoinstanceprofile
        description: '<p>Adds the specified IAM role to the specified instance profile. An instance profile can contain only
          one role, and this quota cannot be increased. You can remove the existing role and then add a different role to
          an instance profile. You '
        call: aws-iam-action-addroletoinstanceprofile.getaddroletoinstanceprofile
        with:
          InstanceProfileName: rest.InstanceProfileName
          RoleName: rest.RoleName
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postaddroletoinstanceprofile
        description: '<p>Adds the specified IAM role to the specified instance profile. An instance profile can contain only
          one role, and this quota cannot be increased. You can remove the existing role and then add a different role to
          an instance profile. You '
        call: aws-iam-action-addroletoinstanceprofile.postaddroletoinstanceprofile
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-addroletoinstanceprofile-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=AddRoleToInstanceProfile.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: p-adds-specified-iam-role-specified
      description: '<p>Adds the specified IAM role to the specified instance profile. An instance profile can contain only
        one role, and this quota cannot be increased. You can remove the existing role and then add a different role to an
        instance profile. You '
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-addroletoinstanceprofile.getaddroletoinstanceprofile
      with:
        InstanceProfileName: tools.InstanceProfileName
        RoleName: tools.RoleName
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: p-adds-specified-iam-role-specified-2
      description: '<p>Adds the specified IAM role to the specified instance profile. An instance profile can contain only
        one role, and this quota cannot be increased. You can remove the existing role and then add a different role to an
        instance profile. You '
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-iam-action-addroletoinstanceprofile.postaddroletoinstanceprofile
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.