CfnDBSecurityGroupIngressMixinProps
- class aws_cdk.mixins_preview.aws_rds.mixins.CfnDBSecurityGroupIngressMixinProps(*, cidrip=None, db_security_group_name=None, ec2_security_group_id=None, ec2_security_group_name=None, ec2_security_group_owner_id=None)
Bases:
objectProperties for CfnDBSecurityGroupIngressPropsMixin.
- Parameters:
cidrip (
Optional[str]) – The IP range to authorize.db_security_group_name (
Optional[str]) – The name of the DB security group to add authorization to.ec2_security_group_id (
Optional[str]) – Id of the EC2 security group to authorize. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.ec2_security_group_name (
Optional[str]) – Name of the EC2 security group to authorize. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.ec2_security_group_owner_id (
Optional[str]) – AWS account number of the owner of the EC2 security group specified in theEC2SecurityGroupNameparameter. The AWS access key ID isn’t an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.
- See:
- 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_ingress_mixin_props = rds_mixins.CfnDBSecurityGroupIngressMixinProps( cidrip="cidrip", db_security_group_name="dbSecurityGroupName", ec2_security_group_id="ec2SecurityGroupId", ec2_security_group_name="ec2SecurityGroupName", ec2_security_group_owner_id="ec2SecurityGroupOwnerId" )
Attributes
- cidrip
The IP range to authorize.
- db_security_group_name
The name of the DB security group to add authorization to.
- ec2_security_group_id
Id of the EC2 security group to authorize.
For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.
- ec2_security_group_name
Name of the EC2 security group to authorize.
For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.
- ec2_security_group_owner_id
AWS account number of the owner of the EC2 security group specified in the
EC2SecurityGroupNameparameter.The AWS access key ID isn’t an acceptable value. For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.