Class CfnClusterSubnetGroup
A CloudFormation AWS::Redshift::ClusterSubnetGroup
.
Inherited Members
Namespace: Amazon.CDK.AWS.Redshift
Assembly: Amazon.CDK.AWS.Redshift.dll
Syntax (csharp)
public class CfnClusterSubnetGroup : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnClusterSubnetGroup
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies an Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud ( Amazon VPC ) when creating Amazon Redshift subnet group.
For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide .
CloudformationResource: AWS::Redshift::ClusterSubnetGroup
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;
var cfnClusterSubnetGroup = new CfnClusterSubnetGroup(this, "MyCfnClusterSubnetGroup", new CfnClusterSubnetGroupProps {
Description = "description",
SubnetIds = new [] { "subnetIds" },
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnClusterSubnetGroup(Construct, String, ICfnClusterSubnetGroupProps) | Create a new |
CfnClusterSubnetGroup(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnClusterSubnetGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrClusterSubnetGroupName | The name of the cluster subnet group. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | A description for the subnet group. |
SubnetIds | An array of VPC subnet IDs. |
Tags | Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnClusterSubnetGroup(Construct, String, ICfnClusterSubnetGroupProps)
Create a new AWS::Redshift::ClusterSubnetGroup
.
public CfnClusterSubnetGroup(Construct scope, string id, ICfnClusterSubnetGroupProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnClusterSubnetGroupProps
- resource properties.
CfnClusterSubnetGroup(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnClusterSubnetGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnClusterSubnetGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnClusterSubnetGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrClusterSubnetGroupName
The name of the cluster subnet group.
public virtual string AttrClusterSubnetGroupName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ClusterSubnetGroupName
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
A description for the subnet group.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
SubnetIds
An array of VPC subnet IDs.
public virtual string[] SubnetIds { get; set; }
Property Value
System.String[]
Remarks
A maximum of 20 subnets can be modified in a single request.
Tags
Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group.
public virtual TagManager Tags { get; }
Property Value
Remarks
Use tags to manage your resources.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>