{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-create-cluster-security-group-result-schema.json",
  "title": "CreateClusterSecurityGroupResult",
  "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/CreateClusterSecurityGroupResult",
  "type": "object",
  "properties": {
    "ClusterSecurityGroup": {
      "$ref": "#/$defs/ClusterSecurityGroup"
    }
  },
  "$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."
        }
      }
    }
  }
}