Interface IClusterSubnetGroupProps
(experimental) Properties for creating a ClusterSubnetGroup.
Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.dll
Syntax (csharp)
public interface IClusterSubnetGroupProps
Syntax (vb)
Public Interface 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
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. |
Properties
Description
(experimental) Description of the subnet group.
string Description { get; }
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.
virtual Nullable<RemovalPolicy> RemovalPolicy { get; }
Property Value
System.Nullable<RemovalPolicy>
Remarks
Default: RemovalPolicy.RETAIN
Stability: Experimental
Vpc
(experimental) The VPC to place the subnet group in.
IVpc Vpc { get; }
Property Value
Remarks
Stability: Experimental
VpcSubnets
(experimental) Which subnets within the VPC to associate with this group.
virtual ISubnetSelection VpcSubnets { get; }
Property Value
Remarks
Default: - private subnets
Stability: Experimental