{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-cluster-security-group-message-schema.json",
  "title": "ClusterSecurityGroupMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-cluster-security-group-api-openapi.yml#/components/schemas/ClusterSecurityGroupMessage",
  "type": "object",
  "properties": {
    "Marker": {
      "type": "string",
      "description": "A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request."
    },
    "ClusterSecurityGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ClusterSecurityGroup"
      },
      "description": "A list of ClusterSecurityGroup instances."
    }
  },
  "$defs": {
    "ClusterSecurityGroup": {
      "type": "object",
      "properties": {
        "ClusterSecurityGroupName": {
          "type": "string",
          "description": "The name of the cluster security group to which the operation was applied."
        },
        "Description": {
          "type": "string",
          "description": "A description of the security group."
        },
        "EC2SecurityGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EC2SecurityGroup"
          },
          "description": "A list of EC2 security groups that are permitted to access clusters associated with this cluster security group."
        },
        "IPRanges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IPRange"
          },
          "description": "A list of IP ranges (CIDR blocks) that are permitted to access clusters associated with this cluster security group."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The list of tags for the cluster security group."
        }
      }
    },
    "EC2SecurityGroup": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "description": "The status of the EC2 security group."
        },
        "EC2SecurityGroupName": {
          "type": "string",
          "description": "The name of the EC2 Security Group."
        },
        "EC2SecurityGroupOwnerId": {
          "type": "string",
          "description": "The Amazon Web Services account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The list of tags for the EC2 security group."
        }
      }
    },
    "IPRange": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "description": "The status of the IP range, for example, \"authorized\"."
        },
        "CIDRIP": {
          "type": "string",
          "description": "The IP range in Classless Inter-Domain Routing (CIDR) notation."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The list of tags for the IP range."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key, or name, for the resource tag."
        },
        "Value": {
          "type": "string",
          "description": "The value for the resource tag."
        }
      }
    }
  }
}