Interface ICfnDBSecurityGroupProps
Properties for defining a CfnDBSecurityGroup
.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public interface ICfnDBSecurityGroupProps
Syntax (vb)
Public Interface ICfnDBSecurityGroupProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-security-group.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
Properties
DbSecurityGroupIngress | Ingress rules to be applied to the DB security group. |
Ec2VpcId | The identifier of an Amazon VPC. This property indicates the VPC that this DB security group belongs to. |
GroupDescription | Provides the description of the DB security group. |
Tags | An optional array of key-value pairs to apply to this DB security group. |
Properties
DbSecurityGroupIngress
Ingress rules to be applied to the DB security group.
object DbSecurityGroupIngress { get; }
Property Value
System.Object
Remarks
Ec2VpcId
The identifier of an Amazon VPC. This property indicates the VPC that this DB security group belongs to.
virtual string Ec2VpcId { get; }
Property Value
System.String
Remarks
The EC2VpcId
property is for backward compatibility with older regions, and is no longer recommended for providing security information to an RDS DB instance.
GroupDescription
Provides the description of the DB security group.
string GroupDescription { get; }
Property Value
System.String
Remarks
Tags
An optional array of key-value pairs to apply to this DB security group.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]