{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-create-endpoint-access-request-schema.json",
  "title": "CreateEndpointAccessRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-endpoint-access-api-openapi.yml#/components/schemas/CreateEndpointAccessRequest",
  "type": "object",
  "properties": {
    "endpointName": {
      "type": "string",
      "description": "The name of the VPC endpoint. An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen."
    },
    "subnetIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint."
    },
    "workgroupName": {
      "type": "string",
      "description": "The name of the workgroup to associate with the VPC endpoint."
    },
    "vpcSecurityGroupIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The unique identifiers of the security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint."
    },
    "ownerAccount": {
      "type": "string",
      "description": "The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup."
    }
  },
  "required": [
    "endpointName",
    "subnetIds",
    "workgroupName"
  ]
}