import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class VpnTunnelOptionsSpecification { PreSharedKey ? : Value < string > ; TunnelInsideCidr ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface VPNConnectionProperties { CustomerGatewayId : Value < string > ; StaticRoutesOnly ? : Value < boolean > ; Tags ? : List < ResourceTag > ; TransitGatewayId ? : Value < string > ; Type : Value < string > ; VpnGatewayId ? : Value < string > ; VpnTunnelOptionsSpecifications ? : List < VpnTunnelOptionsSpecification > ; } export default class VPNConnection extends ResourceBase < VPNConnectionProperties > { static VpnTunnelOptionsSpecification = VpnTunnelOptionsSpecification ; constructor ( properties ) { super ( 'AWS::EC2::VPNConnection' , properties ) ; } }