Interface ICfnDBSecurityGroupProps
Properties for defining a CfnDBSecurityGroup.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnDBSecurityGroupProps
Syntax (vb)
Public Interface 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
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. |
Properties
DbSecurityGroupIngress
Ingress rules to be applied to the DB security group.
object DbSecurityGroupIngress { get; }
Property Value
Remarks
Ec2VpcId
The identifier of an Amazon virtual private cloud (VPC).
string? Ec2VpcId { get; }
Property Value
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.
string GroupDescription { get; }
Property Value
Remarks
Tags
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
ICfnTag[]? Tags { get; }
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 .