Interface CfnDBSecurityGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBSecurityGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.059Z")
@Stability(Stable)
public interface CfnDBSecurityGroupProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDBSecurityGroup.
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.*;
CfnDBSecurityGroupProps cfnDBSecurityGroupProps = CfnDBSecurityGroupProps.builder()
.dbSecurityGroupIngress(List.of(IngressProperty.builder()
.cidrip("cidrip")
.ec2SecurityGroupId("ec2SecurityGroupId")
.ec2SecurityGroupName("ec2SecurityGroupName")
.ec2SecurityGroupOwnerId("ec2SecurityGroupOwnerId")
.build()))
.groupDescription("groupDescription")
// the properties below are optional
.ec2VpcId("ec2VpcId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDBSecurityGroupPropsstatic final classAn implementation forCfnDBSecurityGroupProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDbSecurityGroupIngress
Ingress rules to be applied to the DB security group. -
getGroupDescription
Provides the description of the DB security group. -
getEc2VpcId
The identifier of an Amazon VPC. This property indicates the VPC that this DB security group belongs to.The
EC2VpcIdproperty is for backward compatibility with older regions, and is no longer recommended for providing security information to an RDS DB instance. -
getTags
An optional array of key-value pairs to apply to this DB security group. -
builder
- Returns:
- a
CfnDBSecurityGroupProps.BuilderofCfnDBSecurityGroupProps
-