AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateClusterSecurityGroup operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Redshift.AmazonRedshiftRequest
      Amazon.Redshift.Model.CreateClusterSecurityGroupRequest

Namespace: Amazon.Redshift.Model
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z

Syntax

C#
public class CreateClusterSecurityGroupRequest : AmazonRedshiftRequest
         IAmazonWebServiceRequest

The CreateClusterSecurityGroupRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ClusterSecurityGroupName System.String

Gets and sets the property ClusterSecurityGroupName.

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 AWS account.

Example: examplesecuritygroup

Public Property Description System.String

Gets and sets the property Description.

A description for the security group.

Public Property Tags System.Collections.Generic.List<Amazon.Redshift.Model.Tag>

Gets and sets the property Tags.

A list of tag instances.

Examples

This example creates a new cluster security group.

To create a new cluster security group


var response = client.CreateClusterSecurityGroup(new CreateClusterSecurityGroupRequest 
{
    ClusterSecurityGroupName = "mysecuritygroup",
    Description = "This is my cluster security group"
});


            

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms