{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-create-instance-connect-endpoint-result-schema.json",
  "title": "CreateInstanceConnectEndpointResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-instance-connect-endpoint-api-openapi.yml#/components/schemas/CreateInstanceConnectEndpointResult",
  "type": "object",
  "properties": {
    "InstanceConnectEndpoint": {
      "$ref": "#/$defs/Ec2InstanceConnectEndpoint"
    },
    "ClientToken": {
      "type": "string",
      "description": "Unique, case-sensitive idempotency token provided by the client in the the request."
    }
  },
  "$defs": {
    "Ec2InstanceConnectEndpoint": {
      "type": "object",
      "properties": {
        "OwnerId": {
          "type": "string",
          "description": "The ID of the Amazon Web Services account that created the EC2 Instance Connect Endpoint."
        },
        "InstanceConnectEndpointId": {
          "type": "string",
          "description": "The ID of the EC2 Instance Connect Endpoint."
        },
        "InstanceConnectEndpointArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint."
        },
        "State": {
          "type": "string",
          "enum": [
            "create-in-progress",
            "create-complete",
            "create-failed",
            "delete-in-progress",
            "delete-complete",
            "delete-failed",
            "update-in-progress",
            "update-complete",
            "update-failed"
          ],
          "description": "The current state of the EC2 Instance Connect Endpoint."
        },
        "StateMessage": {
          "type": "string",
          "description": "The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message."
        },
        "DnsName": {
          "type": "string",
          "description": "The DNS name of the EC2 Instance Connect Endpoint."
        },
        "FipsDnsName": {
          "type": "string",
          "description": "The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint."
        },
        "NetworkInterfaceIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint."
        },
        "VpcId": {
          "type": "string",
          "description": "The ID of the VPC in which the EC2 Instance Connect Endpoint was created."
        },
        "AvailabilityZone": {
          "type": "string",
          "description": "The Availability Zone of the EC2 Instance Connect Endpoint."
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the EC2 Instance Connect Endpoint was created."
        },
        "SubnetId": {
          "type": "string",
          "description": "The ID of the subnet in which the EC2 Instance Connect Endpoint was created."
        },
        "PreserveClientIp": {
          "type": "boolean",
          "description": "Indicates whether your client's IP address is preserved as the source when you connect to a resource. The following are the possible values. true - Use the IP address of the client. Your instance must have an IPv4 address. false - Use the IP address of the network interface. Default: false"
        },
        "SecurityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The security groups associated with the endpoint. If you didn't specify a security group, the default security group for your VPC is associated with the endpoint."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The tags assigned to the EC2 Instance Connect Endpoint."
        },
        "IpAddressType": {
          "type": "string",
          "enum": [
            "ipv4",
            "dualstack",
            "ipv6"
          ],
          "description": "The IP address type of the endpoint."
        },
        "PublicDnsNames": {
          "$ref": "#/$defs/InstanceConnectEndpointPublicDnsNames"
        },
        "AvailabilityZoneId": {
          "type": "string",
          "description": "The ID of the Availability Zone of the EC2 Instance Connect Endpoint."
        }
      }
    },
    "InstanceConnectEndpointDnsNames": {
      "type": "object",
      "properties": {
        "DnsName": {
          "type": "string",
          "description": "The DNS name of the EC2 Instance Connect Endpoint."
        },
        "FipsDnsName": {
          "type": "string",
          "description": "The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint."
        }
      }
    },
    "InstanceConnectEndpointPublicDnsNames": {
      "type": "object",
      "properties": {
        "Ipv4": {
          "$ref": "#/$defs/InstanceConnectEndpointDnsNames"
        },
        "Dualstack": {
          "$ref": "#/$defs/InstanceConnectEndpointDnsNames"
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters."
        }
      }
    }
  }
}