@Stability(value=Stable) public static final class CfnDBSecurityGroupIngress.Builder extends Object implements software.amazon.jsii.Builder<CfnDBSecurityGroupIngress>
CfnDBSecurityGroupIngress
.Modifier and Type | Method and Description |
---|---|
CfnDBSecurityGroupIngress |
build() |
CfnDBSecurityGroupIngress.Builder |
cidrip(String cidrip)
The IP range to authorize.
|
static CfnDBSecurityGroupIngress.Builder |
create(Construct scope,
String id) |
CfnDBSecurityGroupIngress.Builder |
dbSecurityGroupName(String dbSecurityGroupName)
The name of the DB security group to add authorization to.
|
CfnDBSecurityGroupIngress.Builder |
ec2SecurityGroupId(String ec2SecurityGroupId)
Id of the EC2 security group to authorize.
|
CfnDBSecurityGroupIngress.Builder |
ec2SecurityGroupName(String ec2SecurityGroupName)
Name of the EC2 security group to authorize.
|
CfnDBSecurityGroupIngress.Builder |
ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId)
AWS account number of the owner of the EC2 security group specified in the `EC2SecurityGroupName` parameter.
|
@Stability(value=Stable) public static CfnDBSecurityGroupIngress.Builder create(Construct scope, String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnDBSecurityGroupIngress.Builder
.@Stability(value=Stable) public CfnDBSecurityGroupIngress.Builder dbSecurityGroupName(String dbSecurityGroupName)
dbSecurityGroupName
- The name of the DB security group to add authorization to. This parameter is required.this
@Stability(value=Stable) public CfnDBSecurityGroupIngress.Builder cidrip(String cidrip)
cidrip
- The IP range to authorize. This parameter is required.this
@Stability(value=Stable) public CfnDBSecurityGroupIngress.Builder ec2SecurityGroupId(String ec2SecurityGroupId)
For VPC DB security groups, EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId
and either EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
ec2SecurityGroupId
- Id of the EC2 security group to authorize. This parameter is required.this
@Stability(value=Stable) public CfnDBSecurityGroupIngress.Builder ec2SecurityGroupName(String ec2SecurityGroupName)
For VPC DB security groups, EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId
and either EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
ec2SecurityGroupName
- Name of the EC2 security group to authorize. This parameter is required.this
@Stability(value=Stable) public CfnDBSecurityGroupIngress.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId)
The AWS access key ID isn't an acceptable value. For VPC DB security groups, EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId
and either EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
ec2SecurityGroupOwnerId
- AWS account number of the owner of the EC2 security group specified in the `EC2SecurityGroupName` parameter. This parameter is required.this
@Stability(value=Stable) public CfnDBSecurityGroupIngress build()
build
in interface software.amazon.jsii.Builder<CfnDBSecurityGroupIngress>
Copyright © 2023. All rights reserved.