Show / Hide Table of Contents

Class ClusterSubnetGroupProps

(experimental) Properties for creating a ClusterSubnetGroup.

Inheritance
System.Object
ClusterSubnetGroupProps
Implements
IClusterSubnetGroupProps
Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.dll
Syntax (csharp)
public class ClusterSubnetGroupProps : Object, IClusterSubnetGroupProps
Syntax (vb)
Public Class ClusterSubnetGroupProps
    Inherits Object
    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()

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()

public ClusterSubnetGroupProps()

Properties

Description

(experimental) Description of the subnet group.

public string Description { get; set; }
Property Value

System.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 Nullable<RemovalPolicy> RemovalPolicy { get; set; }
Property Value

System.Nullable<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