{
  "typeName" : "AWS::ApiGateway::BasePathMapping",
  "description" : "The ``AWS::ApiGateway::BasePathMapping`` resource creates a base path that clients who call your API must use in the invocation URL. Supported only for public custom domain names.",
  "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway",
  "additionalProperties" : false,
  "properties" : {
    "BasePath" : {
      "type" : "string",
      "description" : ""
    },
    "DomainName" : {
      "type" : "string",
      "description" : ""
    },
    "RestApiId" : {
      "type" : "string",
      "description" : ""
    },
    "Stage" : {
      "type" : "string",
      "description" : ""
    }
  },
  "required" : [ "DomainName" ],
  "createOnlyProperties" : [ "/properties/DomainName", "/properties/BasePath" ],
  "primaryIdentifier" : [ "/properties/DomainName", "/properties/BasePath" ],
  "tagging" : {
    "taggable" : false,
    "tagOnCreate" : false,
    "tagUpdatable" : false,
    "cloudFormationSystemTags" : false
  },
  "handlers" : {
    "create" : {
      "permissions" : [ "apigateway:POST", "apigateway:GET" ]
    },
    "read" : {
      "permissions" : [ "apigateway:GET" ]
    },
    "update" : {
      "permissions" : [ "apigateway:GET", "apigateway:DELETE", "apigateway:PATCH" ]
    },
    "delete" : {
      "permissions" : [ "apigateway:DELETE" ]
    },
    "list" : {
      "handlerSchema" : {
        "properties" : {
          "DomainName" : {
            "$ref" : "resource-schema.json#/properties/DomainName"
          }
        },
        "required" : [ "DomainName" ]
      },
      "permissions" : [ "apigateway:GET" ]
    }
  }
}