Show / Hide Table of Contents

Class CfnDBSecurityGroupProps

Properties for defining a CfnDBSecurityGroup.

Inheritance
object
CfnDBSecurityGroupProps
Implements
ICfnDBSecurityGroupProps
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 CfnDBSecurityGroupProps : ICfnDBSecurityGroupProps
Syntax (vb)
Public Class CfnDBSecurityGroupProps Implements ICfnDBSecurityGroupProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroup.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 cfnDBSecurityGroupProps = new CfnDBSecurityGroupProps {
                 DbSecurityGroupIngress = new [] { new IngressProperty {
                     Cidrip = "cidrip",
                     Ec2SecurityGroupId = "ec2SecurityGroupId",
                     Ec2SecurityGroupName = "ec2SecurityGroupName",
                     Ec2SecurityGroupOwnerId = "ec2SecurityGroupOwnerId"
                 } },
                 GroupDescription = "groupDescription",

                 // the properties below are optional
                 Ec2VpcId = "ec2VpcId",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnDBSecurityGroupProps()

Properties for defining a CfnDBSecurityGroup.

Properties

DbSecurityGroupIngress

Ingress rules to be applied to the DB security group.

Ec2VpcId

The identifier of an Amazon virtual private cloud (VPC).

GroupDescription

Provides the description of the DB security group.

Tags

Metadata assigned to an Amazon RDS resource consisting of a key-value pair.

Constructors

CfnDBSecurityGroupProps()

Properties for defining a CfnDBSecurityGroup.

public CfnDBSecurityGroupProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroup.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 cfnDBSecurityGroupProps = new CfnDBSecurityGroupProps {
                 DbSecurityGroupIngress = new [] { new IngressProperty {
                     Cidrip = "cidrip",
                     Ec2SecurityGroupId = "ec2SecurityGroupId",
                     Ec2SecurityGroupName = "ec2SecurityGroupName",
                     Ec2SecurityGroupOwnerId = "ec2SecurityGroupOwnerId"
                 } },
                 GroupDescription = "groupDescription",

                 // the properties below are optional
                 Ec2VpcId = "ec2VpcId",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

DbSecurityGroupIngress

Ingress rules to be applied to the DB security group.

public object DbSecurityGroupIngress { get; set; }
Property Value

object

Remarks

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

Ec2VpcId

The identifier of an Amazon virtual private cloud (VPC).

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

string

Remarks

This property indicates the VPC that this DB security group belongs to.

This property is included for backwards compatibility and is no longer recommended for providing security information to an RDS DB instance.

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

GroupDescription

Provides the description of the DB security group.

public string GroupDescription { get; set; }
Property Value

string

Remarks

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

Tags

Metadata assigned to an Amazon RDS resource consisting of a key-value pair.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide .

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

Implements

ICfnDBSecurityGroupProps
Back to top Generated by DocFX