import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ConnectionInput { Description ? : Value < string > ; ConnectionType ! : Value < string > ; MatchCriteria ? : List < Value < string > > ; PhysicalConnectionRequirements ? : PhysicalConnectionRequirements ; ConnectionProperties ? : { [ key ] : any ; } ; Name ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class PhysicalConnectionRequirements { AvailabilityZone ? : Value < string > ; SecurityGroupIdList ? : List < Value < string > > ; SubnetId ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ConnectionProperties { ConnectionInput : ConnectionInput ; CatalogId : Value < string > ; } export default class Connection extends ResourceBase < ConnectionProperties > { static ConnectionInput = ConnectionInput ; static PhysicalConnectionRequirements = PhysicalConnectionRequirements ; constructor ( properties ) { super ( 'AWS::Glue::Connection' , properties ) ; } }