AWS SDK for .NET Documentation
CreateClusterSubnetGroupRequest Class
AmazonAmazon.Redshift.ModelCreateClusterSubnetGroupRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the CreateClusterSubnetGroup operation. Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.

For information about subnet groups, go toAmazon Redshift Cluster Subnet Groups in the Amazon Redshift Management Guide.

Declaration Syntax
C#
public class CreateClusterSubnetGroupRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CreateClusterSubnetGroupRequest()()()()
Initializes a new instance of the CreateClusterSubnetGroupRequest class

ClusterSubnetGroupName
Gets and sets the property ClusterSubnetGroupName.

The name for the subnet 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 subnet groups that are created by your AWS account.

Example:

CopyC#
examplesubnetgroup


Description
Gets and sets the property Description.

A description for the subnet group.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
SubnetIds
Gets and sets the property SubnetIds.

An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithClusterSubnetGroupName(String) Obsolete.
Sets the ClusterSubnetGroupName property

WithDescription(String) Obsolete.
Sets the Description property

WithSubnetIds(array<String>[]()[][]) Obsolete.
Sets the SubnetIds property

WithSubnetIds(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the SubnetIds property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 CreateClusterSubnetGroupRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)