@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.423Z") @Stability(value=Stable) public interface CfnDBSecurityGroupIngressProps 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.*;
CfnDBSecurityGroupIngressProps cfnDBSecurityGroupIngressProps = CfnDBSecurityGroupIngressProps.builder()
.dbSecurityGroupName("dbSecurityGroupName")
// the properties below are optional
.cidrip("cidrip")
.ec2SecurityGroupId("ec2SecurityGroupId")
.ec2SecurityGroupName("ec2SecurityGroupName")
.ec2SecurityGroupOwnerId("ec2SecurityGroupOwnerId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDBSecurityGroupIngressProps.Builder
A builder for
CfnDBSecurityGroupIngressProps |
static class |
CfnDBSecurityGroupIngressProps.Jsii$Proxy
An implementation for
CfnDBSecurityGroupIngressProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDBSecurityGroupIngressProps.Builder |
builder() |
default String |
getCidrip()
The IP range to authorize.
|
String |
getDbSecurityGroupName()
The name of the DB security group to add authorization to.
|
default String |
getEc2SecurityGroupId()
Id of the EC2 security group to authorize.
|
default String |
getEc2SecurityGroupName()
Name of the EC2 security group to authorize.
|
default String |
getEc2SecurityGroupOwnerId()
AWS account number of the owner of the EC2 security group specified in the `EC2SecurityGroupName` parameter.
|
@Stability(value=Stable) @NotNull String getDbSecurityGroupName()
@Stability(value=Stable) @Nullable default String getCidrip()
@Stability(value=Stable) @Nullable default String getEc2SecurityGroupId()
For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
@Stability(value=Stable) @Nullable default String getEc2SecurityGroupName()
For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
@Stability(value=Stable) @Nullable default String getEc2SecurityGroupOwnerId()
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.
@Stability(value=Stable) static CfnDBSecurityGroupIngressProps.Builder builder()
Copyright © 2022. All rights reserved.