{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-groundstation-dataflowendpointgroup.json",
  "title": "AWSGroundStationDataflowEndpointGroupProperties",
  "description": "AWS Ground Station DataflowEndpointGroup schema for CloudFormation. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ground-station.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-groundstation-dataflowendpointgroup.json",
    "sourceSha256": "bb92becf3388539bad817d51a3f516262fa70562f7cadb0eacc8200246d8aec2"
  },
  "type": "object",
  "properties": {
    "EndpointDetails": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "#/$defs/EndpointDetails"
      }
    },
    "ContactPrePassDurationSeconds": {
      "type": "integer",
      "description": "Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a PREPASS state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the PREPASS state."
    },
    "ContactPostPassDurationSeconds": {
      "type": "integer",
      "description": "Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a POSTPASS state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the POSTPASS state."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::GroundStation::DataflowEndpointGroup",
  "$defs": {
    "SocketAddress": {
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Port": {
          "type": "integer"
        }
      },
      "title": "AWSGroundStationDataflowEndpointGroupSocketAddressDefinition",
      "additionalProperties": false
    },
    "AgentStatus": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "SUCCESS",
            "FAILED",
            "ACTIVE",
            "INACTIVE"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The status of AgentEndpoint.",
      "title": "AWSGroundStationDataflowEndpointGroupAgentStatusDefinition"
    },
    "AuditResults": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "HEALTHY",
            "UNHEALTHY"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The results of the audit.",
      "title": "AWSGroundStationDataflowEndpointGroupAuditResultsDefinition"
    },
    "IntegerRange": {
      "description": "An integer range that has a minimum and maximum value.",
      "type": "object",
      "properties": {
        "Minimum": {
          "description": "A minimum value.",
          "type": "integer"
        },
        "Maximum": {
          "description": "A maximum value.",
          "type": "integer"
        }
      },
      "title": "AWSGroundStationDataflowEndpointGroupIntegerRangeDefinition",
      "additionalProperties": false
    },
    "RangedSocketAddress": {
      "description": "A socket address with a port range.",
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "IPv4 socket address."
        },
        "PortRange": {
          "description": "Port range of a socket address.",
          "$ref": "#/$defs/IntegerRange"
        }
      },
      "title": "AWSGroundStationDataflowEndpointGroupRangedSocketAddressDefinition",
      "additionalProperties": false
    },
    "ConnectionDetails": {
      "description": "Egress address of AgentEndpoint with an optional mtu.",
      "type": "object",
      "properties": {
        "SocketAddress": {
          "$ref": "#/$defs/SocketAddress"
        },
        "Mtu": {
          "description": "Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.",
          "type": "integer"
        }
      },
      "title": "AWSGroundStationDataflowEndpointGroupConnectionDetailsDefinition",
      "additionalProperties": false
    },
    "RangedConnectionDetails": {
      "description": "Ingress address of AgentEndpoint with a port range and an optional mtu.",
      "type": "object",
      "properties": {
        "SocketAddress": {
          "$ref": "#/$defs/RangedSocketAddress"
        },
        "Mtu": {
          "description": "Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.",
          "type": "integer"
        }
      },
      "title": "AWSGroundStationDataflowEndpointGroupRangedConnectionDetailsDefinition",
      "additionalProperties": false
    },
    "AwsGroundStationAgentEndpoint": {
      "description": "Information about AwsGroundStationAgentEndpoint.",
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[ a-zA-Z0-9_:-]{1,256}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "EgressAddress": {
          "$ref": "#/$defs/ConnectionDetails"
        },
        "IngressAddress": {
          "$ref": "#/$defs/RangedConnectionDetails"
        },
        "AgentStatus": {
          "$ref": "#/$defs/AgentStatus"
        },
        "AuditResults": {
          "$ref": "#/$defs/AuditResults"
        }
      },
      "title": "AWSGroundStationDataflowEndpointGroupAwsGroundStationAgentEndpointDefinition",
      "additionalProperties": false
    },
    "DataflowEndpoint": {
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[ a-zA-Z0-9_:-]{1,256}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Address": {
          "$ref": "#/$defs/SocketAddress"
        },
        "Mtu": {
          "type": "integer"
        }
      },
      "title": "AWSGroundStationDataflowEndpointGroupDataflowEndpointDefinition",
      "additionalProperties": false
    },
    "SecurityDetails": {
      "type": "object",
      "properties": {
        "SubnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "SecurityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "RoleArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSGroundStationDataflowEndpointGroupSecurityDetailsDefinition",
      "additionalProperties": false
    },
    "EndpointDetails": {
      "type": "object",
      "properties": {
        "SecurityDetails": {
          "$ref": "#/$defs/SecurityDetails"
        },
        "Endpoint": {
          "$ref": "#/$defs/DataflowEndpoint"
        },
        "AwsGroundStationAgentEndpoint": {
          "$ref": "#/$defs/AwsGroundStationAgentEndpoint"
        }
      },
      "oneOf": [
        {
          "required": [
            "Endpoint",
            "SecurityDetails"
          ]
        },
        {
          "required": [
            "AwsGroundStationAgentEndpoint"
          ]
        }
      ],
      "title": "AWSGroundStationDataflowEndpointGroupEndpointDetailsDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[ a-zA-Z0-9\\+\\-=._:/@]{1,128}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[ a-zA-Z0-9\\+\\-=._:/@]{1,256}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSGroundStationDataflowEndpointGroupTagDefinition",
      "required": [
        "Key",
        "Value"
      ],
      "additionalProperties": false
    }
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ground-station.git",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "required": [
    "EndpointDetails"
  ],
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn"
  ]
}
