CfnDBSecurityGroupProps Struct
Properties for defining a CfnDBSecurityGroup.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const cfnDBSecurityGroupProps: rds.CfnDBSecurityGroupProps = {
dbSecurityGroupIngress: [{
cidrip: 'cidrip',
ec2SecurityGroupId: 'ec2SecurityGroupId',
ec2SecurityGroupName: 'ec2SecurityGroupName',
ec2SecurityGroupOwnerId: 'ec2SecurityGroupOwnerId',
}],
groupDescription: 'groupDescription',
// the properties below are optional
ec2VpcId: 'ec2VpcId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
dbSecurityGroupIngressIResolvable | IResolvable | CfnDBSecurityGroup.IngressProperty[]db_security_group_ingresstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, IngressProperty]]]dbSecurityGroupIngressIResolvableDbSecurityGroupIngressIResolvableDbSecurityGroupIngressinterface{}required#Ingress rules to be applied to the DB security group.
ec2VpcIdoptionalstringec2_vpc_idoptionalstrec2VpcIdoptionalStringEc2VpcIdoptionalstringEc2VpcIdoptional*string#The identifier of an Amazon virtual private cloud (VPC).
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.
groupDescriptionstringgroup_descriptionstrgroupDescriptionStringGroupDescriptionstringGroupDescription*stringrequired#Provides the description of the DB security group.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
notes
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 .