Interface CfnDBSecurityGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBSecurityGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:08.228Z")
@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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDBSecurityGroupProps
static final class
An implementation forCfnDBSecurityGroupProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Ingress rules to be applied to the DB security group.default String
The identifier of an Amazon virtual private cloud (VPC).Provides the description of the DB security group.getTags()
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDbSecurityGroupIngress
Ingress rules to be applied to the DB security group.- See Also:
-
getGroupDescription
Provides the description of the DB security group.- See Also:
-
getEc2VpcId
The identifier of an Amazon virtual private cloud (VPC).This property indicates the VPC that this DB security group belongs to.
This property is included for backwards compatibility and is no longer recommended for providing security information to an RDS DB instance.
- See Also:
-
getTags
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide .
- See Also:
-
builder
- Returns:
- a
CfnDBSecurityGroupProps.Builder
ofCfnDBSecurityGroupProps
-