CfnDBSecurityGroupMixinProps

class aws_cdk.mixins_preview.aws_rds.mixins.CfnDBSecurityGroupMixinProps(*, db_security_group_ingress=None, ec2_vpc_id=None, group_description=None, tags=None)

Bases: object

Properties for CfnDBSecurityGroupPropsMixin.

Parameters:
  • db_security_group_ingress (Union[IResolvable, Sequence[Union[IResolvable, IngressProperty, Dict[str, Any]]], None]) – Ingress rules to be applied to 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.

  • group_description (Optional[str]) – Provides the description of the DB security group.

  • 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.mixins_preview.aws_rds import mixins as rds_mixins

cfn_dBSecurity_group_mixin_props = rds_mixins.CfnDBSecurityGroupMixinProps(
    db_security_group_ingress=[rds_mixins.CfnDBSecurityGroupPropsMixin.IngressProperty(
        cidrip="cidrip",
        ec2_security_group_id="ec2SecurityGroupId",
        ec2_security_group_name="ec2SecurityGroupName",
        ec2_security_group_owner_id="ec2SecurityGroupOwnerId"
    )],
    ec2_vpc_id="ec2VpcId",
    group_description="groupDescription",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

db_security_group_ingress

Ingress rules to be applied to the DB security group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroup.html#cfn-rds-dbsecuritygroup-dbsecuritygroupingress

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.
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroup.html#cfn-rds-dbsecuritygroup-ec2vpcid

group_description

Provides the description of the DB security group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroup.html#cfn-rds-dbsecuritygroup-groupdescription

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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroup.html#cfn-rds-dbsecuritygroup-tags