@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.424Z") @Stability(value=Stable) public interface CfnDBSecurityGroupProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDBSecurityGroupProps.Builder
A builder for
CfnDBSecurityGroupProps |
static class |
CfnDBSecurityGroupProps.Jsii$Proxy
An implementation for
CfnDBSecurityGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDBSecurityGroupProps.Builder |
builder() |
Object |
getDbSecurityGroupIngress()
Ingress rules to be applied to the DB security group.
|
default String |
getEc2VpcId()
The identifier of an Amazon VPC.
|
String |
getGroupDescription()
Provides the description of the DB security group.
|
default List<CfnTag> |
getTags()
Tags to assign to the DB security group.
|
@Stability(value=Stable) @NotNull Object getDbSecurityGroupIngress()
@Stability(value=Stable) @NotNull String getGroupDescription()
@Stability(value=Stable) @Nullable default String getEc2VpcId()
The
EC2VpcIdproperty is for backward compatibility with older regions, and is no longer recommended for providing security information to an RDS DB instance.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnDBSecurityGroupProps.Builder builder()
CfnDBSecurityGroupProps.Builder of CfnDBSecurityGroupPropsCopyright © 2022. All rights reserved.