Interface ICfnDBSecurityGroupIngressProps
Properties for defining a CfnDBSecurityGroupIngress
.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnDBSecurityGroupIngressProps
Syntax (vb)
Public Interface ICfnDBSecurityGroupIngressProps
Remarks
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
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 |
Properties
Cidrip
The IP range to authorize.
virtual string Cidrip { get; }
Property Value
System.String
Remarks
DbSecurityGroupName
The name of the DB security group to add authorization to.
string DbSecurityGroupName { get; }
Property Value
System.String
Remarks
Ec2SecurityGroupId
Id of the EC2 security group to authorize.
virtual string Ec2SecurityGroupId { get; }
Property Value
System.String
Remarks
For VPC DB security groups, EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId
and either EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
Ec2SecurityGroupName
Name of the EC2 security group to authorize.
virtual string Ec2SecurityGroupName { get; }
Property Value
System.String
Remarks
For VPC DB security groups, EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId
and either EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
Ec2SecurityGroupOwnerId
AWS account number of the owner of the EC2 security group specified in the EC2SecurityGroupName
parameter.
virtual string Ec2SecurityGroupOwnerId { get; }
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.