CfnDBSecurityGroupProps
- class aws_cdk.aws_rds.CfnDBSecurityGroupProps(*, db_security_group_ingress, group_description, ec2_vpc_id=None, tags=None)
Bases:
object
Properties for defining a
CfnDBSecurityGroup
.- Parameters:
db_security_group_ingress (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,IngressProperty
,Dict
[str
,Any
]]]]) – Ingress rules to be applied to the DB security group.group_description (
str
) – Provides the description of the DB security group.ec2_vpc_id (
Optional
[str
]) – The identifier of an Amazon virtual private cloud (VPC). This property indicates the VPC that this DB security group belongs to. .. epigraph:: This property is included for backwards compatibility and is no longer recommended for providing security information to an RDS DB instance.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – Metadata assigned to an Amazon RDS resource consisting of a key-value pair. 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 .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroup.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_rds as rds cfn_dBSecurity_group_props = rds.CfnDBSecurityGroupProps( db_security_group_ingress=[rds.CfnDBSecurityGroup.IngressProperty( cidrip="cidrip", ec2_security_group_id="ec2SecurityGroupId", ec2_security_group_name="ec2SecurityGroupName", ec2_security_group_owner_id="ec2SecurityGroupOwnerId" )], group_description="groupDescription", # the properties below are optional ec2_vpc_id="ec2VpcId", tags=[CfnTag( key="key", value="value" )] )
Attributes
- db_security_group_ingress
Ingress rules to be applied to the DB security group.
- ec2_vpc_id
The identifier of an Amazon virtual private cloud (VPC).
This property indicates the VPC that this DB security group belongs to. .. epigraph:
This property is included for backwards compatibility and is no longer recommended for providing security information to an RDS DB instance.
- group_description
Provides the description of the DB security group.
- tags
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
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 .