import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Ingress { CIDRIP ? : Value < string > ; EC2SecurityGroupId ? : Value < string > ; EC2SecurityGroupName ? : Value < string > ; EC2SecurityGroupOwnerId ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface DBSecurityGroupProperties { DBSecurityGroupIngress : List < Ingress > ; EC2VpcId ? : Value < string > ; GroupDescription : Value < string > ; Tags ? : List < ResourceTag > ; } export default class DBSecurityGroup extends ResourceBase < DBSecurityGroupProperties > { static Ingress = Ingress ; constructor ( properties ) { super ( 'AWS::RDS::DBSecurityGroup' , properties ) ; } }