Class ClusterSubnetGroupProps
(experimental) Properties for creating a ClusterSubnetGroup.
Inheritance
Implements
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
Cluster |
Properties
Description | (experimental) Description of the subnet group. |
Removal |
(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. |
Vpc |
(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.
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.
Remarks
Default: RemovalPolicy.RETAIN
Stability: Experimental
Vpc
(experimental) The VPC to place the subnet group in.
public IVpc Vpc { get; set; }
Property Value
Remarks
Stability: Experimental
VpcSubnets
(experimental) Which subnets within the VPC to associate with this group.
public ISubnetSelection VpcSubnets { get; set; }
Property Value
Remarks
Default: - private subnets
Stability: Experimental