Interface CfnDBSecurityGroupIngressProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBSecurityGroupIngressProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:43.750Z")
@Stability(Stable)
public interface CfnDBSecurityGroupIngressProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDBSecurityGroupIngress.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rds.*;
CfnDBSecurityGroupIngressProps cfnDBSecurityGroupIngressProps = CfnDBSecurityGroupIngressProps.builder()
.dbSecurityGroupName("dbSecurityGroupName")
// the properties below are optional
.cidrip("cidrip")
.ec2SecurityGroupId("ec2SecurityGroupId")
.ec2SecurityGroupName("ec2SecurityGroupName")
.ec2SecurityGroupOwnerId("ec2SecurityGroupOwnerId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDBSecurityGroupIngressPropsstatic final classAn implementation forCfnDBSecurityGroupIngressProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe IP range to authorize.The name of the DB security group to add authorization to.default StringId of the EC2 security group to authorize.default StringName of the EC2 security group to authorize.default StringAWS account number of the owner of the EC2 security group specified in theEC2SecurityGroupNameparameter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDbSecurityGroupName
The name of the DB security group to add authorization to.- See Also:
-
getCidrip
The IP range to authorize.- See Also:
-
getEc2SecurityGroupId
Id of the EC2 security group to authorize.For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- See Also:
-
getEc2SecurityGroupName
Name of the EC2 security group to authorize.For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- See Also:
-
getEc2SecurityGroupOwnerId
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 Also:
-
builder
-