Interface CfnDBSecurityGroupIngressProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBSecurityGroupIngressProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.057Z")
@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();
-
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. -
getCidrip
The IP range to authorize. -
getEc2SecurityGroupId
Id of the EC2 security group to authorize.For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided. -
getEc2SecurityGroupName
Name of the EC2 security group to authorize.For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided. -
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. -
builder
-