Map<String, dynamic> toMap() { return <String, dynamic>{ 'ec2SshKey': ?ec2SshKey, 'sourceSecurityGroupIds': ?sourceSecurityGroupIds, }; }