Skip to content

Create Cluster Security Group

redshift_create_cluster_security_group R Documentation

Creates a new Amazon Redshift 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.

Usage

redshift_create_cluster_security_group(ClusterSecurityGroupName,
  Description, Tags)

Arguments

ClusterSecurityGroupName

[required] 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

[required] A description for the security group.

Tags

A list of tag instances.

Value

A list with the following syntax:

list(
  ClusterSecurityGroup = list(
    ClusterSecurityGroupName = "string",
    Description = "string",
    EC2SecurityGroups = list(
      list(
        Status = "string",
        EC2SecurityGroupName = "string",
        EC2SecurityGroupOwnerId = "string",
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        )
      )
    ),
    IPRanges = list(
      list(
        Status = "string",
        CIDRIP = "string",
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        )
      )
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$create_cluster_security_group(
  ClusterSecurityGroupName = "string",
  Description = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)