{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ses/json-schema/amazon-ses-create-ingress-point-request-schema.json",
  "title": "CreateIngressPointRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ses-ingress-point-api-openapi.yml#/components/schemas/CreateIngressPointRequest",
  "type": "object",
  "properties": {
    "ClientToken": {
      "type": "string",
      "description": "A unique token that Amazon SES uses to recognize subsequent retries of the same request."
    },
    "IngressPointName": {
      "type": "string",
      "description": "A user friendly name for an ingress endpoint resource."
    },
    "Type": {
      "type": "string",
      "enum": [
        "OPEN",
        "AUTH",
        "MTLS"
      ],
      "description": "The type of the ingress endpoint to create."
    },
    "RuleSetId": {
      "type": "string",
      "description": "The identifier of an existing rule set that you attach to an ingress endpoint resource."
    },
    "TrafficPolicyId": {
      "type": "string",
      "description": "The identifier of an existing traffic policy that you attach to an ingress endpoint resource."
    },
    "IngressPointConfiguration": {
      "$ref": "#/$defs/IngressPointConfiguration"
    },
    "NetworkConfiguration": {
      "$ref": "#/$defs/NetworkConfiguration"
    },
    "TlsPolicy": {
      "type": "string",
      "enum": [
        "REQUIRED",
        "OPTIONAL",
        "FIPS"
      ],
      "description": "The Transport Layer Security (TLS) policy for the ingress point. The FIPS value is only valid in US and Canada regions."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MailManagerTag"
      },
      "description": "The tags used to organize, track, or control access for the resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }."
    }
  },
  "required": [
    "IngressPointName",
    "Type",
    "RuleSetId",
    "TrafficPolicyId"
  ],
  "$defs": {
    "IngressPointConfiguration": {
      "type": "object",
      "properties": {
        "SmtpPassword": {
          "type": "string",
          "description": "The password of the ingress endpoint resource."
        },
        "SecretArn": {
          "type": "string",
          "description": "The SecretsManager::Secret ARN of the ingress endpoint resource."
        },
        "TlsAuthConfiguration": {
          "$ref": "#/$defs/TlsAuthConfiguration"
        }
      },
      "description": "Exactly one member is set."
    },
    "MailManagerTag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the key-value tag."
        },
        "Value": {
          "type": "string",
          "description": "The value of the key-value tag."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    },
    "NetworkConfiguration": {
      "type": "object",
      "properties": {
        "PublicNetworkConfiguration": {
          "$ref": "#/$defs/PublicNetworkConfiguration"
        },
        "PrivateNetworkConfiguration": {
          "$ref": "#/$defs/PrivateNetworkConfiguration"
        }
      },
      "description": "Exactly one member is set."
    },
    "PrivateNetworkConfiguration": {
      "type": "object",
      "properties": {
        "VpcEndpointId": {
          "type": "string",
          "description": "The identifier of the VPC endpoint to associate with this private ingress point."
        }
      },
      "required": [
        "VpcEndpointId"
      ]
    },
    "PublicNetworkConfiguration": {
      "type": "object",
      "properties": {
        "IpType": {
          "type": "string",
          "enum": [
            "IPV4",
            "DUAL_STACK"
          ],
          "description": "The IP address type for the public ingress point. Valid values are IPV4 and DUAL_STACK."
        }
      },
      "required": [
        "IpType"
      ]
    },
    "TlsAuthConfiguration": {
      "type": "object",
      "properties": {
        "TrustStore": {
          "$ref": "#/$defs/TrustStore"
        }
      }
    },
    "TrustStore": {
      "type": "object",
      "properties": {
        "CAContent": {
          "type": "string",
          "description": "The PEM-encoded certificate authority (CA) certificates bundle for the trust store."
        },
        "CrlContent": {
          "type": "string",
          "description": "The PEM-encoded certificate revocation lists (CRLs) for the trust store. There can be one CRL per certificate authority (CA) in the trust store."
        },
        "KmsKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key used to encrypt the trust store contents."
        }
      },
      "required": [
        "CAContent"
      ]
    }
  }
}