import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class TransitGatewayConnectOptions { Protocol ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface TransitGatewayConnectProperties { TransportTransitGatewayAttachmentId : Value < string > ; Tags ? : List < ResourceTag > ; Options : TransitGatewayConnectOptions ; } export default class TransitGatewayConnect extends ResourceBase < TransitGatewayConnectProperties > { static TransitGatewayConnectOptions = TransitGatewayConnectOptions ; constructor ( properties ) { super ( 'AWS::EC2::TransitGatewayConnect' , properties ) ; } }