Show / Hide Table of Contents

Class ClusterSubnetGroupProps

(experimental) Properties for creating a ClusterSubnetGroup.

Inheritance
object
ClusterSubnetGroupProps
Implements
IClusterSubnetGroupProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.dll
Syntax (csharp)
public class ClusterSubnetGroupProps : IClusterSubnetGroupProps
Syntax (vb)
Public Class ClusterSubnetGroupProps Implements IClusterSubnetGroupProps
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Redshift.Alpha;
             using Amazon.CDK;
             using Amazon.CDK.AWS.EC2;

             Subnet subnet;
             SubnetFilter subnetFilter;
             Vpc vpc;

             var clusterSubnetGroupProps = new ClusterSubnetGroupProps {
                 Description = "description",
                 Vpc = vpc,

                 // the properties below are optional
                 RemovalPolicy = RemovalPolicy.DESTROY,
                 VpcSubnets = new SubnetSelection {
                     AvailabilityZones = new [] { "availabilityZones" },
                     OnePerAz = false,
                     SubnetFilters = new [] { subnetFilter },
                     SubnetGroupName = "subnetGroupName",
                     Subnets = new [] { subnet },
                     SubnetType = SubnetType.PRIVATE_ISOLATED
                 }
             };

Synopsis

Constructors

ClusterSubnetGroupProps()

(experimental) Properties for creating a ClusterSubnetGroup.

Properties

Description

(experimental) Description of the subnet group.

RemovalPolicy

(experimental) The removal policy to apply when the subnet group are removed from the stack or replaced during an update.

Vpc

(experimental) The VPC to place the subnet group in.

VpcSubnets

(experimental) Which subnets within the VPC to associate with this group.

Constructors

ClusterSubnetGroupProps()

(experimental) Properties for creating a ClusterSubnetGroup.

public ClusterSubnetGroupProps()
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Redshift.Alpha;
             using Amazon.CDK;
             using Amazon.CDK.AWS.EC2;

             Subnet subnet;
             SubnetFilter subnetFilter;
             Vpc vpc;

             var clusterSubnetGroupProps = new ClusterSubnetGroupProps {
                 Description = "description",
                 Vpc = vpc,

                 // the properties below are optional
                 RemovalPolicy = RemovalPolicy.DESTROY,
                 VpcSubnets = new SubnetSelection {
                     AvailabilityZones = new [] { "availabilityZones" },
                     OnePerAz = false,
                     SubnetFilters = new [] { subnetFilter },
                     SubnetGroupName = "subnetGroupName",
                     Subnets = new [] { subnet },
                     SubnetType = SubnetType.PRIVATE_ISOLATED
                 }
             };

Properties

Description

(experimental) Description of the subnet group.

public string Description { get; set; }
Property Value

string

Remarks

Stability: Experimental

RemovalPolicy

(experimental) The removal policy to apply when the subnet group are removed from the stack or replaced during an update.

public RemovalPolicy? RemovalPolicy { get; set; }
Property Value

RemovalPolicy?

Remarks

Default: RemovalPolicy.RETAIN

Stability: Experimental

Vpc

(experimental) The VPC to place the subnet group in.

public IVpc Vpc { get; set; }
Property Value

IVpc

Remarks

Stability: Experimental

VpcSubnets

(experimental) Which subnets within the VPC to associate with this group.

public ISubnetSelection? VpcSubnets { get; set; }
Property Value

ISubnetSelection

Remarks

Default: - private subnets

Stability: Experimental

Implements

IClusterSubnetGroupProps
Back to top Generated by DocFX