Amazon Redshift Redshift Cluster Security Group API

The Redshift Cluster Security Group API from Amazon Redshift — 3 operation(s) for redshift cluster security group.

GitHub OpenAPI

Operations 3

POST /?Action=CreateClusterSecurityGroup Create Cluster Security Group #
POST /?Action=DeleteClusterSecurityGroup Delete Cluster Security Group #
POST /?Action=DescribeClusterSecurityGroups Describe Cluster Security Groups #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-redshift:amazon-redshift-cluster-security-group-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-redshift-cluster-security-group-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Redshift Cluster Security Group API
  version: '2012-12-01'
  description: Generated from AWS's published Smithy model for Amazon Redshift. 3 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://redshift.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /?Action=CreateClusterSecurityGroup:
    post:
      operationId: CreateClusterSecurityGroup
      summary: Create Cluster Security Group
      description: Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.
        For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift
        Cluster Management Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/CreateClusterSecurityGroupResult'
        '400':
          description: ClusterSecurityGroupAlreadyExistsFault; ClusterSecurityGroupQuotaExceededFault; InvalidTagFault; TagLimitExceededFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ClusterSecurityGroupAlreadyExistsFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: CreateClusterSecurityGroup
                  Version:
                    type: string
                    const: '2012-12-01'
              - $ref: '#/components/schemas/CreateClusterSecurityGroupMessage'
      tags:
      - Cluster Security Group
  /?Action=DeleteClusterSecurityGroup:
    post:
      operationId: DeleteClusterSecurityGroup
      summary: Delete Cluster Security Group
      description: Deletes an Amazon Redshift security group. You cannot delete a security group that is associated with any
        clusters. You cannot delete the default security group. For information about managing security groups, go to Amazon
        Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
        '404':
          description: ClusterSecurityGroupNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ClusterSecurityGroupNotFoundFault'
        '400':
          description: InvalidClusterSecurityGroupStateFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidClusterSecurityGroupStateFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteClusterSecurityGroup
                  Version:
                    type: string
                    const: '2012-12-01'
              - $ref: '#/components/schemas/DeleteClusterSecurityGroupMessage'
      tags:
      - Cluster Security Group
  /?Action=DescribeClusterSecurityGroups:
    post:
      operationId: DescribeClusterSecurityGroups
      summary: Describe Cluster Security Groups
      description: Returns information about Amazon Redshift security groups. If the name of a security group is specified,
        the response will contain only information about only that security group. For information about managing security
        groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide. If you specify
        both tag keys and tag values in the same request, Amazon Redshift returns all security groups that match any combination
        of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test
        for tag values, all security groups that have any combination of those values are returned. If both tag keys and values
        are omitted from the request, security groups are returned regardless of whether they have tag keys or values associated
        with them.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ClusterSecurityGroupMessage'
        '404':
          description: ClusterSecurityGroupNotFoundFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ClusterSecurityGroupNotFoundFault'
        '400':
          description: InvalidTagFault
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidTagFault'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DescribeClusterSecurityGroups
                  Version:
                    type: string
                    const: '2012-12-01'
              - $ref: '#/components/schemas/DescribeClusterSecurityGroupsMessage'
      tags:
      - Cluster Security Group
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: redshift
  schemas:
    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: '#/components/schemas/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: '#/components/schemas/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: '#/components/schemas/Tag'
          description: The list of tags for the cluster security group.
    ClusterSecurityGroupAlreadyExistsFault:
      type: object
      properties:
        message:
          type: string
    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: '#/components/schemas/ClusterSecurityGroup'
          description: A list of ClusterSecurityGroup instances.
    ClusterSecurityGroupNotFoundFault:
      type: object
      properties:
        message:
          type: string
    CreateClusterSecurityGroupMessage:
      type: object
      properties:
        ClusterSecurityGroupName:
          type: string
          description: 'The name for the security group. Amazon Redshift stores the value as a lowercase string. Constraints:
            Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default". Must be unique for all
            security groups that are created by your Amazon Web Services account. Example: examplesecuritygroup'
        Description:
          type: string
          description: A description for the security group.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of tag instances.
      required:
      - ClusterSecurityGroupName
      - Description
    CreateClusterSecurityGroupResult:
      type: object
      properties:
        ClusterSecurityGroup:
          $ref: '#/components/schemas/ClusterSecurityGroup'
    DeleteClusterSecurityGroupMessage:
      type: object
      properties:
        ClusterSecurityGroupName:
          type: string
          description: The name of the cluster security group to be deleted.
      required:
      - ClusterSecurityGroupName
    DescribeClusterSecurityGroupsMessage:
      type: object
      properties:
        ClusterSecurityGroupName:
          type: string
          description: 'The name of a cluster security group for which you are requesting details. You must specify either
            the Marker parameter or a ClusterSecurityGroupName parameter, but not both. Example: securitygroup1'
        MaxRecords:
          type: integer
          description: 'The maximum number of response records to return in each call. If the number of remaining response
            records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can
            retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints:
            minimum 20, maximum 100.'
        Marker:
          type: string
          description: 'An optional parameter that specifies the starting point to return a set of response records. When
            the results of a DescribeClusterSecurityGroups request exceed the value specified in MaxRecords, Amazon Web Services
            returns a value in the Marker field of the response. You can retrieve the next set of response records by providing
            the returned marker value in the Marker parameter and retrying the request. Constraints: You must specify either
            the ClusterSecurityGroupName parameter or the Marker parameter, but not both.'
        TagKeys:
          type: array
          items:
            type: string
          description: A tag key or keys for which you want to return all matching cluster security groups that are associated
            with the specified key or keys. For example, suppose that you have security groups that are tagged with keys called
            owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response
            with the security groups that have either or both of these tag keys associated with them.
        TagValues:
          type: array
          items:
            type: string
          description: A tag value or values for which you want to return all matching cluster security groups that are associated
            with the specified tag value or values. For example, suppose that you have security groups that are tagged with
            values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns
            a response with the security groups that have either or both of these tag values associated with them.
    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: '#/components/schemas/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: '#/components/schemas/Tag'
          description: The list of tags for the IP range.
    InvalidClusterSecurityGroupStateFault:
      type: object
      properties:
        message:
          type: string
    InvalidTagFault:
      type: object
      properties:
        message:
          type: string
    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.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/redshift/service/2012-12-01/redshift-2012-12-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)