CreateLicenseAssetRulesetRequest

Amazon Web ServicesComplianceCost ManagementLicense ManagementSoftware Licensing

Properties

Name Type Description
Name string License asset ruleset name.
Description string License asset ruleset description.
Rules array License asset rules.
Tags array Tags to add to the license asset ruleset.
ClientToken string Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
View JSON Schema on GitHub

JSON Schema

amazon-license-manager-create-license-asset-ruleset-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-license-manager/json-schema/amazon-license-manager-create-license-asset-ruleset-request-schema.json",
  "title": "CreateLicenseAssetRulesetRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-license-manager-license-asset-ruleset-api-openapi.yml#/components/schemas/CreateLicenseAssetRulesetRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "License asset ruleset name."
    },
    "Description": {
      "type": "string",
      "description": "License asset ruleset description."
    },
    "Rules": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LicenseAssetRule"
      },
      "description": "License asset rules."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Tags to add to the license asset ruleset."
    },
    "ClientToken": {
      "type": "string",
      "description": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request."
    }
  },
  "required": [
    "Name",
    "Rules",
    "ClientToken"
  ],
  "$defs": {
    "AndRuleStatement": {
      "type": "object",
      "properties": {
        "MatchingRuleStatements": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MatchingRuleStatement"
          },
          "description": "Matching rule statements."
        },
        "ScriptRuleStatements": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ScriptRuleStatement"
          },
          "description": "Script rule statements."
        }
      }
    },
    "InstanceRuleStatement": {
      "type": "object",
      "properties": {
        "AndRuleStatement": {
          "$ref": "#/$defs/AndRuleStatement"
        },
        "OrRuleStatement": {
          "$ref": "#/$defs/OrRuleStatement"
        },
        "MatchingRuleStatement": {
          "$ref": "#/$defs/MatchingRuleStatement"
        },
        "ScriptRuleStatement": {
          "$ref": "#/$defs/ScriptRuleStatement"
        }
      }
    },
    "LicenseAssetRule": {
      "type": "object",
      "properties": {
        "RuleStatement": {
          "$ref": "#/$defs/RuleStatement"
        }
      },
      "required": [
        "RuleStatement"
      ]
    },
    "LicenseConfigurationRuleStatement": {
      "type": "object",
      "properties": {
        "AndRuleStatement": {
          "$ref": "#/$defs/AndRuleStatement"
        },
        "OrRuleStatement": {
          "$ref": "#/$defs/OrRuleStatement"
        },
        "MatchingRuleStatement": {
          "$ref": "#/$defs/MatchingRuleStatement"
        }
      }
    },
    "LicenseRuleStatement": {
      "type": "object",
      "properties": {
        "AndRuleStatement": {
          "$ref": "#/$defs/AndRuleStatement"
        },
        "OrRuleStatement": {
          "$ref": "#/$defs/OrRuleStatement"
        },
        "MatchingRuleStatement": {
          "$ref": "#/$defs/MatchingRuleStatement"
        }
      }
    },
    "MatchingRuleStatement": {
      "type": "object",
      "properties": {
        "KeyToMatch": {
          "type": "string",
          "description": "Key to match. The following keys and are supported when the RuleStatement type is Instance: Platform - The name of the platform. Logical operators are EQUALS and NOT_EQUALS. EC2BillingProduct - The billing product code. Logical operators are EQUALS and NOT_EQUALS. Possible values are: windows-server-enterprise | windows-byol | rhel | rhel-byol | rhel-high-availability | ubuntu-pro | suse-linux | sql-server-standard | sql-server-enterprise. MarketPlaceProductCode - The Marketplace product code. Logical operators are EQUALS and NOT_EQUALS. AMIId - The ID of the AMI. Logical operators are EQUALS "
        },
        "Constraint": {
          "type": "string",
          "description": "Constraint."
        },
        "ValueToMatch": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Value to match."
        }
      },
      "required": [
        "KeyToMatch",
        "Constraint",
        "ValueToMatch"
      ]
    },
    "OrRuleStatement": {
      "type": "object",
      "properties": {
        "MatchingRuleStatements": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MatchingRuleStatement"
          },
          "description": "Matching rule statements."
        },
        "ScriptRuleStatements": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ScriptRuleStatement"
          },
          "description": "Script rule statements."
        }
      }
    },
    "RuleStatement": {
      "type": "object",
      "properties": {
        "LicenseConfigurationRuleStatement": {
          "$ref": "#/$defs/LicenseConfigurationRuleStatement"
        },
        "LicenseRuleStatement": {
          "$ref": "#/$defs/LicenseRuleStatement"
        },
        "InstanceRuleStatement": {
          "$ref": "#/$defs/InstanceRuleStatement"
        }
      }
    },
    "ScriptRuleStatement": {
      "type": "object",
      "properties": {
        "KeyToMatch": {
          "type": "string",
          "description": "Key name to match against in the script rule evaluation."
        },
        "Script": {
          "type": "string",
          "description": "Script code used to evaluate the rule condition."
        }
      },
      "required": [
        "KeyToMatch",
        "Script"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key."
        },
        "Value": {
          "type": "string",
          "description": "The tag value."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-license-manager-create-license-asset-ruleset-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.