interface CfnDBSecurityGroupProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.RDS.CfnDBSecurityGroupProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#CfnDBSecurityGroupProps |
![]() | software.amazon.awscdk.services.rds.CfnDBSecurityGroupProps |
![]() | aws_cdk.aws_rds.CfnDBSecurityGroupProps |
![]() | aws-cdk-lib » aws_rds » CfnDBSecurityGroupProps |
Properties for defining a CfnDBSecurityGroup
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsecuritygroup.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const cfnDBSecurityGroupProps: rds.CfnDBSecurityGroupProps = {
dbSecurityGroupIngress: [{
cidrip: 'cidrip',
ec2SecurityGroupId: 'ec2SecurityGroupId',
ec2SecurityGroupName: 'ec2SecurityGroupName',
ec2SecurityGroupOwnerId: 'ec2SecurityGroupOwnerId',
}],
groupDescription: 'groupDescription',
// the properties below are optional
ec2VpcId: 'ec2VpcId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
db | IResolvable | IResolvable | Ingress [] | Ingress rules to be applied to the DB security group. |
group | string | Provides the description of the DB security group. |
ec2 | string | The identifier of an Amazon virtual private cloud (VPC). |
tags? | Cfn [] | Metadata assigned to an Amazon RDS resource consisting of a key-value pair. |
dbSecurityGroupIngress
Type:
IResolvable
|
IResolvable
|
Ingress
[]
Ingress rules to be applied to the DB security group.
groupDescription
Type:
string
Provides the description of the DB security group.
ec2VpcId?
Type:
string
(optional)
The identifier of an Amazon virtual private cloud (VPC).
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.
tags?
Type:
Cfn
[]
(optional)
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
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 .