{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-service-catalog/json-schema/amazon-service-catalog-associate-principal-with-portfolio-input-schema.json",
  "title": "AssociatePrincipalWithPortfolioInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-service-catalog-principal-api-openapi.yml#/components/schemas/AssociatePrincipalWithPortfolioInput",
  "type": "object",
  "properties": {
    "AcceptLanguage": {
      "type": "string",
      "description": "The language code. jp - Japanese zh - Chinese"
    },
    "PortfolioId": {
      "type": "string",
      "description": "The portfolio identifier."
    },
    "PrincipalARN": {
      "type": "string",
      "description": "The ARN of the principal (user, role, or group). If the PrincipalType is IAM, the supported value is a fully defined IAM Amazon Resource Name (ARN). If the PrincipalType is IAM_PATTERN, the supported value is an IAM ARN without an AccountID in the following format: arn:partition:iam:::resource-type/resource-id The ARN resource-id can be either: A fully formed resource-id. For example, arn:aws:iam:::role/resource-name or arn:aws:iam:::role/resource-path/resource-name A wildcard ARN. The wildcard ARN accepts IAM_PATTERN values with a \"*\" or \"?\" in the resource-id segment of the ARN. For example "
    },
    "PrincipalType": {
      "type": "string",
      "enum": [
        "IAM",
        "IAM_PATTERN"
      ],
      "description": "The principal type. The supported value is IAM if you use a fully defined Amazon Resource Name (ARN), or IAM_PATTERN if you use an ARN with no accountID, with or without wildcard characters."
    }
  },
  "required": [
    "PortfolioId",
    "PrincipalARN",
    "PrincipalType"
  ]
}