Class CfnDBSecurityGroupProps
Properties for defining a CfnDBSecurityGroup
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDBSecurityGroupProps : Object, ICfnDBSecurityGroupProps
Syntax (vb)
Public Class CfnDBSecurityGroupProps
Inherits Object
Implements ICfnDBSecurityGroupProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroup.html
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.RDS;
var cfnDBSecurityGroupProps = new CfnDBSecurityGroupProps {
DbSecurityGroupIngress = new [] { new IngressProperty {
Cidrip = "cidrip",
Ec2SecurityGroupId = "ec2SecurityGroupId",
Ec2SecurityGroupName = "ec2SecurityGroupName",
Ec2SecurityGroupOwnerId = "ec2SecurityGroupOwnerId"
} },
GroupDescription = "groupDescription",
// the properties below are optional
Ec2VpcId = "ec2VpcId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDBSecurityGroupProps() |
Properties
DbSecurityGroupIngress | Ingress rules to be applied to the DB security group. |
Ec2VpcId | The identifier of an Amazon virtual private cloud (VPC). |
GroupDescription | Provides the description of the DB security group. |
Tags | Metadata assigned to an Amazon RDS resource consisting of a key-value pair. |
Constructors
CfnDBSecurityGroupProps()
public CfnDBSecurityGroupProps()
Properties
DbSecurityGroupIngress
Ingress rules to be applied to the DB security group.
public object DbSecurityGroupIngress { get; set; }
Property Value
System.Object
Remarks
Ec2VpcId
The identifier of an Amazon virtual private cloud (VPC).
public string Ec2VpcId { get; set; }
Property Value
System.String
Remarks
This property indicates the VPC that this DB security group belongs to.
This property is included for backwards compatibility and is no longer recommended for providing security information to an RDS DB instance.
GroupDescription
Provides the description of the DB security group.
public string GroupDescription { get; set; }
Property Value
System.String
Remarks
Tags
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide .