@Stability(value=Stable) public static final class CfnDBSecurityGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnDBSecurityGroup>
CfnDBSecurityGroup.| Modifier and Type | Method and Description |
|---|---|
CfnDBSecurityGroup |
build() |
static CfnDBSecurityGroup.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDBSecurityGroup.Builder |
dbSecurityGroupIngress(IResolvable dbSecurityGroupIngress)
Ingress rules to be applied to the DB security group.
|
CfnDBSecurityGroup.Builder |
dbSecurityGroupIngress(List<? extends Object> dbSecurityGroupIngress)
Ingress rules to be applied to the DB security group.
|
CfnDBSecurityGroup.Builder |
ec2VpcId(String ec2VpcId)
The identifier of an Amazon VPC.
|
CfnDBSecurityGroup.Builder |
groupDescription(String groupDescription)
Provides the description of the DB security group.
|
CfnDBSecurityGroup.Builder |
tags(List<? extends CfnTag> tags)
Tags to assign to the DB security group.
|
@Stability(value=Stable) public static CfnDBSecurityGroup.Builder create(software.constructs.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.CfnDBSecurityGroup.IngressProperty.Builder.@Stability(value=Stable) public CfnDBSecurityGroup.Builder dbSecurityGroupIngress(IResolvable dbSecurityGroupIngress)
dbSecurityGroupIngress - Ingress rules to be applied to the DB security group. This parameter is required.this@Stability(value=Stable) public CfnDBSecurityGroup.Builder dbSecurityGroupIngress(List<? extends Object> dbSecurityGroupIngress)
dbSecurityGroupIngress - Ingress rules to be applied to the DB security group. This parameter is required.this@Stability(value=Stable) public CfnDBSecurityGroup.Builder groupDescription(String groupDescription)
groupDescription - Provides the description of the DB security group. This parameter is required.this@Stability(value=Stable) public CfnDBSecurityGroup.Builder ec2VpcId(String ec2VpcId)
The
EC2VpcIdproperty is for backward compatibility with older regions, and is no longer recommended for providing security information to an RDS DB instance.
ec2VpcId - The identifier of an Amazon VPC. This property indicates the VPC that this DB security group belongs to. This parameter is required.this@Stability(value=Stable) public CfnDBSecurityGroup.Builder tags(List<? extends CfnTag> tags)
tags - Tags to assign to the DB security group. This parameter is required.this@Stability(value=Stable) public CfnDBSecurityGroup build()
build in interface software.amazon.jsii.Builder<CfnDBSecurityGroup>Copyright © 2022. All rights reserved.