@Stability(value=Stable)
public static interface CfnDBSecurityGroup.IngressProperty
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.*;
IngressProperty ingressProperty = IngressProperty.builder()
.cidrip("cidrip")
.ec2SecurityGroupId("ec2SecurityGroupId")
.ec2SecurityGroupName("ec2SecurityGroupName")
.ec2SecurityGroupOwnerId("ec2SecurityGroupOwnerId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDBSecurityGroup.IngressProperty.Builder
A builder for
CfnDBSecurityGroup.IngressProperty |
static class |
CfnDBSecurityGroup.IngressProperty.Jsii$Proxy
An implementation for
CfnDBSecurityGroup.IngressProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDBSecurityGroup.IngressProperty.Builder |
builder() |
default String |
getCidrip()
The IP range to authorize.
|
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) @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 CfnDBSecurityGroup.IngressProperty.Builder builder()
Copyright © 2022. All rights reserved.