Show / Hide Table of Contents

Class CfnDBSecurityGroup.IngressProperty

The Ingress property type specifies an individual ingress rule within an AWS::RDS::DBSecurityGroup resource.

Inheritance
object
CfnDBSecurityGroup.IngressProperty
Implements
CfnDBSecurityGroup.IIngressProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDBSecurityGroup.IngressProperty : CfnDBSecurityGroup.IIngressProperty
Syntax (vb)
Public Class CfnDBSecurityGroup.IngressProperty Implements CfnDBSecurityGroup.IIngressProperty
Remarks
EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <em>Amazon EC2 User Guide</em> , the blog <a href="https://docs.aws.amazon.com/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring – Here’s How to Prepare</a> , and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC into a VPC</a> in the <em>Amazon RDS User Guide</em> .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbsecuritygroup-ingress.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.RDS;

             var ingressProperty = new IngressProperty {
                 Cidrip = "cidrip",
                 Ec2SecurityGroupId = "ec2SecurityGroupId",
                 Ec2SecurityGroupName = "ec2SecurityGroupName",
                 Ec2SecurityGroupOwnerId = "ec2SecurityGroupOwnerId"
             };

Synopsis

Constructors

IngressProperty()

The Ingress property type specifies an individual ingress rule within an AWS::RDS::DBSecurityGroup resource.

Properties

Cidrip

The IP range to authorize.

Ec2SecurityGroupId

Id of the EC2 security group to authorize.

Ec2SecurityGroupName

Name of the EC2 security group to authorize.

Ec2SecurityGroupOwnerId

AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter.

Constructors

IngressProperty()

The Ingress property type specifies an individual ingress rule within an AWS::RDS::DBSecurityGroup resource.

public IngressProperty()
Remarks
EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <em>Amazon EC2 User Guide</em> , the blog <a href="https://docs.aws.amazon.com/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring – Here’s How to Prepare</a> , and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC into a VPC</a> in the <em>Amazon RDS User Guide</em> .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbsecuritygroup-ingress.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.RDS;

             var ingressProperty = new IngressProperty {
                 Cidrip = "cidrip",
                 Ec2SecurityGroupId = "ec2SecurityGroupId",
                 Ec2SecurityGroupName = "ec2SecurityGroupName",
                 Ec2SecurityGroupOwnerId = "ec2SecurityGroupOwnerId"
             };

Properties

Cidrip

The IP range to authorize.

public string? Cidrip { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbsecuritygroup-ingress.html#cfn-rds-dbsecuritygroup-ingress-cidrip

Ec2SecurityGroupId

Id of the EC2 security group to authorize.

public string? Ec2SecurityGroupId { get; set; }
Property Value

string

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbsecuritygroup-ingress.html#cfn-rds-dbsecuritygroup-ingress-ec2securitygroupid

Ec2SecurityGroupName

Name of the EC2 security group to authorize.

public string? Ec2SecurityGroupName { get; set; }
Property Value

string

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbsecuritygroup-ingress.html#cfn-rds-dbsecuritygroup-ingress-ec2securitygroupname

Ec2SecurityGroupOwnerId

AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter.

public string? Ec2SecurityGroupOwnerId { get; set; }
Property Value

string

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbsecuritygroup-ingress.html#cfn-rds-dbsecuritygroup-ingress-ec2securitygroupownerid

Implements

CfnDBSecurityGroup.IIngressProperty
Back to top Generated by DocFX