Class CfnClusterSecurityGroup
A CloudFormation AWS::Redshift::ClusterSecurityGroup
.
Inherited Members
Namespace: Amazon.CDK.AWS.Redshift
Assembly: Amazon.CDK.AWS.Redshift.dll
Syntax (csharp)
public class CfnClusterSecurityGroup : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnClusterSecurityGroup
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.
For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide .
CloudformationResource: AWS::Redshift::ClusterSecurityGroup
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 cfnClusterSecurityGroup = new CfnClusterSecurityGroup(this, "MyCfnClusterSecurityGroup", new CfnClusterSecurityGroupProps {
Description = "description",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnClusterSecurityGroup(Construct, String, ICfnClusterSecurityGroupProps) | Create a new |
CfnClusterSecurityGroup(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnClusterSecurityGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | A description for the security group. |
Tags | Specifies an arbitrary set of tags (key–value pairs) to associate with this security group. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnClusterSecurityGroup(Construct, String, ICfnClusterSecurityGroupProps)
Create a new AWS::Redshift::ClusterSecurityGroup
.
public CfnClusterSecurityGroup(Construct scope, string id, ICfnClusterSecurityGroupProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnClusterSecurityGroupProps
- resource properties.
CfnClusterSecurityGroup(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnClusterSecurityGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnClusterSecurityGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnClusterSecurityGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
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 security group.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
Tags
Specifies an arbitrary set of tags (key–value pairs) to associate with this security 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>