Show / Hide Table of Contents

Class CfnDBSecurityGroupIngressProps

Properties for defining a CfnDBSecurityGroupIngress.

Inheritance
System.Object
CfnDBSecurityGroupIngressProps
Implements
ICfnDBSecurityGroupIngressProps
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDBSecurityGroupIngressProps : Object, ICfnDBSecurityGroupIngressProps
Syntax (vb)
Public Class CfnDBSecurityGroupIngressProps
    Inherits Object
    Implements ICfnDBSecurityGroupIngressProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroupingress.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 cfnDBSecurityGroupIngressProps = new CfnDBSecurityGroupIngressProps {
    DbSecurityGroupName = "dbSecurityGroupName",

    // the properties below are optional
    Cidrip = "cidrip",
    Ec2SecurityGroupId = "ec2SecurityGroupId",
    Ec2SecurityGroupName = "ec2SecurityGroupName",
    Ec2SecurityGroupOwnerId = "ec2SecurityGroupOwnerId"
};

Synopsis

Constructors

CfnDBSecurityGroupIngressProps()

Properties

Cidrip

The IP range to authorize.

DbSecurityGroupName

The name of the DB security group to add authorization to.

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

CfnDBSecurityGroupIngressProps()

public CfnDBSecurityGroupIngressProps()

Properties

Cidrip

The IP range to authorize.

public string Cidrip { get; set; }
Property Value

System.String

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroupingress.html#cfn-rds-dbsecuritygroupingress-cidrip

DbSecurityGroupName

The name of the DB security group to add authorization to.

public string DbSecurityGroupName { get; set; }
Property Value

System.String

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroupingress.html#cfn-rds-dbsecuritygroupingress-dbsecuritygroupname

Ec2SecurityGroupId

Id of the EC2 security group to authorize.

public string Ec2SecurityGroupId { get; set; }
Property Value

System.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-resource-rds-dbsecuritygroupingress.html#cfn-rds-dbsecuritygroupingress-ec2securitygroupid

Ec2SecurityGroupName

Name of the EC2 security group to authorize.

public string Ec2SecurityGroupName { get; set; }
Property Value

System.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-resource-rds-dbsecuritygroupingress.html#cfn-rds-dbsecuritygroupingress-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

System.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-resource-rds-dbsecuritygroupingress.html#cfn-rds-dbsecuritygroupingress-ec2securitygroupownerid

Implements

ICfnDBSecurityGroupIngressProps
Back to top Generated by DocFX