1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. redshift
  5. ClusterSubnetGroup

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.redshift.ClusterSubnetGroup

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Specifies an Amazon Redshift subnet group.

Create ClusterSubnetGroup Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ClusterSubnetGroup(name: string, args: ClusterSubnetGroupArgs, opts?: CustomResourceOptions);
@overload
def ClusterSubnetGroup(resource_name: str,
                       args: ClusterSubnetGroupArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def ClusterSubnetGroup(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       description: Optional[str] = None,
                       subnet_ids: Optional[Sequence[str]] = None,
                       tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewClusterSubnetGroup(ctx *Context, name string, args ClusterSubnetGroupArgs, opts ...ResourceOption) (*ClusterSubnetGroup, error)
public ClusterSubnetGroup(string name, ClusterSubnetGroupArgs args, CustomResourceOptions? opts = null)
public ClusterSubnetGroup(String name, ClusterSubnetGroupArgs args)
public ClusterSubnetGroup(String name, ClusterSubnetGroupArgs args, CustomResourceOptions options)
type: aws-native:redshift:ClusterSubnetGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ClusterSubnetGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ClusterSubnetGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ClusterSubnetGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ClusterSubnetGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ClusterSubnetGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ClusterSubnetGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ClusterSubnetGroup resource accepts the following input properties:

Description This property is required. string
The description of the parameter group.
SubnetIds This property is required. List<string>
The list of VPC subnet IDs
Tags List<Pulumi.AwsNative.Inputs.Tag>
The list of tags for the cluster parameter group.
Description This property is required. string
The description of the parameter group.
SubnetIds This property is required. []string
The list of VPC subnet IDs
Tags TagArgs
The list of tags for the cluster parameter group.
description This property is required. String
The description of the parameter group.
subnetIds This property is required. List<String>
The list of VPC subnet IDs
tags List<Tag>
The list of tags for the cluster parameter group.
description This property is required. string
The description of the parameter group.
subnetIds This property is required. string[]
The list of VPC subnet IDs
tags Tag[]
The list of tags for the cluster parameter group.
description This property is required. str
The description of the parameter group.
subnet_ids This property is required. Sequence[str]
The list of VPC subnet IDs
tags Sequence[TagArgs]
The list of tags for the cluster parameter group.
description This property is required. String
The description of the parameter group.
subnetIds This property is required. List<String>
The list of VPC subnet IDs
tags List<Property Map>
The list of tags for the cluster parameter group.

Outputs

All input properties are implicitly available as output properties. Additionally, the ClusterSubnetGroup resource produces the following output properties:

ClusterSubnetGroupName string
This name must be unique for all subnet groups that are created by your AWS account. If costumer do not provide it, cloudformation will generate it. Must not be "Default".
Id string
The provider-assigned unique ID for this managed resource.
ClusterSubnetGroupName string
This name must be unique for all subnet groups that are created by your AWS account. If costumer do not provide it, cloudformation will generate it. Must not be "Default".
Id string
The provider-assigned unique ID for this managed resource.
clusterSubnetGroupName String
This name must be unique for all subnet groups that are created by your AWS account. If costumer do not provide it, cloudformation will generate it. Must not be "Default".
id String
The provider-assigned unique ID for this managed resource.
clusterSubnetGroupName string
This name must be unique for all subnet groups that are created by your AWS account. If costumer do not provide it, cloudformation will generate it. Must not be "Default".
id string
The provider-assigned unique ID for this managed resource.
cluster_subnet_group_name str
This name must be unique for all subnet groups that are created by your AWS account. If costumer do not provide it, cloudformation will generate it. Must not be "Default".
id str
The provider-assigned unique ID for this managed resource.
clusterSubnetGroupName String
This name must be unique for all subnet groups that are created by your AWS account. If costumer do not provide it, cloudformation will generate it. Must not be "Default".
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi