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

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

Run with Naftiko Engineering Platform#Action=CreatePolicy

What You Can Do

GET
Getcreatepolicy

Creates a new managed policy for your Amazon Web Services account.

This operation creates a policy version with a version identifier of v1 and sets v1 as the policy's default version. For more information about policy

/v1/action-createpolicy
POST
Postcreatepolicy

Creates a new managed policy for your Amazon Web Services account.

This operation creates a policy version with a version identifier of v1 and sets v1 as the policy's default version. For more information about policy

/v1/action-createpolicy

MCP Tools

p-creates-new-managed-policy-your

Creates a new managed policy for your Amazon Web Services account.

This operation creates a policy version with a version identifier of v1 and sets v1 as the policy's default version. For more information about policy

read-only idempotent
p-creates-new-managed-policy-your-2

Creates a new managed policy for your Amazon Web Services account.

This operation creates a policy version with a version identifier of v1 and sets v1 as the policy's default version. For more information about policy

Capability Spec

aws-iam-action-createpolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=CreatePolicy'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=CreatePolicy. 2 operations. Lead
    operation: #Action=CreatePolicy. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - '#Action=CreatePolicy'
  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-createpolicy
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=CreatePolicy business capability.
      Self-contained, no shared references.'
    resources:
    - name: '#Action=CreatePolicy'
      path: /#Action=CreatePolicy
      operations:
      - name: getcreatepolicy
        method: GET
        description: <p>Creates a new managed policy for your Amazon Web Services account.</p> <p>This operation creates a
          policy version with a version identifier of <code>v1</code> and sets v1 as the policy's default version. For more
          information about policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PolicyName
          in: query
          type: string
          description: <p>The friendly name of the policy.</p> <p>IAM user, group, role, and policy names must be unique within
            the account. Names are not distinguished by case. For e
          required: true
        - name: Path
          in: query
          type: string
          description: <p>The path for the policy.</p> <p>For more information about paths, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM
            i
        - name: PolicyDocument
          in: query
          type: string
          description: <p>The JSON policy document that you want to use as the content for the new policy.</p> <p>You must
            provide policies in JSON format in IAM. However, for CloudFo
          required: true
        - name: Description
          in: query
          type: string
          description: '<p>A friendly description of the policy.</p> <p>Typically used to store information about the permissions
            defined in the policy. For example, "Grants access to '
        - name: Tags
          in: query
          type: array
          description: '<p>A list of tags that you want to attach to the new IAM customer managed policy. Each tag consists
            of a key name and an associated value. For more information '
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postcreatepolicy
        method: POST
        description: <p>Creates a new managed policy for your Amazon Web Services account.</p> <p>This operation creates a
          policy version with a version identifier of <code>v1</code> and sets v1 as the policy's default version. For more
          information about policy
        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-createpolicy-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=CreatePolicy.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-createpolicy
      name: action-createpolicy
      description: 'REST surface for #Action=CreatePolicy.'
      operations:
      - method: GET
        name: getcreatepolicy
        description: <p>Creates a new managed policy for your Amazon Web Services account.</p> <p>This operation creates a
          policy version with a version identifier of <code>v1</code> and sets v1 as the policy's default version. For more
          information about policy
        call: aws-iam-action-createpolicy.getcreatepolicy
        with:
          PolicyName: rest.PolicyName
          Path: rest.Path
          PolicyDocument: rest.PolicyDocument
          Description: rest.Description
          Tags: rest.Tags
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postcreatepolicy
        description: <p>Creates a new managed policy for your Amazon Web Services account.</p> <p>This operation creates a
          policy version with a version identifier of <code>v1</code> and sets v1 as the policy's default version. For more
          information about policy
        call: aws-iam-action-createpolicy.postcreatepolicy
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-createpolicy-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=CreatePolicy.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: p-creates-new-managed-policy-your
      description: <p>Creates a new managed policy for your Amazon Web Services account.</p> <p>This operation creates a policy
        version with a version identifier of <code>v1</code> and sets v1 as the policy's default version. For more information
        about policy
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-createpolicy.getcreatepolicy
      with:
        PolicyName: tools.PolicyName
        Path: tools.Path
        PolicyDocument: tools.PolicyDocument
        Description: tools.Description
        Tags: tools.Tags
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: p-creates-new-managed-policy-your-2
      description: <p>Creates a new managed policy for your Amazon Web Services account.</p> <p>This operation creates a policy
        version with a version identifier of <code>v1</code> and sets v1 as the policy's default version. For more information
        about policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-iam-action-createpolicy.postcreatepolicy
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.