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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDBSecurityGroupIngressProps
static final class
An implementation forCfnDBSecurityGroupIngressProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The IP range to authorize.The name of the DB security group to add authorization to.default String
Id of the EC2 security group to authorize.default String
Name of the EC2 security group to authorize.default String
AWS account number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter.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,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided. -
getEc2SecurityGroupName
Name of the EC2 security group to authorize.For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided. -
getEc2SecurityGroupOwnerId
AWS account number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter.The AWS access key ID isn't an acceptable value. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided. -
builder
-