Interface CfnDBSecurityGroupIngressProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDBSecurityGroupIngressProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.057Z") @Stability(Stable) public interface CfnDBSecurityGroupIngressProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnDBSecurityGroupIngress.

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();
 
  • Method Details

    • getDbSecurityGroupName

      @Stability(Stable) @NotNull String getDbSecurityGroupName()
      The name of the DB security group to add authorization to.
    • getCidrip

      @Stability(Stable) @Nullable default String getCidrip()
      The IP range to authorize.
    • getEc2SecurityGroupId

      @Stability(Stable) @Nullable default String getEc2SecurityGroupId()
      Id of the EC2 security group to authorize.

      For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

    • getEc2SecurityGroupName

      @Stability(Stable) @Nullable default String getEc2SecurityGroupName()
      Name of the EC2 security group to authorize.

      For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

    • getEc2SecurityGroupOwnerId

      @Stability(Stable) @Nullable default String getEc2SecurityGroupOwnerId()
      AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter.

      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.

    • builder

      @Stability(Stable) static CfnDBSecurityGroupIngressProps.Builder builder()
      Returns:
      a CfnDBSecurityGroupIngressProps.Builder of CfnDBSecurityGroupIngressProps