Class CfnDBSecurityGroupIngressPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rds.CfnDBSecurityGroupIngressPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBSecurityGroupIngressPropsMixin>
- Enclosing class:
CfnDBSecurityGroupIngressPropsMixin
@Stability(Stable)
public static final class CfnDBSecurityGroupIngressPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBSecurityGroupIngressPropsMixin>
A fluent builder for
CfnDBSecurityGroupIngressPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The IP range to authorize.create()create(CfnPropertyMixinOptions options) dbSecurityGroupName(String dbSecurityGroupName) The name of the DB security group to add authorization to.ec2SecurityGroupId(String ec2SecurityGroupId) Id of the EC2 security group to authorize.ec2SecurityGroupName(String ec2SecurityGroupName) Name of the EC2 security group to authorize.ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) AWS account number of the owner of the EC2 security group specified in theEC2SecurityGroupNameparameter.
-
Method Details
-
create
@Stability(Stable) public static CfnDBSecurityGroupIngressPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDBSecurityGroupIngressPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDBSecurityGroupIngressPropsMixin.Builder.
-
cidrip
The IP range to authorize.- Parameters:
cidrip- The IP range to authorize. This parameter is required.- Returns:
this- See Also:
-
dbSecurityGroupName
@Stability(Stable) public CfnDBSecurityGroupIngressPropsMixin.Builder dbSecurityGroupName(String dbSecurityGroupName) The name of the DB security group to add authorization to.- Parameters:
dbSecurityGroupName- The name of the DB security group to add authorization to. This parameter is required.- Returns:
this- See Also:
-
ec2SecurityGroupId
@Stability(Stable) public CfnDBSecurityGroupIngressPropsMixin.Builder ec2SecurityGroupId(String ec2SecurityGroupId) Id of the EC2 security group to authorize.For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
ec2SecurityGroupId- Id of the EC2 security group to authorize. This parameter is required.- Returns:
this- See Also:
-
ec2SecurityGroupName
@Stability(Stable) public CfnDBSecurityGroupIngressPropsMixin.Builder ec2SecurityGroupName(String ec2SecurityGroupName) Name of the EC2 security group to authorize.For VPC DB security groups,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
ec2SecurityGroupName- Name of the EC2 security group to authorize. This parameter is required.- Returns:
this- See Also:
-
ec2SecurityGroupOwnerId
@Stability(Stable) public CfnDBSecurityGroupIngressPropsMixin.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) 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.- Parameters:
ec2SecurityGroupOwnerId- AWS account number of the owner of the EC2 security group specified in theEC2SecurityGroupNameparameter. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBSecurityGroupIngressPropsMixin>- Returns:
- a newly built instance of
CfnDBSecurityGroupIngressPropsMixin.
-